1 |
commit: 5fdf6b103c105c553a77d712e6e150eefda1e3ff |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 26 14:04:38 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 26 14:33:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fdf6b10 |
7 |
|
8 |
dev-python/arrow: Bump to 1.0.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-1.0.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
dev-python/arrow/metadata.xml | 2 +- |
15 |
3 files changed, 37 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest |
18 |
index 39d740f5dcd..fae756f69c8 100644 |
19 |
--- a/dev-python/arrow/Manifest |
20 |
+++ b/dev-python/arrow/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST arrow-0.17.0.tar.gz 97411 BLAKE2B d908f9e98b4046aa8afbde992e108106e0cb81d5d37a556ace06585b7d354fa75338e5c4e4263ece0d8d043f29f3909e3c200b2c79c744a4bd13319764667998 SHA512 30ab01c66ef1dfb7fb35dc8609ca19039fa3e37638ff0df681d0ffc9dbc832e9d3a577d9a45fc70ff3e74aacb6198b37e61ada22854572c57c27d7ecbef09caa |
23 |
+DIST arrow-1.0.0.tar.gz 101951 BLAKE2B b8949dc2274f44020bd70e1013b3b3053789319daae0c630e17d2bac66d614e958b2d34ed9b06a1a5502a21684de10e053d4f1e70bfaf9a630548135d72f364f SHA512 4e487a0c1c6f55361b8ec673082d61efec1b27a32b19e2e599a344407737e5eea47ee8e2173b2f089e69a5638f99022870bb3ac57f31c16d5b4efd2858933fa8 |
24 |
|
25 |
diff --git a/dev-python/arrow/arrow-1.0.0.ebuild b/dev-python/arrow/arrow-1.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..81e5cb7ef66 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/arrow/arrow-1.0.0.ebuild |
30 |
@@ -0,0 +1,35 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Better dates and times for Python" |
40 |
+HOMEPAGE="https://github.com/arrow-py/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 |
+ $(python_gen_cond_dep ' |
50 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
51 |
+ ' python3_7)" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ test? ( |
55 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
56 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
57 |
+ dev-python/simplejson[${PYTHON_USEDEP}] |
58 |
+ )" |
59 |
+ |
60 |
+distutils_enable_tests pytest |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ sed -i -e '/addopts/d' tox.ini || die |
64 |
+ distutils-r1_src_prepare |
65 |
+} |
66 |
|
67 |
diff --git a/dev-python/arrow/metadata.xml b/dev-python/arrow/metadata.xml |
68 |
index 731d99c5433..05383d66451 100644 |
69 |
--- a/dev-python/arrow/metadata.xml |
70 |
+++ b/dev-python/arrow/metadata.xml |
71 |
@@ -7,7 +7,7 @@ |
72 |
</maintainer> |
73 |
<stabilize-allarches/> |
74 |
<upstream> |
75 |
- <remote-id type="github">crsmithdev/arrow</remote-id> |
76 |
+ <remote-id type="github">arrow-py/arrow</remote-id> |
77 |
<remote-id type="pypi">arrow</remote-id> |
78 |
</upstream> |
79 |
</pkgmetadata> |