Gentoo Archives: gentoo-commits

From: Horea Christian <horea.christ@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyout/
Date: Sun, 27 Mar 2022 05:40:30
Message-Id: 1648359560.68ff89b3a469dc077d20eb6621b631631b341092.chymera@gentoo
1 commit: 68ff89b3a469dc077d20eb6621b631631b341092
2 Author: Horea Christian <chr <AT> chymera <DOT> eu>
3 AuthorDate: Sun Mar 27 05:39:20 2022 +0000
4 Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
5 CommitDate: Sun Mar 27 05:39:20 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=68ff89b3
7
8 dev-python/pyout: new package (DANDI stack)
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Horea Christian <chr <AT> chymera.eu>
12
13 dev-python/pyout/metadata.xml | 24 ++++++++++++++++++++++++
14 dev-python/pyout/pyout-0.7.1.ebuild | 32 ++++++++++++++++++++++++++++++++
15 dev-python/pyout/pyout-0.7.2.ebuild | 32 ++++++++++++++++++++++++++++++++
16 3 files changed, 88 insertions(+)
17
18 diff --git a/dev-python/pyout/metadata.xml b/dev-python/pyout/metadata.xml
19 new file mode 100644
20 index 000000000..712a48169
21 --- /dev/null
22 +++ b/dev-python/pyout/metadata.xml
23 @@ -0,0 +1,24 @@
24 +<?xml version='1.0' encoding='UTF-8'?>
25 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 +<pkgmetadata>
27 + <maintainer type="person">
28 + <email>gentoo@×××××××.eu</email>
29 + <name>Horea Christian</name>
30 + </maintainer>
31 + <maintainer type="project">
32 + <email>sci@g.o</email>
33 + <name>Gentoo Science Project</name>
34 + </maintainer>
35 + <longdescription lang="en">
36 + pyout is a Python package that defines an interface for writing
37 + structured records as a table in a terminal. It is being developed to
38 + replace custom code for displaying tabular data in in ReproMan and
39 + DataLad. See the Examples folder for how to get started. A primary
40 + goal of the interface is the separation of content from style and
41 + presentation.
42 + </longdescription>
43 + <upstream>
44 + <remote-id type="github">pyout/pyout</remote-id>
45 + <remote-id type="pypi">pyout</remote-id>
46 + </upstream>
47 +</pkgmetadata>
48
49 diff --git a/dev-python/pyout/pyout-0.7.1.ebuild b/dev-python/pyout/pyout-0.7.1.ebuild
50 new file mode 100644
51 index 000000000..6cf80ec85
52 --- /dev/null
53 +++ b/dev-python/pyout/pyout-0.7.1.ebuild
54 @@ -0,0 +1,32 @@
55 +# Copyright 1999-2022 Gentoo Authors
56 +# Distributed under the terms of the GNU General Public License v2
57 +
58 +EAPI=8
59 +
60 +PYTHON_COMPAT=( python3_{8..10} )
61 +inherit distutils-r1
62 +
63 +DESCRIPTION="Terminal styling for structured data"
64 +HOMEPAGE="https://github.com/pyout/pyout"
65 +SRC_URI="https://github.com/pyout/pyout/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
66 +
67 +SLOT="0"
68 +LICENSE="MIT"
69 +KEYWORDS="~amd64 ~x86"
70 +
71 +RDEPEND="
72 + dev-python/jsonschema[${PYTHON_USEDEP}]
73 + dev-python/blessings[${PYTHON_USEDEP}]
74 +"
75 +DEPEND="
76 + test? (
77 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
78 + )
79 +"
80 +
81 +distutils_enable_tests pytest
82 +
83 +python_prepare_all() {
84 + sed -i -e '/pytest-runner/d' setup.py || die
85 + distutils-r1_python_prepare_all
86 +}
87
88 diff --git a/dev-python/pyout/pyout-0.7.2.ebuild b/dev-python/pyout/pyout-0.7.2.ebuild
89 new file mode 100644
90 index 000000000..6cf80ec85
91 --- /dev/null
92 +++ b/dev-python/pyout/pyout-0.7.2.ebuild
93 @@ -0,0 +1,32 @@
94 +# Copyright 1999-2022 Gentoo Authors
95 +# Distributed under the terms of the GNU General Public License v2
96 +
97 +EAPI=8
98 +
99 +PYTHON_COMPAT=( python3_{8..10} )
100 +inherit distutils-r1
101 +
102 +DESCRIPTION="Terminal styling for structured data"
103 +HOMEPAGE="https://github.com/pyout/pyout"
104 +SRC_URI="https://github.com/pyout/pyout/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
105 +
106 +SLOT="0"
107 +LICENSE="MIT"
108 +KEYWORDS="~amd64 ~x86"
109 +
110 +RDEPEND="
111 + dev-python/jsonschema[${PYTHON_USEDEP}]
112 + dev-python/blessings[${PYTHON_USEDEP}]
113 +"
114 +DEPEND="
115 + test? (
116 + dev-python/pytest-timeout[${PYTHON_USEDEP}]
117 + )
118 +"
119 +
120 +distutils_enable_tests pytest
121 +
122 +python_prepare_all() {
123 + sed -i -e '/pytest-runner/d' setup.py || die
124 + distutils-r1_python_prepare_all
125 +}