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/tzlocal/
Date: Fri, 29 Oct 2021 19:37:54
Message-Id: 1635536266.3c8eb3eebb123f3ac29baf8c87984ef7d0cd67df.mgorny@gentoo
1 commit: 3c8eb3eebb123f3ac29baf8c87984ef7d0cd67df
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 29 19:00:19 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 19:37:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8eb3ee
7
8 dev-python/tzlocal: Bump to 4.1
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.1.ebuild | 27 +++++++++++++++++++++++++++
14 2 files changed, 28 insertions(+)
15
16 diff --git a/dev-python/tzlocal/Manifest b/dev-python/tzlocal/Manifest
17 index 76bd08e2387..bcfedd9b083 100644
18 --- a/dev-python/tzlocal/Manifest
19 +++ b/dev-python/tzlocal/Manifest
20 @@ -3,3 +3,4 @@ DIST tzlocal-3.0.gh.tar.gz 18924 BLAKE2B 340739015ce0fae245ddcb2d3f6250886261a81
21 DIST tzlocal-4.0.1.gh.tar.gz 22737 BLAKE2B 0b84ab7ac80397d2d72e0627d3766e1f6a6402c3d0505f0ff0fc02fc524b372a92e0fe948f1f8ec59b0ccfae64f8240bddc8800fe988627a87aec5b8937a6df9 SHA512 0e83e9cba7d74690677d32087a82a54bf1f80dde121d6eed80ca0a80851832ef197cfab07728353619904706b989bbb4c9ca1736e7e1e6c710ad4ec93f74ac22
22 DIST tzlocal-4.0.2.gh.tar.gz 22978 BLAKE2B 4c1d7ed518ed6984f2dd055ab4bdeeb9acee1c2fae14160ab8752adae8cc16969ec822d0b20d2b77d40d6b52a929f44d83b2537dffbd3b7db6c016145b870ec0 SHA512 4624bfda1e712bf898a4d3a8e4be20082689caf533bc340f0dede068323a4848328e7c4a2bb0d63e4ed59258ef5f21654d47135419360f73d0bdb7c38aee2906
23 DIST tzlocal-4.0.gh.tar.gz 22582 BLAKE2B 35ef0b9f64e0b2758ecda19669957666ffcd807197cfef74583d94a3e2ca01811e55b27228522723dec140dd4ede69e30585d850f03f55db084d975e871d2f63 SHA512 8bb31f3d85256aaab2a803c34ea35677a25ae2bf339d54a1fb4466d035631d9f22ea465448d7905d607a17c6b1180cbc619ce06b39c3ebe724270bc048bd96ed
24 +DIST tzlocal-4.1.gh.tar.gz 23449 BLAKE2B 1ed3518395674af5b8066825f6a9f1dde411aa0bb534e65e9da44399042bb25ca45b61650bd7ce81d4912c3d5e1fde132d002d189fe388cd6bd4b7ed6d05bb79 SHA512 f6518c95b1e0ac0424a9f51f8ae0d39a50cacb510c8358a4fab077059e57959dd7b83d82ba455e9f7cca9bfc9224662f979d391a09d5516d172f1d6d3292779a
25
26 diff --git a/dev-python/tzlocal/tzlocal-4.1.ebuild b/dev-python/tzlocal/tzlocal-4.1.ebuild
27 new file mode 100644
28 index 00000000000..e052e465a13
29 --- /dev/null
30 +++ b/dev-python/tzlocal/tzlocal-4.1.ebuild
31 @@ -0,0 +1,27 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..10} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="tzinfo object for the local timezone"
41 +HOMEPAGE="https://github.com/regebro/tzlocal"
42 +SRC_URI="https://github.com/regebro/tzlocal/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm64 ~x86"
47 +
48 +RDEPEND="
49 + dev-python/pytz_deprecation_shim[${PYTHON_USEDEP}]
50 + $(python_gen_cond_dep '
51 + dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
52 + ' python3_8 pypy3)"
53 +BDEPEND="
54 + test? (
55 + dev-python/pytest-mock[${PYTHON_USEDEP}]
56 + )"
57 +
58 +distutils_enable_tests pytest