summaryrefslogtreecommitdiff
path: root/dev-python/pytest-testinfra
diff options
context:
space:
mode:
authormirror@stealer.net <mirror@stealer.net>2025-03-31 08:30:22 +0000
committermirror@stealer.net <mirror@stealer.net>2025-03-31 08:30:22 +0000
commit948c59fcb98a5513fb6e28e1d3b51a18aa09eb01 (patch)
treea927fa7cc7ea3166f6a60d4dd947868729980ea8 /dev-python/pytest-testinfra
parent77b50de9208ad1713d0a7e2aad9cedcaa2684f7c (diff)
2025-03-31 08:11:14+00:00
Diffstat (limited to 'dev-python/pytest-testinfra')
-rw-r--r--dev-python/pytest-testinfra/Manifest2
-rw-r--r--dev-python/pytest-testinfra/pytest-testinfra-10.2.2.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pytest-testinfra/Manifest b/dev-python/pytest-testinfra/Manifest
index 8168b2fa958ca..eb5c29d490d6f 100644
--- a/dev-python/pytest-testinfra/Manifest
+++ b/dev-python/pytest-testinfra/Manifest
@@ -1,5 +1,7 @@
DIST pytest-testinfra-10.1.1.tar.gz 86567 BLAKE2B b9dd9ea4023b1b7d9399615fbf6493efb094ec7f2478f65b46118173f6b20f545b645d06f20b42544325d68a917812a55f902ca28774b8ffb8743ac8182c3970 SHA512 6173937b03eaefb84a95b6fca616092ea0649f880fd1bccef6364f338b859bda8d09d706b517625b81cff4f663ababa766dac82d4d094c38683d9b170909f6c9
DIST pytest-testinfra-10.2.1.gh.tar.gz 84124 BLAKE2B 3a967f22da4da4cd03f41e4d38ce0d1c5b62852ba8c18ab448db3c92fce740b48528dc45408187d6eae9f755c1eed55dc262c25b9ca1e8b70b6825ae1688e9ea SHA512 d36e7d7cae1da82a947c60be762562ed14d94f1d20c3173798226bb443b18cf96dbe09d54797d744328370b947f3ee8e3c9742548369f8ddd3a1e9152d07aed8
+DIST pytest_testinfra-10.2.2.tar.gz 76153 BLAKE2B 85d25268eacbdbf97fcbfdd32cea92228475a76cc057cd633fd096375a1e5397f31628cffed1cafcbb41ef5f29ef5ea55f5134c3455d562e3d644006a897b706 SHA512 bcbc4d60bfbc030d0ca37f710c3b300890f18275830e0e7758bbceee3eb37ed020b9053e32ece1f5ce0be6cb341adff87e2842dabb2100280f4ec8f4acec1113
EBUILD pytest-testinfra-10.1.1.ebuild 1250 BLAKE2B 294debb7495677ab384cc0f8b02a9ba2f6c4ba45cb74607da0ea9457be29514c79059252b3905d6cff2a9fbd2d5739b977bdc059a15552357cb3768e2e79c818 SHA512 5452af12f170b7f4ad630e3f64e4a7c9c0d81841c28385cbea5effd2d058c4bf36051ef9286a63dcece661db6e18794983e4fdf1401a1b2375eb23d3173bcecf
EBUILD pytest-testinfra-10.2.1.ebuild 1372 BLAKE2B 37e2c069f0731f8ac6a768e8a5b189db0cbef30b9791659c07f7b6ccb38e90533557bb9fdf39a9c36e8b14df2ec7cd9732affcd3792797f117206b839c9d1949 SHA512 cf6c0a3b143880a6d38f1a756c7709f5eaac024415d8306c7fd7696ed1d0b4f4921d016dbf68a5194320b7e166ae128710024483b2d3776e45571a81f000787e
+EBUILD pytest-testinfra-10.2.2.ebuild 1276 BLAKE2B 3d9da38415ae5b60e40a35a917d3460f8fc5f2dfdd553fa2e3b24475226de1229521c4beddce0597c8982ae56ef94e9bb2e09464cec098866d220fa36d202c34 SHA512 31e7b8facd4a63fd87459dd838e1232df674904a9bc228d9b03edc4e91a23e621f12accbdd73ebdee42308f2f84b66c8b58c4cafd53a02feacbae5dff1d2f653
MISC metadata.xml 675 BLAKE2B e0725c7b69f7a1e7a8ff8a0e62c957ff7fc363b4a045a44d0026f33514053392e7bdabe5d75a897f87b883c79fe2d864038f5d840ce5fccf22e1484bf0e739f6 SHA512 dda8d8466a9600dce843db4af6ac0a0dd3e21f07d9ded26f159414968c1ba42009d5c8d57b5ada603a3ec4cb5583d4695f2cfe0974643120e5c3e6596b5bf66c
diff --git a/dev-python/pytest-testinfra/pytest-testinfra-10.2.2.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-10.2.2.ebuild
new file mode 100644
index 0000000000000..9e96c37df84fd
--- /dev/null
+++ b/dev-python/pytest-testinfra/pytest-testinfra-10.2.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Write unit tests in Python to test actual state of your servers"
+HOMEPAGE="
+ https://github.com/pytest-dev/pytest-testinfra/
+ https://pypi.org/project/pytest-testinfra/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+
+RDEPEND="
+ dev-python/pytest[${PYTHON_USEDEP}]
+"
+# Ansible is called via its CLI
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ app-admin/ansible
+ dev-python/paramiko[${PYTHON_USEDEP}]
+ dev-python/pywinrm[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x EPYTEST_DESELECT=()
+
+ # This is the only test which actually fails if salt cannot be imported
+ if ! has_version "dev-python/salt[${PYTHON_USEDEP}]"; then
+ 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"
+}