commit:     a5376baff9bf11f341f7af411abc13a1faed2788
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Sat Jan 21 00:39:12 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 01:41:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5376baf

dev-python/pytools: bump to 2016.2.6, EAPI=6, fix deps

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3572

 dev-python/pytools/Manifest                |  1 +
 dev-python/pytools/pytools-2016.2.6.ebuild | 37 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/pytools/Manifest b/dev-python/pytools/Manifest
index 3d66242..0cb55f3 100644
--- a/dev-python/pytools/Manifest
+++ b/dev-python/pytools/Manifest
@@ -1,2 +1,3 @@
 DIST pytools-2014.3.5.tar.gz 47522 SHA256 
62a77a3c1865d5254ce212473da2af04f43d82eb0020ae9a009f97408e74968e SHA512 
94d2b51cdd87dd11263fdc7d04040979240dea0e0090da0ff325112df9770aacb0849e20812b90f807024ad3815313bc344307a30add8f6795a70e7ebd6adfaa
 WHIRLPOOL 
bc3b4c118627d790a1d5bf07f1a4f9e5a4a76a1b38d43b9e6cd3130b8f8415a87807fef4b82ebda778a255e7ed71616f7c8e515fd20f1dad56bdac28023247bf
 DIST pytools-2016.1.tar.gz 47498 SHA256 
084feeb68171fc36ddb40f27c4ad5b60d3596716a5f3ad3523257a0d27a351cc SHA512 
5492b8b78b6fd00f190d97f3be82c3e807a8e73661888f3b70fc26c5825544f3a76f94c76149b825d77557a74aee2d956231193a9f8056cd433e108556af61df
 WHIRLPOOL 
7c89f0ff132af7782e4738475e493513251c8f18b859b93c57e178a3991e8cd342fa07596e5b049f8707c489e9c3fb9ca2bf0dd0fb274cf0ded68632bf6aee54
+DIST pytools-2016.2.6.tar.gz 49708 SHA256 
6dd49932b8f81a8b622685cff3dd515e351a9290aef0fd5d020e4df00c06aa95 SHA512 
87faf5221982815ffecf8bbe4a81eb211111aa8f893132cb5ed0d23e3464b651dcd5070589972c5dc7fac7c4dce768dfe4e064d8346e637af4bfff36aea17833
 WHIRLPOOL 
d44ca24506e48b6005e528f4e8f8aec94a5835aa0841b24a55327a915bad102ed8d1367f6be699be27ee8feff2134252f7abfe1c74208eae8f2835a282083bba

diff --git a/dev-python/pytools/pytools-2016.2.6.ebuild 
b/dev-python/pytools/pytools-2016.2.6.ebuild
new file mode 100644
index 00000000..c9147a3
--- /dev/null
+++ b/dev-python/pytools/pytools-2016.2.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+
+inherit distutils-r1
+
+DESCRIPTION="A 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"
+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}"
+}

Reply via email to