commit:     efe6f094d8b630d95070d27005564fa9e331565c
Author:     Zamarin Arthur <arthurzam <AT> gmail <DOT> com>
AuthorDate: Thu May 20 13:18:13 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May 20 20:16:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe6f094

dev-python/pytest-describe: bump to python 3.{9,10}

passes test

Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-describe/pytest-describe-1.0.0.ebuild | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild 
b/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild
index dc72c7e880f..cce7fb4c6cf 100644
--- a/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild
+++ b/dev-python/pytest-describe/pytest-describe-1.0.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1
 
@@ -15,16 +15,13 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND=">=dev-python/pytest-2.6.0[${PYTHON_USEDEP}]"
-BDEPEND="
-       test? ( ${RDEPEND} )"
+
+distutils_enable_tests pytest
 
 python_test() {
        # We need to disable some plugins because tests don't like unexpected
        # output
-       PYTEST_ADDOPTS="-p no:flaky -p no:capturelog" pytest -vv ||
-               die "Tests failed under ${EPYTHON}"
+       PYTEST_ADDOPTS="-p no:flaky -p no:capturelog" epytest
 }

Reply via email to