1 |
commit: 0787202369f63e7c5230592a8b596c307cf98724 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 15:49:03 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 16:22:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07872023 |
7 |
|
8 |
dev-python/arrow: Bump to 1.2.3 |
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.2.3.ebuild | 39 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest |
17 |
index 00b1f1828774..49af92701742 100644 |
18 |
--- a/dev-python/arrow/Manifest |
19 |
+++ b/dev-python/arrow/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST arrow-1.2.2.tar.gz 123174 BLAKE2B b8b8d83ede0c61840ffcc75272a0275b6120cc142197c5f95f0fdb7d53981879b431f074db9606caa8d9817761cc4847a525bbc6449c05155410808960a1541e SHA512 f88afa9a0bc967e8731a7bf1712ecf3810f12ade9cc53a94a74efd3ece750f37bea7541a054eb9acd12b99b4a6d32687eab4eae20a6f49b2c2d6f1b499221542 |
22 |
+DIST arrow-1.2.3.tar.gz 127552 BLAKE2B 35f5b694d819d80913b5938e4af71f413fd3944636c1e89a79e868c03cb423f75692c1f0e8d85dba21e640591f8cd0404cdc6d77dd59956490d268fb4c9fdc7b SHA512 e90276f50bf8521570cc2cdbf011ff376e0d5bada0576bbfc76f6c63730c13f7eba1d978cc3a481e7c7356b0dce7c554f19cbf3ef03b280c5515be72d2c7d177 |
23 |
|
24 |
diff --git a/dev-python/arrow/arrow-1.2.3.ebuild b/dev-python/arrow/arrow-1.2.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..edfe817caa50 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/arrow/arrow-1.2.3.ebuild |
29 |
@@ -0,0 +1,39 @@ |
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..11} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Better dates and times for Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/arrow-py/arrow/ |
43 |
+ https://pypi.org/project/arrow/ |
44 |
+" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
58 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
59 |
+ dev-python/simplejson[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ sed -e '/addopts/d' -i tox.ini || die |
67 |
+ distutils-r1_src_prepare |
68 |
+} |