1 |
commit: 841c00fee6bc375d8d5bc58da14fed47933b1cb9 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 24 22:17:16 2018 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 24 22:35:36 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841c00fe |
7 |
|
8 |
dev-python/python-dateutil: version bump to 2.7.1 |
9 |
|
10 |
dev-python/python-dateutil/Manifest | 1 + |
11 |
.../python-dateutil/python-dateutil-2.7.1.ebuild | 45 ++++++++++++++++++++++ |
12 |
2 files changed, 46 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/python-dateutil/Manifest b/dev-python/python-dateutil/Manifest |
15 |
index 6ad1b0842c4..81fd7db8450 100644 |
16 |
--- a/dev-python/python-dateutil/Manifest |
17 |
+++ b/dev-python/python-dateutil/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST python-dateutil-2.6.1.tar.gz 241428 BLAKE2B 93b1d43dacdfbf528b085864b04231c1a34b37b23bc64a58a0733f53ace0f7e0258ca58fbc725dc2aae15eebe8ed1f555b02862a4dfd360014e7ee9aa8d6a9f9 SHA512 f16dd29fc975629f594dd2683a525e2a86acb020bf8962558d19040b14ac6f19d4ab07a910d6bb55c9db3cc02b5472774a3a05ccc86cf624ca5e5144463646db |
20 |
+DIST python-dateutil-2.7.1.tar.gz 298061 BLAKE2B a6bc2a3bf83ff234ddc53db5a3353b19303dd9e0c6d2d702537643e134508f96ccc69b962fd957d4cc754b07cd24b3c3c2ce07becc0add7db925b841d6a32b5d SHA512 3dbadeac3dd22bf51279c4237df96a925ed4063384a82e756a41e314c216751f2c90f8909a20ba96fdb065966034e9c7e40c1ea152876ca733a2176893c4deb2 |
21 |
|
22 |
diff --git a/dev-python/python-dateutil/python-dateutil-2.7.1.ebuild b/dev-python/python-dateutil/python-dateutil-2.7.1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..8ccb00532b2 |
25 |
--- /dev/null |
26 |
+++ b/dev-python/python-dateutil/python-dateutil-2.7.1.ebuild |
27 |
@@ -0,0 +1,45 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) |
34 |
+ |
35 |
+inherit distutils-r1 |
36 |
+ |
37 |
+DESCRIPTION="Extensions to the standard Python datetime module" |
38 |
+HOMEPAGE=" |
39 |
+ https://dateutil.readthedocs.org/ |
40 |
+ https://pypi.python.org/pypi/python-dateutil |
41 |
+ https://github.com/dateutil/dateutil/ |
42 |
+" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+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" |
48 |
+IUSE="test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ >=dev-python/six-1.5[${PYTHON_USEDEP}] |
52 |
+ sys-libs/timezone-data |
53 |
+" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
56 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
57 |
+ test? ( |
58 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
59 |
+ dev-python/freezegun[${PYTHON_USEDEP}] |
60 |
+ ) |
61 |
+" |
62 |
+ |
63 |
+python_prepare_all() { |
64 |
+ # don't install zoneinfo tarball |
65 |
+ sed -i '/package_data=/d' setup.py || die |
66 |
+ |
67 |
+ distutils-r1_python_prepare_all |
68 |
+} |
69 |
+ |
70 |
+python_test() { |
71 |
+ py.test -v || die "Tests failed under ${EPYTHON}" |
72 |
+} |