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 E441B158010 for ; Tue, 7 Feb 2023 09:26:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 111DDE0874; Tue, 7 Feb 2023 09:26:59 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E4157E0874 for ; Tue, 7 Feb 2023 09:26:58 +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 35909335CFF for ; Tue, 7 Feb 2023 09:26:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 283788A8 for ; Tue, 7 Feb 2023 09:26:55 +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: <1675761995.824299287214dc8002f0c79ebc6c80c76d8bd74e.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-envs/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild X-VCS-Directories: dev-python/jaraco-envs/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 824299287214dc8002f0c79ebc6c80c76d8bd74e X-VCS-Branch: master Date: Tue, 7 Feb 2023 09:26:55 +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: c2cc6ed9-b5c6-4323-8b11-dde2fd00f963 X-Archives-Hash: b9b27270117ffd8c77af3868c1be1935 commit: 824299287214dc8002f0c79ebc6c80c76d8bd74e Author: Michał Górny gentoo org> AuthorDate: Tue Feb 7 08:08:47 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 7 09:26:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82429928 dev-python/jaraco-envs: Use pypi.eclass Signed-off-by: Michał Górny gentoo.org> dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild b/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild index bfcdd4499f69..093e0fdbeeed 100644 --- a/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild +++ b/dev-python/jaraco-envs/jaraco-envs-2.4.0.ebuild @@ -6,17 +6,18 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P=${P/-/.} DESCRIPTION="Classes for orchestrating Python (virtual) environments" HOMEPAGE="https://github.com/jaraco/jaraco.envs" -SRC_URI="mirror://pypi/${MY_P::1}/${PN/-/.}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} +SRC_URI="$(pypi_sdist_url "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +# there are no actual tests, just flake8 etc +RESTRICT="test" RDEPEND=" dev-python/path[${PYTHON_USEDEP}] @@ -25,9 +26,6 @@ BDEPEND=" dev-python/setuptools_scm[${PYTHON_USEDEP}] " -# there are no actual tests, just flake8 etc -RESTRICT="test" - src_prepare() { # optional runtime dep, not used by anything in ::gentoo sed -i -e '/tox/d' setup.cfg || die