diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-10-30 00:05:52 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-10-30 00:05:52 +0200 |
commit | 17ebe1ee015cac4ed9fcf76ada53c63b3931667a (patch) | |
tree | 48c788e97b40ae4c2fa8ecff5e748c3049a96158 /dev-python/arrow | |
parent | dev-python/chai: Initial version (diff) | |
download | gentoo-17ebe1ee015cac4ed9fcf76ada53c63b3931667a.tar.gz gentoo-17ebe1ee015cac4ed9fcf76ada53c63b3931667a.tar.bz2 gentoo-17ebe1ee015cac4ed9fcf76ada53c63b3931667a.zip |
dev-python/arrow: Initial version
Package-Manager: portage-2.3.2
Diffstat (limited to 'dev-python/arrow')
-rw-r--r-- | dev-python/arrow/Manifest | 1 | ||||
-rw-r--r-- | dev-python/arrow/arrow-0.8.0.ebuild | 31 | ||||
-rw-r--r-- | dev-python/arrow/metadata.xml | 8 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest new file mode 100644 index 000000000000..119bb60bff93 --- /dev/null +++ b/dev-python/arrow/Manifest @@ -0,0 +1 @@ +DIST arrow-0.8.0.tar.gz 81664 SHA256 b210c17d6bb850011700b9f54c1ca0eaf8cbbd441f156f0cd292e1fbda84e7af SHA512 b6c01970d408e1169d042f593859577eef9961a2e7d6e0d5d01ddbdc001f806ca191cf152bd2d4060a877aeabee6754f06c3b91fbca53ee0a135a9355d08b347 WHIRLPOOL 60d6045ccc229cdf9f8a71f2622a6529eadde6bc58277c74bf81b38c8057f5bdab112ba46e04ca9765a34cf2b2a3de9eee0c86d650ff286f4d0bde09668c4e16 diff --git a/dev-python/arrow/arrow-0.8.0.ebuild b/dev-python/arrow/arrow-0.8.0.ebuild new file mode 100644 index 000000000000..55306c9426a0 --- /dev/null +++ b/dev-python/arrow/arrow-0.8.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 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 +} diff --git a/dev-python/arrow/metadata.xml b/dev-python/arrow/metadata.xml new file mode 100644 index 000000000000..7f4f33c6dbc9 --- /dev/null +++ b/dev-python/arrow/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> +</pkgmetadata> |