1 |
commit: 1dccee5f694bc59143ca7b2db1e0b0ca6c02d967 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 8 17:36:30 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 9 21:41:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dccee5f |
7 |
|
8 |
dev-python/arrow: version bump. |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-python/arrow/Manifest | 1 + |
13 |
dev-python/arrow/arrow-0.12.1.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest |
17 |
index 97147c20eb4..77a8429ef79 100644 |
18 |
--- a/dev-python/arrow/Manifest |
19 |
+++ b/dev-python/arrow/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST arrow-0.10.0.tar.gz 86506 BLAKE2B 3971e2aa4cefe70ce84267830800bd80bedb68caf3bd595614ac6bd77051bdff7c0e33ee09d569f4bcb9991255050b533464ade12c0d850a1d46dab3f65f03bd SHA512 a2baa23f1424b21506f3b664f0ef02d09f91b9cfaf6e0badfa544f42c750ed51136ae0e8910ac24207c0265a1b233f10a6f3cbafee3124b5f5c4fd965cfd01c0 |
22 |
+DIST arrow-0.12.1.tar.gz 65356 BLAKE2B 671f1094bc71b4ab03a967929cd81cff46e0b48d509ef82827e28403eee3a92a8380a4e4903599ae3f2e2813ebe3b47a46846e32d98f78eb5866c643999e3a79 SHA512 f18449d3629ff5630aa77f6068e7cd3e2ee32ba35e1d0d972b03fff1dd817d2d936a38cdde45b2b8f218df5c1ce3e316404e33103d8bc82af9bcc377e37afb09 |
23 |
|
24 |
diff --git a/dev-python/arrow/arrow-0.12.1.ebuild b/dev-python/arrow/arrow-0.12.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..272f4de5d55 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/arrow/arrow-0.12.1.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python2_7 python{3_4,3_5,3_6} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Better dates and times for Python" |
39 |
+HOMEPAGE="https://github.com/crsmithdev/arrow/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="Apache-2.0" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="test" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}]" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ test? ( |
52 |
+ dev-python/nose[${PYTHON_USEDEP}] |
53 |
+ dev-python/chai[${PYTHON_USEDEP}] |
54 |
+ dev-python/simplejson[${PYTHON_USEDEP}] |
55 |
+ ${RDEPEND} |
56 |
+ )" |
57 |
+ |
58 |
+python_prepare() { |
59 |
+ sed -i -e "/with-coverage/d" setup.cfg || die |
60 |
+} |
61 |
+ |
62 |
+python_test() { |
63 |
+ nosetests -v || die |
64 |
+} |