summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-01-06 16:06:00 +0100
committerManuel Rüger <mrueg@gentoo.org>2017-01-06 16:06:00 +0100
commitbf9d4d21ac32280ca0c47046d0f1cc2ef06ad279 (patch)
treef639079b01bb092906d1da7180c3596193f14e4c /dev-python/arrow/arrow-0.10.0.ebuild
parentnet-fs/docker-volume-netshare: Initial version (diff)
downloadgentoo-bf9d4d21ac32280ca0c47046d0f1cc2ef06ad279.tar.gz
gentoo-bf9d4d21ac32280ca0c47046d0f1cc2ef06ad279.tar.bz2
gentoo-bf9d4d21ac32280ca0c47046d0f1cc2ef06ad279.zip
dev-python/arrow: Version bump to 0.10.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-python/arrow/arrow-0.10.0.ebuild')
-rw-r--r--dev-python/arrow/arrow-0.10.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/arrow/arrow-0.10.0.ebuild b/dev-python/arrow/arrow-0.10.0.ebuild
new file mode 100644
index 000000000000..93f2cf264bce
--- /dev/null
+++ b/dev-python/arrow/arrow-0.10.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
+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
+}