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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4556215800D for ; Sat, 31 Dec 2022 15:28:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 75918E0845; Sat, 31 Dec 2022 15:27:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 57388E0845 for ; Sat, 31 Dec 2022 15:27:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BD58340DDF for ; Sat, 31 Dec 2022 15:27:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA42C6F2 for ; Sat, 31 Dec 2022 15:27:56 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1672500472.7a29df58c88ed6a7e1e8dbad00d481c3dbe25974.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/uncertainties/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild dev-python/uncertainties/uncertainties-3.1.7.ebuild X-VCS-Directories: dev-python/uncertainties/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7a29df58c88ed6a7e1e8dbad00d481c3dbe25974 X-VCS-Branch: master Date: Sat, 31 Dec 2022 15:27:56 +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: 036fa4c6-6864-47ba-8353-8d06ec23168a X-Archives-Hash: 3f6c3101ff220c52a76d4b7ec1adc09f commit: 7a29df58c88ed6a7e1e8dbad00d481c3dbe25974 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 31 15:24:11 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 31 15:27:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a29df58 dev-python/uncertainties: Strip the dep on dev-python/future Closes: https://bugs.gentoo.org/888285 See-Also: https://github.com/lebigot/uncertainties/pull/168a Signed-off-by: Michał Górny gentoo.org> ...es-3.1.7.ebuild => uncertainties-3.1.7-r1.ebuild} | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/dev-python/uncertainties/uncertainties-3.1.7.ebuild b/dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild similarity index 60% rename from dev-python/uncertainties/uncertainties-3.1.7.ebuild rename to dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild index c7f85704f3f1..93177ac576f4 100644 --- a/dev-python/uncertainties/uncertainties-3.1.7.ebuild +++ b/dev-python/uncertainties/uncertainties-3.1.7-r1.ebuild @@ -5,24 +5,36 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..11} ) + inherit distutils-r1 optfeature DESCRIPTION="Python module for calculations with uncertainties" -HOMEPAGE="https://pythonhosted.org/uncertainties/" +HOMEPAGE=" + https://pythonhosted.org/uncertainties/ + https://github.com/lebigot/uncertainties/ + https://pypi.org/project/uncertainties/ +" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -RDEPEND="dev-python/future[${PYTHON_USEDEP}]" -BDEPEND="${RDEPEND} - test? ( dev-python/numpy[${PYTHON_USEDEP}] ) +BDEPEND=" + test? ( + dev-python/numpy[${PYTHON_USEDEP}] + ) " distutils_enable_tests pytest distutils_enable_sphinx doc --no-autodoc +src_prepare() { + # not used in py3, see https://github.com/lebigot/uncertainties/pull/168 + sed -i -e '/future/d' setup.py || die + distutils-r1_src_prepare +} + pkg_postinst() { optfeature "numpy support" dev-python/numpy }