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: Mon, 28 Feb 2022 21:56:05
Message-Id: 1646085358.2367fd52bfab1e1bb63ba86b9e0dafc5e98b313e.mgorny@gentoo
1 commit: 2367fd52bfab1e1bb63ba86b9e0dafc5e98b313e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 28 21:54:12 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 28 21:55:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2367fd52
7
8 dev-python/pytz_deprecation_shim: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../pytz_deprecation_shim-0.1.0_p0-r1.ebuild | 43 ----------------------
13 1 file changed, 43 deletions(-)
14
15 diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild
16 deleted file mode 100644
17 index 5590af47e64d..000000000000
18 --- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r1.ebuild
19 +++ /dev/null
20 @@ -1,43 +0,0 @@
21 -# Copyright 2021-2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -PYTHON_COMPAT=( python3_{8..10} pypy3 )
27 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml
28 -inherit distutils-r1
29 -
30 -MY_P=${P/_p/.post}
31 -
32 -DESCRIPTION="Shims to make deprecation of pytz easier"
33 -HOMEPAGE="https://pypi.org/project/pytz-deprecation-shim/ https://github.com/pganssle/pytz-deprecation-shim"
34 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
35 -S="${WORKDIR}/${MY_P}"
36 -
37 -LICENSE="Apache-2.0"
38 -SLOT="0"
39 -KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
40 -
41 -RDEPEND="
42 - $(python_gen_cond_dep '
43 - dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
44 - ' python3_8 pypy3)
45 - sys-libs/timezone-data
46 -"
47 -BDEPEND="
48 - test? (
49 - dev-python/hypothesis[${PYTHON_USEDEP}]
50 - dev-python/pytz[${PYTHON_USEDEP}]
51 - dev-python/toml[${PYTHON_USEDEP}]
52 - )
53 -"
54 -
55 -distutils_enable_tests pytest
56 -distutils_enable_sphinx docs \
57 - dev-python/sphinx_rtd_theme
58 -
59 -src_prepare() {
60 - # apparently used only as a fallback
61 - sed -i -e '/tzdata/d' setup.cfg || die
62 - distutils-r1_src_prepare
63 -}