Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyECLib/
Date: Sat, 18 Sep 2021 15:15:40
Message-Id: 1631978011.8930172cdb8f9347eadc2e03bce57bf781c35ec7.arthurzam@gentoo
1 commit: 8930172cdb8f9347eadc2e03bce57bf781c35ec7
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 18 07:58:33 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 18 15:13:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8930172c
7
8 dev-python/PyECLib: cleanup, EAPI=8, enable test
9
10 Closes: https://bugs.gentoo.org/730234
11 Closes: https://bugs.gentoo.org/737858
12 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
13
14 dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild | 37 ++++++++++++++++++++++++++++++
15 dev-python/PyECLib/PyECLib-1.6.0.ebuild | 24 -------------------
16 2 files changed, 37 insertions(+), 24 deletions(-)
17
18 diff --git a/dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild b/dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild
19 new file mode 100644
20 index 00000000000..487777ee085
21 --- /dev/null
22 +++ b/dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild
23 @@ -0,0 +1,37 @@
24 +# Copyright 1999-2021 Gentoo Authors
25 +# Distributed under the terms of the GNU General Public License v2
26 +
27 +EAPI=8
28 +
29 +PYTHON_COMPAT=( python3_{8..9} )
30 +
31 +inherit distutils-r1 optfeature
32 +
33 +DESCRIPTION="Messaging API for RPC and notifications over different messaging transports"
34 +HOMEPAGE="https://pypi.org/project/PyECLib/"
35 +SRC_URI="mirror://pypi/p/pyeclib/pyeclib-${PV}.tar.gz"
36 +S="${WORKDIR}/pyeclib-${PV}"
37 +
38 +LICENSE="BSD"
39 +SLOT="0"
40 +KEYWORDS="amd64 ~arm64 x86"
41 +
42 +DEPEND="dev-libs/liberasurecode"
43 +RDEPEND="${DEPEND}"
44 +BDEPEND="
45 + test? (
46 + dev-python/six[${PYTHON_USEDEP}]
47 + )
48 +"
49 +
50 +distutils_enable_tests unittest
51 +
52 +src_prepare() {
53 + # https://review.opendev.org/c/openstack/pyeclib/+/798010
54 + sed -e '/library_dirs/d' -i setup.py || die
55 + distutils-r1_src_prepare
56 +}
57 +
58 +pkg_postinst() {
59 + optfeature "jerasure backend" dev-libs/jerasure
60 +}
61
62 diff --git a/dev-python/PyECLib/PyECLib-1.6.0.ebuild b/dev-python/PyECLib/PyECLib-1.6.0.ebuild
63 deleted file mode 100644
64 index a333cdf7312..00000000000
65 --- a/dev-python/PyECLib/PyECLib-1.6.0.ebuild
66 +++ /dev/null
67 @@ -1,24 +0,0 @@
68 -# Copyright 1999-2021 Gentoo Authors
69 -# Distributed under the terms of the GNU General Public License v2
70 -
71 -EAPI=6
72 -PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
73 -
74 -inherit distutils-r1 multilib
75 -
76 -DESCRIPTION="Messaging API for RPC and notifications over different messaging transports"
77 -HOMEPAGE="https://pypi.org/project/PyECLib/"
78 -SRC_URI="mirror://pypi/p/pyeclib/pyeclib-${PV}.tar.gz"
79 -S="${WORKDIR}/pyeclib-${PV}"
80 -
81 -LICENSE="BSD"
82 -SLOT="0"
83 -KEYWORDS="amd64 ~arm64 x86"
84 -IUSE="test"
85 -RESTRICT="!test? ( test )"
86 -
87 -CDEPEND="dev-libs/jerasure"
88 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
89 - ${CDEPEND}"
90 -RDEPEND="dev-libs/liberasurecode
91 - ${CDEPEND}"