diff --git a/dev-python/pytest-ordering/Manifest b/dev-python/pytest-ordering/Manifest
new file mode 100644
index 0000000000..0036ecd18b
--- /dev/null
+++ b/dev-python/pytest-ordering/Manifest
@@ -0,0 +1 @@
+DIST pytest-ordering-0.6.tar.gz 11046 BLAKE2B 468ae5f04029b96ed3058b7f429aec0aaf96092453b229c3de5eab174702af2c1a9fe83171c68d282c4a144b3dd736daf9ed87b9e139a7bd175114f504049ebc SHA512 fd3aec83914f64d1295e1a1bf3fdc580c6824a749a1da8cebae275fef940d6ed6e5dcafad321d94f504a153e13e298b6544dc3c2db716a6b25d3148c2365fe15
diff --git a/dev-python/pytest-ordering/metadata.xml b/dev-python/pytest-ordering/metadata.xml
new file mode 100644
index 0000000000..3f9f921b0e
--- /dev/null
+++ b/dev-python/pytest-ordering/metadata.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+ lssndrbarbieri@gmail.com
+ Alessandro Barbieri
+
+
+ https://github.com/ftobia/pytest-ordering
+ pytest-ordering
+
+
diff --git a/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild
new file mode 100644
index 0000000000..a6fe80e294
--- /dev/null
+++ b/dev-python/pytest-ordering/pytest-ordering-0.6.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="pytest plugin to run your tests in a specific order"
+HOMEPAGE="
+ https://github.com/ftobia/pytest-ordering
+ https://pypi.org/project/pytest-ordering
+"
+SRC_URI="https://github.com/ftobia/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="test? ( dev-python/pytest-ordering[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source
+
+python_prepare_all() {
+ # TypeError: `args` parameter expected to be a list or tuple of strings, got: '--markers' (type: )
+ sed -i -e 's:test_run_marker_registered:_&:' \
+ tests/test_ordering.py || die
+
+ distutils-r1_python_prepare_all
+}
diff --git a/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
index 8232fa52c8..d0b4346aa5 100644
--- a/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
+++ b/dev-python/pytest-trio/pytest-trio-0.5.2.ebuild
@@ -32,16 +32,23 @@ 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}]
dev-python/trio-asyncio[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
-distutils_enable_sphinx docs/source
+distutils_enable_sphinx docs/source \
+ ">=dev-python/attrs-17.4.0" \
+ ">=dev-python/sphinx-1.6.1" \
+ dev-python/sphinx_rtd_theme \
+ dev-python/sphinxcontrib-trio
python_prepare_all() {
+ #fix for https://github.com/python-trio/pytest-trio/issues/90
# AttributeError("module 'pytest' has no attribute 'RemovedInPytest4Warning'",)
rm pytest_trio/_tests/conftest.py || die
@@ -50,6 +57,10 @@ python_prepare_all() {
python_test() {
# has to be run in source dir
+ #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}"
diff --git a/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild b/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild
index 7fb7dd7cc2..5a4e708a6e 100644
--- a/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild
+++ b/dev-python/sphobjinv/sphobjinv-2.0.1.ebuild
@@ -21,20 +21,25 @@ KEYWORDS="~amd64 ~x86 "
SLOT="0"
RDEPEND="
- dev-python/attrs[${PYTHON_USEDEP}]
+ >=dev-python/attrs-17.4[${PYTHON_USEDEP}]
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/fuzzywuzzy[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]"
DEPEND="
test? (
+ >=dev-python/pytest-4.4.0[${PYTHON_USEDEP}]
+ dev-python/pytest-ordering[${PYTHON_USEDEP}]
dev-python/pytest-subtests[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
- dev-python/stdio-mgr[${PYTHON_USEDEP}]
+ dev-python/sphinx-issues[${PYTHON_USEDEP}]
+ dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+ >=dev-python/stdio-mgr-1.0.1[${PYTHON_USEDEP}]
dev-python/timeout-decorator[${PYTHON_USEDEP}]
)
"
+#it may require sphinx==2.3.1
distutils_enable_sphinx doc/source dev-python/sphinx_rtd_theme dev-python/sphinx-issues
distutils_enable_tests pytest
diff --git a/dev-python/trio/trio-0.13.0.ebuild b/dev-python/trio/trio-0.13.0.ebuild
index ce3ef2e87b..66266e5006 100644
--- a/dev-python/trio/trio-0.13.0.ebuild
+++ b/dev-python/trio/trio-0.13.0.ebuild
@@ -32,6 +32,7 @@ DEPEND="${RDEPEND}
>=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.6[${PYTHON_USEDEP}]
dev-python/jedi[${PYTHON_USEDEP}]
+ dev-python/pylint[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
dev-python/yapf[${PYTHON_USEDEP}]
)