1 |
commit: 5b3085cde47eb21b5ffe7ee0021ca67e86110c27 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 27 19:42:38 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 27 19:48:31 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b3085cd |
7 |
|
8 |
dev-python/arrow: add 1.2.2 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/arrow/Manifest | 1 + |
13 |
dev-python/arrow/arrow-1.2.2.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest |
17 |
index 9dcf6ef03715..0e49e90e0620 100644 |
18 |
--- a/dev-python/arrow/Manifest |
19 |
+++ b/dev-python/arrow/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST arrow-1.2.1.tar.gz 118941 BLAKE2B 4e1cb13180d72fa42e8bbbb6ae810aa3101ee4f7be53f8235b901b662293ba67a5379abc1af0f19c1e64ae68c772d0bef8125717b3ce3ee24d587ff89e7c96e6 SHA512 96ac71c103554a9a609227af870c051031e66fcc8abb343f6d8f38c7e35ad632633b68afb2818443e38ff59ea4790101fbca4449f14168fc41260d15fcd6cce4 |
22 |
+DIST arrow-1.2.2.tar.gz 123174 BLAKE2B b8b8d83ede0c61840ffcc75272a0275b6120cc142197c5f95f0fdb7d53981879b431f074db9606caa8d9817761cc4847a525bbc6449c05155410808960a1541e SHA512 f88afa9a0bc967e8731a7bf1712ecf3810f12ade9cc53a94a74efd3ece750f37bea7541a054eb9acd12b99b4a6d32687eab4eae20a6f49b2c2d6f1b499221542 |
23 |
|
24 |
diff --git a/dev-python/arrow/arrow-1.2.2.ebuild b/dev-python/arrow/arrow-1.2.2.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..113984f9c800 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/arrow/arrow-1.2.2.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
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="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~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 -e '/addopts/d' -i tox.ini || die |
61 |
+ distutils-r1_src_prepare |
62 |
+} |