From 7fc5e96547db765ca173d223266dae96f08070ec Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Mon, 27 Sep 2021 06:19:59 -0400 Subject: [PATCH] dev-python/pyout: new package (DANDI stack) Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Horea Christian --- dev-python/pyout/ChangeLog | 4 ++++ dev-python/pyout/Manifest | 1 + dev-python/pyout/metadata.xml | 20 ++++++++++++++++++ dev-python/pyout/pyout-0.7.1.ebuild | 32 +++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100644 dev-python/pyout/ChangeLog create mode 100644 dev-python/pyout/Manifest create mode 100644 dev-python/pyout/metadata.xml create mode 100644 dev-python/pyout/pyout-0.7.1.ebuild diff --git a/dev-python/pyout/ChangeLog b/dev-python/pyout/ChangeLog new file mode 100644 index 0000000..ef9d278 --- /dev/null +++ b/dev-python/pyout/ChangeLog @@ -0,0 +1,4 @@ +*pyout-0.7.1 (27 Sep 2021) + + 27 Sep 2021; +metadata.xml, +pyout-0.7.1.ebuild: + dev-python/pyout: new package (DANDI stack) diff --git a/dev-python/pyout/Manifest b/dev-python/pyout/Manifest new file mode 100644 index 0000000..7ab5046 --- /dev/null +++ b/dev-python/pyout/Manifest @@ -0,0 +1 @@ +DIST pyout-0.7.1.tar.gz 180439 SHA256 66eb824d27a6ca2fbaa1b5daf01af06d15f227f8cebb75a73aea2f0dccee0818 SHA512 66338ce6dbf1e4ee6a187993609f762fcd2f8dddd981bc976b3240b6ecd461ba1fd47b9f08b91fc29853ce88e26158c7047de0adfcf28a0dd66869adfad5ab71 WHIRLPOOL 524ca37e34d72635bb3175e804500e78b48c742266d0776435985aaad6618e7e07cf15b7e71616732a878ed7a6dc9285bb4a35c78296470a58cad6fa1d3cd94e diff --git a/dev-python/pyout/metadata.xml b/dev-python/pyout/metadata.xml new file mode 100644 index 0000000..b68aabb --- /dev/null +++ b/dev-python/pyout/metadata.xml @@ -0,0 +1,20 @@ + + + + + gentoo@chymera.eu + Horea Christian + + + sci@gentoo.org + Gentoo Science Project + + + pyout is a Python package that defines an interface for writing + structured records as a table in a terminal. It is being developed to + replace custom code for displaying tabular data in in ReproMan and + DataLad. See the Examples folder for how to get started. A primary + goal of the interface is the separation of content from style and + presentation. + + diff --git a/dev-python/pyout/pyout-0.7.1.ebuild b/dev-python/pyout/pyout-0.7.1.ebuild new file mode 100644 index 0000000..4d68d17 --- /dev/null +++ b/dev-python/pyout/pyout-0.7.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Terminal styling for structured data" +HOMEPAGE="https://github.com/pyout/pyout" +SRC_URI="https://github.com/pyout/pyout/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/blessings[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/pytest-timeout[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i -e '/pytest-runner/d' setup.py || die + distutils-r1_python_prepare_all +}