aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-15 13:23:27 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-06-15 13:23:27 +0200
commit3a119f4cebbec3fda19ffd3b9ea97350fca05f52 (patch)
tree5050422004885df285025f4e85d7402bae944c9d /dev-python
parentdev-python/trio: fix test (diff)
downloadguru-3a119f4cebbec3fda19ffd3b9ea97350fca05f52.tar.gz
guru-3a119f4cebbec3fda19ffd3b9ea97350fca05f52.tar.bz2
guru-3a119f4cebbec3fda19ffd3b9ea97350fca05f52.zip
dev-python/pytest-trio: add py3_8
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pytest-trio/pytest-trio-0.6.0.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev-python/pytest-trio/pytest-trio-0.6.0.ebuild b/dev-python/pytest-trio/pytest-trio-0.6.0.ebuild
index 9376d181..dc34ecf3 100644
--- a/dev-python/pytest-trio/pytest-trio-0.6.0.ebuild
+++ b/dev-python/pytest-trio/pytest-trio-0.6.0.ebuild
@@ -3,7 +3,7 @@
EAPI="7"
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
@@ -20,7 +20,7 @@ LICENSE="|| ( MIT Apache-2.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-# lots of different errors
+# fixture 'testdir' not found, should be in pytest according to the manual
RESTRICT="test"
RDEPEND="
@@ -32,7 +32,6 @@ DEPEND="
${RDEPEND}
test? (
>=dev-python/hypothesis-3.64[${PYTHON_USEDEP}]
- dev-python/pytest-trio[${PYTHON_USEDEP}]
!~dev-python/pytest-3.7.0[${PYTHON_USEDEP}]
!~dev-python/pytest-3.7.1[${PYTHON_USEDEP}]
>=dev-python/pytest-4.3[${PYTHON_USEDEP}]
@@ -60,7 +59,6 @@ python_test() {
#even upstream doesn't know how to run their tests
#https://github.com/python-trio/pytest-trio/issues/84
#"Our CI is still passing AFAIK"
-
PYTHONPATH="${S}"
cd "${S}" || die
pytest -vv || die "Tests fail with ${EPYTHON}"