1 |
commit: a839770bccaadb7af70a4582d7163684b7288f41 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 19 05:32:24 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 19 05:42:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a839770b |
7 |
|
8 |
dev-python/pytz_deprecation_shim: new package (rdep of dev-python/tzlocal) |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/pytz_deprecation_shim/Manifest | 1 + |
13 |
dev-python/pytz_deprecation_shim/metadata.xml | 13 ++++++++ |
14 |
.../pytz_deprecation_shim-0.1.0_p0.ebuild | 37 ++++++++++++++++++++++ |
15 |
3 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/pytz_deprecation_shim/Manifest b/dev-python/pytz_deprecation_shim/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..6d44d53e640 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/pytz_deprecation_shim/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST pytz_deprecation_shim-0.1.0.post0.tar.gz 60190 BLAKE2B a6d186ca6fff17a3fb787ad6164fcf45fbac272e6123491a6822699cf54a115c9941f2b1ee3d227f531a0ab1d11846300dc24974611cc1671c77405606704754 SHA512 201eea777f4da9def1b060911da5eaa89652f6716d5608278fdc94a2f67af5ea23a8b667cb181e03d5edd7f0a07f4954047621668f4c2e7bb325dd07f454d0b6 |
24 |
|
25 |
diff --git a/dev-python/pytz_deprecation_shim/metadata.xml b/dev-python/pytz_deprecation_shim/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..12126b02ffe |
28 |
--- /dev/null |
29 |
+++ b/dev-python/pytz_deprecation_shim/metadata.xml |
30 |
@@ -0,0 +1,13 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>python@g.o</email> |
36 |
+ <name>Python</name> |
37 |
+ </maintainer> |
38 |
+ <stabilize-allarches/> |
39 |
+ <upstream> |
40 |
+ <remote-id type="pypi">pytz-deprecation-shim</remote-id> |
41 |
+ <remote-id type="github">pganssle/pytz-deprecation-shim</remote-id> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0.ebuild b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0.ebuild |
46 |
new file mode 100644 |
47 |
index 00000000000..28c95ccfeac |
48 |
--- /dev/null |
49 |
+++ b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0.ebuild |
50 |
@@ -0,0 +1,37 @@ |
51 |
+# Copyright 2021 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=8 |
55 |
+ |
56 |
+PYTHON_COMPAT=( python3_{8..10} ) |
57 |
+DISTUTILS_USE_SETUPTOOLS=pyproject.toml |
58 |
+inherit distutils-r1 |
59 |
+ |
60 |
+MY_P=${P/_p/.post} |
61 |
+ |
62 |
+DESCRIPTION="Shims to make deprecation of pytz easier" |
63 |
+HOMEPAGE="https://pypi.org/project/pytz-deprecation-shim/ https://github.com/pganssle/pytz-deprecation-shim" |
64 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
65 |
+S="${WORKDIR}/${MY_P}" |
66 |
+ |
67 |
+LICENSE="Apache-2.0" |
68 |
+SLOT="0" |
69 |
+KEYWORDS="~amd64 ~x86" |
70 |
+ |
71 |
+RDEPEND=" |
72 |
+ dev-python/pytzdata[${PYTHON_USEDEP}] |
73 |
+ $(python_gen_cond_dep ' |
74 |
+ dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
75 |
+ ' python3_8 pypy3) |
76 |
+" |
77 |
+BDEPEND=" |
78 |
+ test? ( |
79 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
80 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
81 |
+ dev-python/toml[${PYTHON_USEDEP}] |
82 |
+ ) |
83 |
+" |
84 |
+ |
85 |
+distutils_enable_tests pytest |
86 |
+distutils_enable_sphinx docs \ |
87 |
+ dev-python/sphinx_rtd_theme |