commit: 56789ee5714ba14445931844bcea98a7610696c0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 26 15:49:20 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 26 15:50:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56789ee5
dev-python/six: Revert "Skip tests on py2"
The hack is no longer necessary now that the package is py3-only.
Reverts: d9d71cc374adb1a2954bb5efddca2c096e746353
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/six/six-1.15.0-r1.ebuild | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/dev-python/six/six-1.15.0-r1.ebuild
b/dev-python/six/six-1.15.0-r1.ebuild
index 338790636d7..208c502b78a 100644
--- a/dev-python/six/six-1.15.0-r1.ebuild
+++ b/dev-python/six/six-1.15.0-r1.ebuild
@@ -14,20 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
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"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
- test? (
- $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]' -3)
- )"
+IUSE="doc"
distutils_enable_sphinx documentation --no-autodoc
-
-python_test() {
- if ! python_is_python3; then
- einfo "Tests are skipped on Python 2 to unblock deps"
- return
- fi
- pytest -vv || die "Tests failed with ${EPYTHON}"
-}
+distutils_enable_tests pytest