Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zc-buildout/
Date: Sat, 28 Dec 2019 16:17:04
Message-Id: 1577549794.531c22bef317703f824e4c4835b357328a5754bf.soap@gentoo
1 commit: 531c22bef317703f824e4c4835b357328a5754bf
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 28 16:16:34 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 28 16:16:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=531c22be
7
8 dev-python/zc-buildout: Remove Py2
9
10 Package-Manager: Portage-2.3.83, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild | 10 +++-------
14 1 file changed, 3 insertions(+), 7 deletions(-)
15
16 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
17 index fdff18c3a85..7e50c6d015f 100644
18 --- a/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
19 +++ b/dev-python/zc-buildout/zc-buildout-2.5.3-r1.ebuild
20 @@ -2,7 +2,7 @@
21 # Distributed under the terms of the GNU General Public License v2
22
23 EAPI=5
24 -PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy pypy3 )
25 +PYTHON_COMPAT=( python3_{5,6} pypy3 )
26
27 inherit distutils-r1
28
29 @@ -17,7 +17,8 @@ LICENSE="ZPL"
30 SLOT="0"
31 KEYWORDS="~amd64 ~x86"
32 IUSE="test"
33 -RESTRICT="!test? ( test )"
34 +# Tests are broken
35 +RESTRICT="test"
36
37 RDEPEND=">=dev-python/setuptools-3.3[${PYTHON_USEDEP}]"
38 DEPEND="${RDEPEND}
39 @@ -34,11 +35,6 @@ python_prepare_all() {
40 }
41
42 python_test() {
43 - if python_is_python3; then
44 - ewarn "Tests are broken for ${EPYTHON}, skipping"
45 - continue
46 - fi
47 -
48 distutils_install_for_testing
49 "${PYTHON}" src/zc/buildout/tests.py || die "Tests fail with ${EPYTHON}"
50 }