Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/six/
Date: Sat, 26 Sep 2020 15:50:24
Message-Id: 1601135416.56789ee5714ba14445931844bcea98a7610696c0.mgorny@gentoo
1 commit: 56789ee5714ba14445931844bcea98a7610696c0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 15:49:20 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 15:50:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56789ee5
7
8 dev-python/six: Revert "Skip tests on py2"
9
10 The hack is no longer necessary now that the package is py3-only.
11
12 Reverts: d9d71cc374adb1a2954bb5efddca2c096e746353
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-python/six/six-1.15.0-r1.ebuild | 17 ++---------------
16 1 file changed, 2 insertions(+), 15 deletions(-)
17
18 diff --git a/dev-python/six/six-1.15.0-r1.ebuild b/dev-python/six/six-1.15.0-r1.ebuild
19 index 338790636d7..208c502b78a 100644
20 --- a/dev-python/six/six-1.15.0-r1.ebuild
21 +++ b/dev-python/six/six-1.15.0-r1.ebuild
22 @@ -14,20 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
23 LICENSE="MIT"
24 SLOT="0"
25 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
26 -IUSE="doc test"
27 -RESTRICT="!test? ( test )"
28 -
29 -BDEPEND="
30 - test? (
31 - $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' -3)
32 - )"
33 +IUSE="doc"
34
35 distutils_enable_sphinx documentation --no-autodoc
36 -
37 -python_test() {
38 - if ! python_is_python3; then
39 - einfo "Tests are skipped on Python 2 to unblock deps"
40 - return
41 - fi
42 - pytest -vv || die "Tests failed with ${EPYTHON}"
43 -}
44 +distutils_enable_tests pytest