summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-15 18:48:04 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-16 05:04:17 +0100
commit151e0884da7ae0f964c7bf357efaf2051b92024e (patch)
treed519f64076ef531b1738d3e01b68697fa1d92650 /dev-python/pytz_deprecation_shim
parentdev-python/pytz: Use pypi.eclass (diff)
downloadgentoo-151e0884da7ae0f964c7bf357efaf2051b92024e.tar.gz
gentoo-151e0884da7ae0f964c7bf357efaf2051b92024e.tar.bz2
gentoo-151e0884da7ae0f964c7bf357efaf2051b92024e.zip
dev-python/pytz_deprecation_shim: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytz_deprecation_shim')
-rw-r--r--dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild6
1 files changed, 1 insertions, 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"