From 657b725ed7d17180b673c5efe50b94551500fae4 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 7 Feb 2023 09:08:11 +0100 Subject: dev-python/jaraco-context: Use pypi.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/jaraco-context/jaraco-context-4.3.0.ebuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'dev-python/jaraco-context') diff --git a/dev-python/jaraco-context/jaraco-context-4.3.0.ebuild b/dev-python/jaraco-context/jaraco-context-4.3.0.ebuild index 100882e1beea..39e927ce5755 100644 --- a/dev-python/jaraco-context/jaraco-context-4.3.0.ebuild +++ b/dev-python/jaraco-context/jaraco-context-4.3.0.ebuild @@ -7,16 +7,15 @@ EAPI=7 DISTUTILS_USE_PEP517=flit PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 +inherit distutils-r1 pypi -MY_P=${P/-/.} DESCRIPTION="Context managers by jaraco" HOMEPAGE=" https://github.com/jaraco/jaraco.context/ https://pypi.org/project/jaraco.context/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" +SRC_URI="$(pypi_sdist_url "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} LICENSE="MIT" SLOT="0" -- cgit v1.2.3-65-gdbad