aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/isodate/isodate-0.4.7.ebuild')
-rw-r--r--dev-python/isodate/isodate-0.4.7.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/isodate/isodate-0.4.7.ebuild b/dev-python/isodate/isodate-0.4.7.ebuild
new file mode 100644
index 0000000..d35f314
--- /dev/null
+++ b/dev-python/isodate/isodate-0.4.7.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+PYTHON_DEPEND="2:2.7 3:3.2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.[56] 3.1"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils
+
+DESCRIPTION="An ISO 8601 date/time/duration parser and formater"
+HOMEPAGE="http://pypi.python.org/pypi/isodate"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-python/setuptools"
+RDEPEND=""
+
+DOCS=( CHANGES.txt README.txt )
+
+src_install() {
+ distutils_src_install
+
+ delete_tests() {
+ rm -fr "${ED}$(python_get_sitedir)/isodate/tests"
+ }
+ python_execute_function -q delete_tests
+}