1 |
commit: a11740dbb8b48d540bd5f010a8bb3fde7c696323 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 1 07:47:22 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 1 07:47:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11740db |
7 |
|
8 |
dev-python/arrow: Bump to 1.0.2 |
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.2.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest |
17 |
index 65f1fdcdf3f..822eb926539 100644 |
18 |
--- a/dev-python/arrow/Manifest |
19 |
+++ b/dev-python/arrow/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST arrow-0.17.0.tar.gz 97411 BLAKE2B d908f9e98b4046aa8afbde992e108106e0cb81d5d37a556ace06585b7d354fa75338e5c4e4263ece0d8d043f29f3909e3c200b2c79c744a4bd13319764667998 SHA512 30ab01c66ef1dfb7fb35dc8609ca19039fa3e37638ff0df681d0ffc9dbc832e9d3a577d9a45fc70ff3e74aacb6198b37e61ada22854572c57c27d7ecbef09caa |
22 |
DIST arrow-1.0.0.tar.gz 101951 BLAKE2B b8949dc2274f44020bd70e1013b3b3053789319daae0c630e17d2bac66d614e958b2d34ed9b06a1a5502a21684de10e053d4f1e70bfaf9a630548135d72f364f SHA512 4e487a0c1c6f55361b8ec673082d61efec1b27a32b19e2e599a344407737e5eea47ee8e2173b2f089e69a5638f99022870bb3ac57f31c16d5b4efd2858933fa8 |
23 |
DIST arrow-1.0.1.tar.gz 102243 BLAKE2B bad601878bf692858db56967b456fa0c413faebcaaeee352ffe40933cfd915dca8dbbcc2ce4e4f37e03b393acdbfc94d49b8825664a9d1e246ae91a350e9cfcd SHA512 5500df4af6ac8c2858dc98a427a4b81d51d08a4bb44841ef03bbb3a57c9c9004a306e5d627a5202d5b7498dfb71c3602c1ec265666958a94b95861c901ecd79a |
24 |
+DIST arrow-1.0.2.tar.gz 102330 BLAKE2B 2f7b737890aceceb265d2790d163c2d2325e78cc9045a95523b4e71d520f7d1fdb10efd18ccfc305bf10b27cf8f503a4e5bfc81897936b7c63600a3569ddd230 SHA512 a1ddfda75c84bd1e7708ba8368bbf672b1906bcd3a10cfb9ff867c72acd4da977089b4059b16de29c6112ce793e459f9eaa173f345bd25727c2dcbacbe235b05 |
25 |
|
26 |
diff --git a/dev-python/arrow/arrow-1.0.2.ebuild b/dev-python/arrow/arrow-1.0.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..81e5cb7ef66 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/arrow/arrow-1.0.2.ebuild |
31 |
@@ -0,0 +1,35 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+PYTHON_COMPAT=( python3_{7..9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Better dates and times for Python" |
41 |
+HOMEPAGE="https://github.com/arrow-py/arrow/" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] |
50 |
+ $(python_gen_cond_dep ' |
51 |
+ dev-python/typing-extensions[${PYTHON_USEDEP}] |
52 |
+ ' python3_7)" |
53 |
+ |
54 |
+BDEPEND=" |
55 |
+ test? ( |
56 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
57 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
58 |
+ dev-python/simplejson[${PYTHON_USEDEP}] |
59 |
+ )" |
60 |
+ |
61 |
+distutils_enable_tests pytest |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ sed -i -e '/addopts/d' tox.ini || die |
65 |
+ distutils-r1_src_prepare |
66 |
+} |