From 531c22bef317703f824e4c4835b357328a5754bf Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sat, 28 Dec 2019 17:16:34 +0100 Subject: [PATCH] dev-python/zc-buildout: Remove Py2 Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert --- 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 fdff18c3a853..7e50c6d015f2 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}" } -- 2.26.2