Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytz_deprecation_shim/
Date: Thu, 16 Mar 2023 04:07:05
Message-Id: 1678939457.151e0884da7ae0f964c7bf357efaf2051b92024e.mgorny@gentoo
1 commit: 151e0884da7ae0f964c7bf357efaf2051b92024e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 15 17:48:04 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 16 04:04:17 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151e0884
7
8 dev-python/pytz_deprecation_shim: Use pypi.eclass
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild | 6 +-----
13 1 file changed, 1 insertion(+), 5 deletions(-)
14
15 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
16 index 83f795f159fe..b2575973daea 100644
17 --- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
18 +++ b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
19 @@ -6,17 +6,13 @@ EAPI=8
20 DISTUTILS_USE_PEP517=setuptools
21 PYTHON_COMPAT=( python3_{9..11} pypy3 )
22
23 -inherit distutils-r1
24 -
25 -MY_P=${P/_p/.post}
26 +inherit distutils-r1 pypi
27
28 DESCRIPTION="Shims to make deprecation of pytz easier"
29 HOMEPAGE="
30 https://github.com/pganssle/pytz-deprecation-shim/
31 https://pypi.org/project/pytz-deprecation-shim/
32 "
33 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
34 -S=${WORKDIR}/${MY_P}
35
36 LICENSE="Apache-2.0"
37 SLOT="0"