summaryrefslogtreecommitdiff
path: root/dev-python/pytest
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-10 06:12:14 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-10 06:12:14 +0000
commit0f156be9c41e4b6ea072452246ecfeffa9da1589 (patch)
tree2808a8b515cfd43a7e3aaf159d36412296c151d0 /dev-python/pytest
parent1e1659dc3453c7ae474b8a035d583393a25a43f8 (diff)
downloadbaldeagleos-repo-0f156be9c41e4b6ea072452246ecfeffa9da1589.tar.gz
baldeagleos-repo-0f156be9c41e4b6ea072452246ecfeffa9da1589.tar.xz
baldeagleos-repo-0f156be9c41e4b6ea072452246ecfeffa9da1589.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest')
-rw-r--r--dev-python/pytest/pytest-7.1.2.ebuild23
1 files changed, 15 insertions, 8 deletions
diff --git a/dev-python/pytest/pytest-7.1.2.ebuild b/dev-python/pytest/pytest-7.1.2.ebuild
index eda9eac18d04..93d4f1daeaaa 100644
--- a/dev-python/pytest/pytest-7.1.2.ebuild
+++ b/dev-python/pytest/pytest-7.1.2.ebuild
@@ -35,14 +35,16 @@ BDEPEND="
>=dev-python/setuptools_scm-6.2.3[${PYTHON_USEDEP}]
test? (
${RDEPEND}
- dev-python/argcomplete[${PYTHON_USEDEP}]
- >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
- dev-python/mock[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- dev-python/xmlschema[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/argcomplete[${PYTHON_USEDEP}]
+ >=dev-python/hypothesis-3.56[${PYTHON_USEDEP}]
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.7.2[${PYTHON_USEDEP}]
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/xmlschema[${PYTHON_USEDEP}]
+ ' python3_{8..10} pypy3)
)
"
@@ -54,6 +56,11 @@ src_test() {
}
python_test() {
+ if ! has "${EPYTHON}" python3.{8..10} pypy3; then
+ einfo "Skipping tests on ${EPYTHON}"
+ return
+ fi
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
local -x COLUMNS=80