summaryrefslogtreecommitdiff
path: root/dev-python/pytest-recording
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytest-recording')
-rw-r--r--dev-python/pytest-recording/Manifest1
-rw-r--r--dev-python/pytest-recording/pytest-recording-0.14.0.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/pytest-recording/Manifest b/dev-python/pytest-recording/Manifest
index 5dbcdfea62b5..526805007c42 100644
--- a/dev-python/pytest-recording/Manifest
+++ b/dev-python/pytest-recording/Manifest
@@ -1 +1,2 @@
DIST pytest_recording-0.13.4.tar.gz 26576 BLAKE2B edb64ed12dfe6d7d2709b43daf76626b7adc2d96b5980f81f38a358cc465bf7342e2b1ac78e6418b4bd4ee20d17f50b83f83568fb8c6c2225fb7337aeb3bd996 SHA512 b4bf67b60272945c64ad11d6fcfc0184cd4e8a336131e34cf9581e0a214532013c8882ebf88651d89cc91481456a7419549229d234e0e38e8025bba563dafffc
+DIST pytest_recording-0.14.0.tar.gz 27084 BLAKE2B c8d326ba3025a878ef1a95bd3af8aa3b22d4351361cfac87830532a117cea45d041b8245cf55261e5f5210fdb1a5c136640571f6ba6e35af8f91af189ef0f0d3 SHA512 43618b8bc887c95f36d234dd44129ec6c2cf21854f164fe4873d6125456bbdbcb19c0fc0d2dfcf93403c156e6cb9ddade1736ea0293dc6d1bd4b6fd9a8921cc0
diff --git a/dev-python/pytest-recording/pytest-recording-0.14.0.ebuild b/dev-python/pytest-recording/pytest-recording-0.14.0.ebuild
new file mode 100644
index 000000000000..58d714850451
--- /dev/null
+++ b/dev-python/pytest-recording/pytest-recording-0.14.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A pytest plugin to record network interactions via VCR.py"
+HOMEPAGE="
+ https://pypi.org/project/pytest-recording/
+ https://github.com/kiwicom/pytest-recording/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/pytest-3.5.0[${PYTHON_USEDEP}]
+ >=dev-python/vcrpy-2.0.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/requests[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( "${PN}" pytest-{httpbin,mock} )
+EPYTEST_PLUGIN_LOAD_VIA_ENV=1
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # Internet
+ # https://github.com/kiwicom/pytest-recording/issues/131
+ tests/test_blocking_network.py::test_block_network_with_allowed_hosts
+)