commit:     3528be69a3432ab1baae658368107ab701661eb3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 14:28:01 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 14:30:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3528be69

dev-python/hypothesis: Remove tests from <5 to unblock deps

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/hypothesis/hypothesis-4.57.1.ebuild | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/dev-python/hypothesis/hypothesis-4.57.1.ebuild 
b/dev-python/hypothesis/hypothesis-4.57.1.ebuild
index 0a1109d059e..c77bd835859 100644
--- a/dev-python/hypothesis/hypothesis-4.57.1.ebuild
+++ b/dev-python/hypothesis/hypothesis-4.57.1.ebuild
@@ -16,23 +16,13 @@ 
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar
 LICENSE="MPL-2.0"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 s390 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 
 RDEPEND="
        >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
        $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' 'python2*' 
pypy)
        >=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
 "
-BDEPEND="
-       test? (
-               ${RDEPEND}
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pexpect[${PYTHON_USEDEP}]
-               >=dev-python/pytest-4.3[${PYTHON_USEDEP}]
-               !!<dev-python/typing-3.7.4.1
-       )
-"
 
 S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
 
@@ -46,12 +36,6 @@ src_prepare() {
        distutils-r1_src_prepare
 }
 
-python_test() {
-       local pyver=$(python_is_python3 && echo 3 || echo 2)
-       pytest -vv tests/cover tests/pytest tests/py${pyver} ||
-               die "Tests fail with ${EPYTHON}"
-}
-
 pkg_postinst() {
        optfeature "datetime support" dev-python/pytz
        optfeature "dateutil support" dev-python/python-dateutil

Reply via email to