From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0386158092 for ; Sat, 18 Sep 2021 15:15:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B830E0844; Sat, 18 Sep 2021 15:15:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 149D6E0844 for ; Sat, 18 Sep 2021 15:15:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E54B7342D2C for ; Sat, 18 Sep 2021 15:15:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2770C90 for ; Sat, 18 Sep 2021 15:15:37 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1631978011.8930172cdb8f9347eadc2e03bce57bf781c35ec7.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/PyECLib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild dev-python/PyECLib/PyECLib-1.6.0.ebuild X-VCS-Directories: dev-python/PyECLib/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 8930172cdb8f9347eadc2e03bce57bf781c35ec7 X-VCS-Branch: master Date: Sat, 18 Sep 2021 15:15:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: abd8684b-11ec-49f0-b200-095befd8f8cf X-Archives-Hash: 3c36e2b361a344f0c161e7f31fc0076f commit: 8930172cdb8f9347eadc2e03bce57bf781c35ec7 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Sep 18 07:58:33 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Sep 18 15:13:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8930172c dev-python/PyECLib: cleanup, EAPI=8, enable test Closes: https://bugs.gentoo.org/730234 Closes: https://bugs.gentoo.org/737858 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild | 37 ++++++++++++++++++++++++++++++ dev-python/PyECLib/PyECLib-1.6.0.ebuild | 24 ------------------- 2 files changed, 37 insertions(+), 24 deletions(-) diff --git a/dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild b/dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild new file mode 100644 index 00000000000..487777ee085 --- /dev/null +++ b/dev-python/PyECLib/PyECLib-1.6.0-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="Messaging API for RPC and notifications over different messaging transports" +HOMEPAGE="https://pypi.org/project/PyECLib/" +SRC_URI="mirror://pypi/p/pyeclib/pyeclib-${PV}.tar.gz" +S="${WORKDIR}/pyeclib-${PV}" + +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/PyECLib-1.6.0.ebuild b/dev-python/PyECLib/PyECLib-1.6.0.ebuild deleted file mode 100644 index a333cdf7312..00000000000 --- a/dev-python/PyECLib/PyECLib-1.6.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python3_7 python3_8 python3_9 ) - -inherit distutils-r1 multilib - -DESCRIPTION="Messaging API for RPC and notifications over different messaging transports" -HOMEPAGE="https://pypi.org/project/PyECLib/" -SRC_URI="mirror://pypi/p/pyeclib/pyeclib-${PV}.tar.gz" -S="${WORKDIR}/pyeclib-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="test" -RESTRICT="!test? ( test )" - -CDEPEND="dev-libs/jerasure" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - ${CDEPEND}" -RDEPEND="dev-libs/liberasurecode - ${CDEPEND}"