summaryrefslogtreecommitdiff
path: root/dev-python/pytest-testinfra
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-01-12 01:38:01 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-01-12 01:38:01 +0000
commitb05206d929248a4ed5165d6895a75a4a6487ee3f (patch)
tree7fc128ff2a84654dc35aab9683d3674f58b64f02 /dev-python/pytest-testinfra
parent6787a88e31f254a6b57afda6c0fdb41727d79a31 (diff)
downloadbaldeagleos-repo-b05206d929248a4ed5165d6895a75a4a6487ee3f.tar.gz
baldeagleos-repo-b05206d929248a4ed5165d6895a75a4a6487ee3f.tar.xz
baldeagleos-repo-b05206d929248a4ed5165d6895a75a4a6487ee3f.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-testinfra')
-rw-r--r--dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild
index 64340c398f88..ffef047c8de3 100644
--- a/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild
+++ b/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -20,13 +20,25 @@ RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
app-admin/ansible
- app-admin/salt[${PYTHON_USEDEP}]
dev-python/paramiko[${PYTHON_USEDEP}]
dev-python/pywinrm[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ app-admin/salt[${PYTHON_USEDEP}]
+ ' python3_{8..9} )
)"
distutils_enable_tests pytest
+python_test() {
+ if [[ ${EPYTHON} == "python3.10" ]]; then
+ ewarn "Some of the tests are skipped on ${EPYTHON} because it still isn't supported by app-admin/salt"
+ local EPYTEST_DESELECT=(
+ test/test_backends.py::test_backend_importables
+ )
+ fi
+ epytest
+}
+
pkg_postinst() {
elog "For the list of available connection back-ends and their dependencies,"
elog "please consult https://testinfra.readthedocs.io/en/latest/backends.html"