summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/parsedatetime')
-rw-r--r--dev-python/parsedatetime/Manifest1
-rw-r--r--dev-python/parsedatetime/parsedatetime-2.1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/parsedatetime/Manifest b/dev-python/parsedatetime/Manifest
index b86c2debf336..e7ce64bf9bbb 100644
--- a/dev-python/parsedatetime/Manifest
+++ b/dev-python/parsedatetime/Manifest
@@ -1 +1,2 @@
DIST parsedatetime-1.5.tar.gz 61150 SHA256 4698420df9765f8f4ea41d9e771874ea8dff907e695f26634919b41f39590980 SHA512 cd76711f403e1344a6d4ac56c7d39ad280a47c10333a09ec2a65152b79f7a284d1d6ba3af7b7d7df9a32f650036012a115a3811d34f5dfe13582acec2ee5f130 WHIRLPOOL c90b54c16dfac0f98ce18c6595eed42ee09f0234e2314d054d64d3a01fc3c47a692a76dd867f843b67d1e76ce48cd910d581c68f63be03e40fe52e9119b66507
+DIST parsedatetime-2.1.tar.gz 61170 SHA256 71b90acc68bee9a165b941edcb93913f8c5784370e544bb32f71938cee97d0e0 SHA512 c3447c899aa56319e09b21c117ad4036e23727346d15d8d5fc60f89d439984f032950a9c6534f763c8dd09c74f078ddfaee1c77880dab4a4845393f5145db9a1 WHIRLPOOL 2e43a2ba4d8729f76170cb0b583648370c882d10bae70caf011e36fb0db5a439df8dcd7534577035620c10af32b4926fc773f80b1526bfe2772d8d5d6881ba42
diff --git a/dev-python/parsedatetime/parsedatetime-2.1.ebuild b/dev-python/parsedatetime/parsedatetime-2.1.ebuild
new file mode 100644
index 000000000000..f77eded58464
--- /dev/null
+++ b/dev-python/parsedatetime/parsedatetime-2.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=(python{2_7,3_4,3_5})
+
+inherit distutils-r1
+
+DESCRIPTION="Parse human-readable date/time strings"
+HOMEPAGE="https://github.com/bear/parsedatetime"
+SRC_URI="https://github.com/bear/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+python_prepare() {
+ rm setup.cfg || die
+}
+
+python_test() {
+ nosetests || die
+}