commit: 531c22bef317703f824e4c4835b357328a5754bf
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 16:16:34 2019 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 16:16:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531c22be
dev-python/zc-buildout: Remove Py2
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>
dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
b/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
index fdff18c3a85..7e50c6d015f 100644
--- a/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
+++ b/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy pypy3 )
+PYTHON_COMPAT=( python3_{5,6} pypy3 )
inherit distutils-r1
@@ -17,7 +17,8 @@ LICENSE="ZPL"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
-RESTRICT="!test? ( test )"
+# Tests are broken
+RESTRICT="test"
RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
@@ -34,11 +35,6 @@ python_prepare_all() {
}
python_test() {
- if python_is_python3; then
- ewarn "Tests are broken for ${EPYTHON}, skipping"
- continue
- fi
-
distutils_install_for_testing
"${PYTHON}" src/zc/buildout/tests.py || die "Tests fail with ${EPYTHON}"
}