dev-python/arrow: version bump.
authorPatrice Clement <monsieurp@gentoo.org>
Sat, 8 Sep 2018 17:36:30 +0000 (19:36 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 9 Sep 2018 21:41:02 +0000 (23:41 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-python/arrow/Manifest
dev-python/arrow/arrow-0.12.1.ebuild [new file with mode: 0644]

index 97147c20eb48db68a5a62adee89743b0afe680d3..77a8429ef79fdb4dcb5bf1064a5add78ee68975c 100644 (file)
@@ -1 +1,2 @@
 DIST arrow-0.10.0.tar.gz 86506 BLAKE2B 3971e2aa4cefe70ce84267830800bd80bedb68caf3bd595614ac6bd77051bdff7c0e33ee09d569f4bcb9991255050b533464ade12c0d850a1d46dab3f65f03bd SHA512 a2baa23f1424b21506f3b664f0ef02d09f91b9cfaf6e0badfa544f42c750ed51136ae0e8910ac24207c0265a1b233f10a6f3cbafee3124b5f5c4fd965cfd01c0
+DIST arrow-0.12.1.tar.gz 65356 BLAKE2B 671f1094bc71b4ab03a967929cd81cff46e0b48d509ef82827e28403eee3a92a8380a4e4903599ae3f2e2813ebe3b47a46846e32d98f78eb5866c643999e3a79 SHA512 f18449d3629ff5630aa77f6068e7cd3e2ee32ba35e1d0d972b03fff1dd817d2d936a38cdde45b2b8f218df5c1ce3e316404e33103d8bc82af9bcc377e37afb09
diff --git a/dev-python/arrow/arrow-0.12.1.ebuild b/dev-python/arrow/arrow-0.12.1.ebuild
new file mode 100644 (file)
index 0000000..272f4de
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python{3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="Better dates and times for Python"
+HOMEPAGE="https://github.com/crsmithdev/arrow/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+       dev-python/python-dateutil[${PYTHON_USEDEP}]"
+
+DEPEND="
+       test? (
+               dev-python/nose[${PYTHON_USEDEP}]
+               dev-python/chai[${PYTHON_USEDEP}]
+               dev-python/simplejson[${PYTHON_USEDEP}]
+               ${RDEPEND}
+       )"
+
+python_prepare() {
+       sed -i -e "/with-coverage/d" setup.cfg || die
+}
+
+python_test() {
+       nosetests -v || die
+}