summaryrefslogtreecommitdiff
path: root/dev-python/pytest-recording
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-09 11:57:53 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-05-09 11:57:53 +0000
commit3dc27067f5e12af168623c205d85522b92d1e8d9 (patch)
tree739295adc00c662e15d11512826a467c834e6366 /dev-python/pytest-recording
parent2a056f8dc807f0f3f71656f72053560b984c03e3 (diff)
downloadbaldeagleos-repo-3dc27067f5e12af168623c205d85522b92d1e8d9.tar.gz
baldeagleos-repo-3dc27067f5e12af168623c205d85522b92d1e8d9.tar.xz
baldeagleos-repo-3dc27067f5e12af168623c205d85522b92d1e8d9.zip
Adding metadata
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.13.4.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/pytest-recording/Manifest b/dev-python/pytest-recording/Manifest
index 73ae98c7d275..0cbd1e399774 100644
--- a/dev-python/pytest-recording/Manifest
+++ b/dev-python/pytest-recording/Manifest
@@ -1 +1,2 @@
DIST pytest_recording-0.13.3.tar.gz 26228 BLAKE2B 96ebdda1e6efb551f0d878c90f144359db3eb72c08a25b4d4ce5acaf4c664d06d787521935290731032be0076f9258af554a321ddab99b82d9747eee579a4db5 SHA512 32eda1e7066ed0e85344c36bc22856a0baeb74138c2bf026915a2dbe2e3e65f43b1154c097f1f183244e83f0aee5ee0bdd3ee563eb2014d41fb5ade3c10c9baf
+DIST pytest_recording-0.13.4.tar.gz 26576 BLAKE2B edb64ed12dfe6d7d2709b43daf76626b7adc2d96b5980f81f38a358cc465bf7342e2b1ac78e6418b4bd4ee20d17f50b83f83568fb8c6c2225fb7337aeb3bd996 SHA512 b4bf67b60272945c64ad11d6fcfc0184cd4e8a336131e34cf9581e0a214532013c8882ebf88651d89cc91481456a7419549229d234e0e38e8025bba563dafffc
diff --git a/dev-python/pytest-recording/pytest-recording-0.13.4.ebuild b/dev-python/pytest-recording/pytest-recording-0.13.4.ebuild
new file mode 100644
index 000000000000..cb49d1b320c9
--- /dev/null
+++ b/dev-python/pytest-recording/pytest-recording-0.13.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{9,10,11,12,13} )
+
+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 ~arm64"
+
+RDEPEND="
+ >=dev-python/pytest-3.5.0[${PYTHON_USEDEP}]
+ >=dev-python/vcrpy-2.0.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pytest-httpbin[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+python_test () {
+ local EPYTEST_DESELECT=(
+ # Internet
+ # https://github.com/kiwicom/pytest-recording/issues/131
+ tests/test_blocking_network.py::test_block_network_with_allowed_hosts
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=pytest_recording.plugin
+ PYTEST_PLUGINS+=,pytest_httpbin.plugin,pytest_mock
+ epytest
+}