1 |
commit: 10018c494e6cc18d9feb0cccf6069c282fba674f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 7 06:03:33 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 7 07:27:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10018c49 |
7 |
|
8 |
dev-python/arrow: Bump to 0.17.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/arrow/Manifest | 1 + |
13 |
dev-python/arrow/arrow-0.17.0.ebuild | 32 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 33 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest |
17 |
index 7213c1eeb52..aa73c7e8653 100644 |
18 |
--- a/dev-python/arrow/Manifest |
19 |
+++ b/dev-python/arrow/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST arrow-0.15.8.tar.gz 92220 BLAKE2B 8650d31b5b75c6222d86b5e13f253ae6baff66e91044a74235eda4589a47ebf680b31e2007fb13c83287402ffeaa446437aace9124637e6952ef139388aa51fa SHA512 93d161cbeb48636f2e3f91ebcc51cddbb3b21175ae31f5d9251a22358c7d1934663a8e47a82efd8773bf30c28efefcd8d2a3baf581fe191777cd41f12f29d4d2 |
22 |
DIST arrow-0.16.0.tar.gz 94403 BLAKE2B 9d2ad18732cce5bafdb628a2e9b825e6d1ebd94f7848391c0a0752a802a7e2e8a34afe0da7474df0265c4a83016530a1c070f4f1629c8fee8172812a53a3a7af SHA512 e48316bd31a86d640e50987010bd56c6859e972522e753c00d83730f1ce4764716eb9a22c4aa9aa0d64949f25acb7e1a3479ce0e1c62058fcb887a442f2247d6 |
23 |
+DIST arrow-0.17.0.tar.gz 97411 BLAKE2B d908f9e98b4046aa8afbde992e108106e0cb81d5d37a556ace06585b7d354fa75338e5c4e4263ece0d8d043f29f3909e3c200b2c79c744a4bd13319764667998 SHA512 30ab01c66ef1dfb7fb35dc8609ca19039fa3e37638ff0df681d0ffc9dbc832e9d3a577d9a45fc70ff3e74aacb6198b37e61ada22854572c57c27d7ecbef09caa |
24 |
|
25 |
diff --git a/dev-python/arrow/arrow-0.17.0.ebuild b/dev-python/arrow/arrow-0.17.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1056296f212 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/arrow/arrow-0.17.0.ebuild |
30 |
@@ -0,0 +1,32 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Better dates and times for Python" |
40 |
+HOMEPAGE="https://github.com/crsmithdev/arrow/" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]" |
49 |
+ |
50 |
+BDEPEND=" |
51 |
+ test? ( |
52 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
53 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
54 |
+ dev-python/simplejson[${PYTHON_USEDEP}] |
55 |
+ )" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ sed -i -e '/addopts/d' tox.ini || die |
61 |
+ distutils-r1_src_prepare |
62 |
+} |