commit:     151e0884da7ae0f964c7bf357efaf2051b92024e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 17:48:04 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 04:04:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151e0884

dev-python/pytz_deprecation_shim: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../pytz_deprecation_shim/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 83f795f159fe..b2575973daea 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"

Reply via email to