dev-python/pytest-relaxed: Fix dependencies
authorVirgil Dupras <vdupras@gentoo.org>
Sat, 18 Aug 2018 13:28:49 +0000 (09:28 -0400)
committerVirgil Dupras <vdupras@gentoo.org>
Sat, 18 Aug 2018 13:28:49 +0000 (09:28 -0400)
pytest-relaxed doesn't work with pytest 3.3+.

Also, RESTRICT tests because they're broken.

Closes: https://bugs.gentoo.org/663650
Package-Manager: Portage-2.3.47, Repoman-2.3.10

dev-python/pytest-relaxed/pytest-relaxed-1.1.4.ebuild

index 7ed7aeefa0e67e15f0997c45fe419eccf479fef9..79e4eb968427fcf9edd4adbaba54aeeeeb0bd92d 100644 (file)
@@ -18,10 +18,15 @@ IUSE="test"
 
 RDEPEND="
        >=dev-python/pytest-3[${PYTHON_USEDEP}]
+       <dev-python/pytest-3.3
        >=dev-python/six-1[${PYTHON_USEDEP}]
        >=dev-python/decorator-4[${PYTHON_USEDEP}]
 "
 
+# This package is a broken mess upstream. Tests don't work. Fortunately, it's
+# not actually used by many packages.
+RESTRICT="test"
+
 PATCHES=(
        # We strip pytest-relaxed's entry point to stop it from autoloading on all
        # tests. When this package is installed, it has the habit of being