1 |
commit: b24a109ef787319e0c02ec2f62d3bd3aed6799a2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 3 08:16:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 3 10:35:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24a109e |
7 |
|
8 |
dev-python/tzlocal: Bump to 4.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tzlocal/Manifest | 1 + |
13 |
dev-python/tzlocal/tzlocal-4.2.ebuild | 34 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tzlocal/Manifest b/dev-python/tzlocal/Manifest |
17 |
index eb6f45f34c95..7a53c7036eb2 100644 |
18 |
--- a/dev-python/tzlocal/Manifest |
19 |
+++ b/dev-python/tzlocal/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tzlocal-2.1.gh.tar.gz 18463 BLAKE2B 73e886cfb6d13bebc1a15a222da60f368a15dc5a097acac74990b1d76bdaa229be8f12ff735d1828ccd78c4c8d06eb5bc0a07da695d70251af1e67e4fb71037e SHA512 2679cebdc2692d9e0e1c9b714994ad881896f53e75ef407229a67c9fee9d27617638a2919865cb67e21e2bbd6e3bc13f2568343037e06603236f25a96aa6863d |
22 |
DIST tzlocal-4.1.gh.tar.gz 23449 BLAKE2B 1ed3518395674af5b8066825f6a9f1dde411aa0bb534e65e9da44399042bb25ca45b61650bd7ce81d4912c3d5e1fde132d002d189fe388cd6bd4b7ed6d05bb79 SHA512 f6518c95b1e0ac0424a9f51f8ae0d39a50cacb510c8358a4fab077059e57959dd7b83d82ba455e9f7cca9bfc9224662f979d391a09d5516d172f1d6d3292779a |
23 |
+DIST tzlocal-4.2.gh.tar.gz 23649 BLAKE2B 8b50f13854543a3ba5506bf7562ef0f3a7e7b5a20c7af037dd6eece0af16ead2b762b652b9bee0aaeede73178137293773e428a347e78ae7df999be609a34e3b SHA512 574c2f886fa6d1f2973e1ce817bd3347a77bd3beb0535bf5ba93e028e31388987f3f55369bd5a4a4a86c72af226256cdd7803f5bbe3ca6ce891b5adefdce776e |
24 |
|
25 |
diff --git a/dev-python/tzlocal/tzlocal-4.2.ebuild b/dev-python/tzlocal/tzlocal-4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..3e838f9a103f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tzlocal/tzlocal-4.2.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="tzinfo object for the local timezone" |
42 |
+HOMEPAGE="https://github.com/regebro/tzlocal" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/regebro/tzlocal/archive/${PV}.tar.gz |
45 |
+ -> ${P}.gh.tar.gz |
46 |
+" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-python/pytz_deprecation_shim[${PYTHON_USEDEP}] |
54 |
+ $(python_gen_cond_dep ' |
55 |
+ dev-python/backports-zoneinfo[${PYTHON_USEDEP}] |
56 |
+ ' 3.8) |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ test? ( |
60 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |