diff --git a/dev-python/arrow/Manifest b/dev-python/arrow/Manifest new file mode 100644 index 0000000000000..119bb60bff93b --- /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 0000000000000..55306c9426a0e --- /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 0000000000000..7f4f33c6dbc92 --- /dev/null +++ b/dev-python/arrow/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + Python + +