1 |
commit: 4f65d1882c605a80a7e095744c827f59e12f954a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 31 08:01:22 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 31 08:33:40 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f65d188 |
7 |
|
8 |
dev-python/tempora: Bump to 4.0.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/tempora/Manifest | 1 + |
13 |
dev-python/tempora/tempora-4.0.1.ebuild | 42 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest |
17 |
index 0a26115a5e3..45faf134a62 100644 |
18 |
--- a/dev-python/tempora/Manifest |
19 |
+++ b/dev-python/tempora/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST tempora-3.0.0.tar.gz 21500 BLAKE2B 7bf241d5ab60c78c0ea56df6b28e33504200eb5427cdffaf9d5f34da202c3ba4550fa4dcc48874ee870345fa5a10f2b874687fe7de2bbe049b1c14d05161b0e0 SHA512 2d397c1d17bb4c502817ad0278090137fb8ca00273c63a7336200ed7e621a99cd5c954cdc2da00d06eba34ed4f079429f5ddc68b928cc83feacb2335f995e1b7 |
22 |
DIST tempora-4.0.0.tar.gz 47217 BLAKE2B 3f8489c584768c074874fd299d11ca71b51c646f07792ac910dbd3fa76c309a866e599204364bbc06e6589a6fa046d3150bff05c9d3beb9b427ff409e2c27fe6 SHA512 59792bf03b4ccbdd5b849f0f6b9a0b5f2672e1cc3076b85449b8f183524d23de05588c3a8185550cdb9e52cc610e29db18ed151b8c5f5f25438de41015cc595e |
23 |
+DIST tempora-4.0.1.tar.gz 20978 BLAKE2B 1216472a3e03fe0856f598478267647a2a9f8f6b6e28a0e48fc9f66877303da053d1a7e793b812fa8b0909b219a669cd8d82759dfd2c0793d43cc2d086993a8c SHA512 1ee954a7053db2dc0a94637453613851806cc4582f04019e303e13566a842c2710f3c364fd54d8832d4ce2a5eaac29121db9c474b407d5b92e4f8b8ff43b03df |
24 |
|
25 |
diff --git a/dev-python/tempora/tempora-4.0.1.ebuild b/dev-python/tempora/tempora-4.0.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..7f1bf96ec05 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tempora/tempora-4.0.1.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( pypy3 python3_{6,7,8,9} ) |
37 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_PN="${PN/-/.}" |
42 |
+DESCRIPTION="Objects and routines pertaining to date and time" |
43 |
+HOMEPAGE="https://github.com/jaraco/tempora" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
45 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}] |
53 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
54 |
+" |
55 |
+BDEPEND=" |
56 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
57 |
+ dev-python/toml[${PYTHON_USEDEP}] |
58 |
+ test? ( |
59 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-freezegun[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+distutils_enable_sphinx docs \ |
66 |
+ ">=dev-python/jaraco-packaging-3.2" \ |
67 |
+ ">=dev-python/rst-linker-1.9" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ sed -i -e 's:--flake8 --black --cov --mypy::' pytest.ini || die |
71 |
+ distutils-r1_src_prepare |
72 |
+} |