commit:     9edc1a5752a8c79f845431d35f52c6f728b5a439
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 07:25:47 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 07:47:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9edc1a57

dev-python/PyECLib: Bump to 1.6.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/PyECLib/Manifest             |  1 +
 dev-python/PyECLib/PyECLib-1.6.1.ebuild | 46 +++++++++++++++++++++++++++++++++
 dev-python/PyECLib/metadata.xml         |  2 +-
 3 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/dev-python/PyECLib/Manifest b/dev-python/PyECLib/Manifest
index d046078c1773..93330e19229d 100644
--- a/dev-python/PyECLib/Manifest
+++ b/dev-python/PyECLib/Manifest
@@ -1 +1,2 @@
 DIST pyeclib-1.6.0.tar.gz 6685306 BLAKE2B 
0b758bd500afc7f9d8e38513cc41f1916413d8ad6f3b1bd34d9ff46d6d33321391eaf90164e412154a14d63d4ba61502457bb943e124dd7054a5d5ec20732294
 SHA512 
507f78388e941e4600f4b77f636ce27b7f63e635f108dd5a452b3f98f779e87d94d8f82239d9d5733846faa5cc574c0474e366d99e44b8f03b70707d352f56c8
+DIST pyeclib-1.6.1.tar.gz 6690168 BLAKE2B 
4e59c2827487f09a21f49751455fabd9ce672d6edb83befbc06e7aebe66c2f8de5f83a5ddec612fee2ac727fad247d66f36c659ebdf316759cd9e4438c7f085c
 SHA512 
fdb855551e9695c3748d78d43bc306e536ef45476143445520284d4918f2c84757247d217ada2df565d03b1769ef83ac8c82b92b8438c2d40915f8008fd769c4

diff --git a/dev-python/PyECLib/PyECLib-1.6.1.ebuild 
b/dev-python/PyECLib/PyECLib-1.6.1.ebuild
new file mode 100644
index 000000000000..8fa3328630d7
--- /dev/null
+++ b/dev-python/PyECLib/PyECLib-1.6.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 optfeature
+
+MY_P=${P,,}
+DESCRIPTION="Messaging API for RPC and notifications over different messaging 
transports"
+HOMEPAGE="
+       https://opendev.org/openstack/pyeclib/
+       https://pypi.org/project/pyeclib/
+"
+SRC_URI="mirror://pypi/${MY_P::1}/${PN,,}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DEPEND="
+       dev-libs/liberasurecode
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       test? (
+               dev-python/six[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+       # https://review.opendev.org/c/openstack/pyeclib/+/798010
+       sed -e '/library_dirs/d' -i setup.py || die
+       distutils-r1_src_prepare
+}
+
+pkg_postinst() {
+       optfeature "jerasure backend" dev-libs/jerasure
+}

diff --git a/dev-python/PyECLib/metadata.xml b/dev-python/PyECLib/metadata.xml
index cfe23ca07d06..cd19d9c314af 100644
--- a/dev-python/PyECLib/metadata.xml
+++ b/dev-python/PyECLib/metadata.xml
@@ -13,6 +13,6 @@
     This library provides a simple Python interface for implementing erasure 
codes. To obtain the best possible performance, the underlying erasure code 
algorithms are written in C.
   </longdescription>
   <upstream>
-    <remote-id type="pypi">PyECLib</remote-id>
+    <remote-id type="pypi">pyeclib</remote-id>
   </upstream>
 </pkgmetadata>

Reply via email to