1 |
commit: 7033cf03516f31603586777683c5d6a65448cd3d |
2 |
Author: David Heidelberg <david <AT> ixit <DOT> cz> |
3 |
AuthorDate: Wed Aug 14 15:29:09 2019 +0000 |
4 |
Commit: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 17 22:15:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7033cf03 |
7 |
|
8 |
dev-python/python-dateutil: bump 2.8.0 |
9 |
|
10 |
also bump EAPI to 7 |
11 |
|
12 |
Signed-off-by: David Heidelberg <david <AT> ixit.cz> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/12705 |
14 |
Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org> |
15 |
|
16 |
dev-python/python-dateutil/Manifest | 1 + |
17 |
.../python-dateutil/python-dateutil-2.8.0.ebuild | 50 ++++++++++++++++++++++ |
18 |
2 files changed, 51 insertions(+) |
19 |
|
20 |
diff --git a/dev-python/python-dateutil/Manifest b/dev-python/python-dateutil/Manifest |
21 |
index d4b7691de6b..46398b25f55 100644 |
22 |
--- a/dev-python/python-dateutil/Manifest |
23 |
+++ b/dev-python/python-dateutil/Manifest |
24 |
@@ -4,3 +4,4 @@ DIST python-dateutil-2.7.2.tar.gz 298000 BLAKE2B 4091108b125eb080809c74cdb53daa2 |
25 |
DIST python-dateutil-2.7.3.tar.gz 302871 BLAKE2B 8b6cff6f977d52b64665f33d10513a638addada91a00192eb1f522aa9b239d5fb051bff3cfb837871ea61d7ab69994cfe5b42bb3b00851b5f15368c26db06fd7 SHA512 6b9973fa7db69d931bc6e772201c67bb7bbfa693ba35484d34960bd7e6227f2a2343df814a9fdbbff253e750299c48e7cdb2a609bf4522595df8a7fc595784fd |
26 |
DIST python-dateutil-2.7.4.tar.gz 302229 BLAKE2B e2a43d8587f895a9a72ca5ab5c18a5c471497c8f8e89459450219e9f5ecb55223f36f219d77df8da4c04d55fb5feb3a17f9a5c2318c077dac4307da7c0bd9645 SHA512 3b02b397e3138dc755f34a2f7a50464f96a73b7be1f335ce7da3fa99e6d59f34a0643dfb1c933d4ef4fbaab88364fab6e760e4b1e7040b8cbbfebdd75e7e9a4f |
27 |
DIST python-dateutil-2.7.5.tar.gz 316043 BLAKE2B 29511f7e484c369084d696f45a07e01e096e7b1114f982026f8df71d569eea30d657956d3e53725ad57564c1e445414c2ed543e3e6d2dd89902d7838cbb9e6fe SHA512 762752191d584a3995b55bbcfadc829261a263e0e6515a52db2fc32157bf0b3f96f787107c49bbd77cab9ce7e3f692ab3e8f392260fc18e6456b74eb190b44d3 |
28 |
+DIST python-dateutil-2.8.0.tar.gz 327134 BLAKE2B 6525eee57aeaef3c588413210df7c1ad3627a380c6e44af78e9acc9abea523b29e8d9afec495f8d1e585d25d32ab82e6e28bf93dca148893d2e6a533e1f4ce47 SHA512 ec7da86203572582f883a4686acf8a732a2de4f396d809057eb51b2c60dbca5623a7fa90c2c0618c281a2282c60841739bd837731a51cc876f4ff369297f2f81 |
29 |
|
30 |
diff --git a/dev-python/python-dateutil/python-dateutil-2.8.0.ebuild b/dev-python/python-dateutil/python-dateutil-2.8.0.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..172252195d8 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/python-dateutil/python-dateutil-2.8.0.ebuild |
35 |
@@ -0,0 +1,50 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) |
42 |
+ |
43 |
+inherit distutils-r1 |
44 |
+ |
45 |
+DESCRIPTION="Extensions to the standard Python datetime module" |
46 |
+HOMEPAGE=" |
47 |
+ https://dateutil.readthedocs.org/ |
48 |
+ https://pypi.org/project/python-dateutil |
49 |
+ https://github.com/dateutil/dateutil/ |
50 |
+" |
51 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="BSD" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
56 |
+IUSE="test" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ >=dev-python/six-1.5[${PYTHON_USEDEP}] |
60 |
+ sys-libs/timezone-data |
61 |
+" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
64 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
65 |
+ test? ( |
66 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
67 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
68 |
+ dev-python/hypothesis[${PYTHON_USEDEP}] |
69 |
+ ) |
70 |
+" |
71 |
+ |
72 |
+python_prepare_all() { |
73 |
+ local PATCHES=( |
74 |
+ "${FILESDIR}"/0001-zoneinfo-Get-timezone-data-from-system-tzdata.patch |
75 |
+ ) |
76 |
+ |
77 |
+ # don't install zoneinfo tarball |
78 |
+ sed -i '/package_data=/d' setup.py || die |
79 |
+ |
80 |
+ distutils-r1_python_prepare_all |
81 |
+} |
82 |
+ |
83 |
+python_test() { |
84 |
+ py.test -v || die "Tests failed under ${EPYTHON}" |
85 |
+} |