summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS├ębastien Fabbro <bicatali@gentoo.org>2017-07-29 20:52:46 +0000
committerS├ębastien Fabbro <bicatali@gentoo.org>2017-07-31 18:12:13 +0000
commit8d9501aabb721949ac028cf3873e051d6bf4f44f (patch)
tree817ca8f9b809c2931b24ee3187e31285c258e223 /dev-python/pytools/pytools-2017.4.ebuild
parentdev-python/decorator: version bump (diff)
downloadgentoo-8d9501aabb721949ac028cf3873e051d6bf4f44f.tar.gz
gentoo-8d9501aabb721949ac028cf3873e051d6bf4f44f.tar.bz2
gentoo-8d9501aabb721949ac028cf3873e051d6bf4f44f.zip
dev-python/pytools: version bump
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'dev-python/pytools/pytools-2017.4.ebuild')
-rw-r--r--dev-python/pytools/pytools-2017.4.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pytools/pytools-2017.4.ebuild b/dev-python/pytools/pytools-2017.4.ebuild
new file mode 100644
index 00000000000..5fef894d9bf
--- /dev/null
+++ b/dev-python/pytools/pytools-2017.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of tools missing from the Python standard library"
+HOMEPAGE="https://mathema.tician.de/software/pytools/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/appdirs-1.4.0[${PYTHON_USEDEP}]
+ >=dev-python/decorator-3.2.0[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.6.0[${PYTHON_USEDEP}]
+ >=dev-python/six-1.8.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+ >=dev-python/setuptools-0.7.2[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-runner[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ py.test -v || die "Tests fail with ${EPYTHON}"
+}