From 151e0884da7ae0f964c7bf357efaf2051b92024e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 15 Mar 2023 18:48:04 +0100 Subject: [PATCH] dev-python/pytz_deprecation_shim: Use pypi.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../pytz_deprecation_shim-0.1.0_p0-r2.ebuild | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild index 83f795f159fe5..b2575973daea2 100644 --- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild +++ b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild @@ -6,17 +6,13 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} pypy3 ) -inherit distutils-r1 - -MY_P=${P/_p/.post} +inherit distutils-r1 pypi DESCRIPTION="Shims to make deprecation of pytz easier" HOMEPAGE=" https://github.com/pganssle/pytz-deprecation-shim/ https://pypi.org/project/pytz-deprecation-shim/ " -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} LICENSE="Apache-2.0" SLOT="0"