commit: 68ff89b3a469dc077d20eb6621b631631b341092 Author: Horea Christian <chr <AT> chymera <DOT> eu> AuthorDate: Sun Mar 27 05:39:20 2022 +0000 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> CommitDate: Sun Mar 27 05:39:20 2022 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=68ff89b3
dev-python/pyout: new package (DANDI stack) Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Horea Christian <chr <AT> chymera.eu> dev-python/pyout/metadata.xml | 24 ++++++++++++++++++++++++ dev-python/pyout/pyout-0.7.1.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-python/pyout/pyout-0.7.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) diff --git a/dev-python/pyout/metadata.xml b/dev-python/pyout/metadata.xml new file mode 100644 index 000000000..712a48169 --- /dev/null +++ b/dev-python/pyout/metadata.xml @@ -0,0 +1,24 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Horea Christian</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Science Project</name> + </maintainer> + <longdescription lang="en"> + 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. + </longdescription> + <upstream> + <remote-id type="github">pyout/pyout</remote-id> + <remote-id type="pypi">pyout</remote-id> + </upstream> +</pkgmetadata> 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 000000000..6cf80ec85 --- /dev/null +++ b/dev-python/pyout/pyout-0.7.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 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 +} diff --git a/dev-python/pyout/pyout-0.7.2.ebuild b/dev-python/pyout/pyout-0.7.2.ebuild new file mode 100644 index 000000000..6cf80ec85 --- /dev/null +++ b/dev-python/pyout/pyout-0.7.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 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 +}
