commit:     53a9dd7b3345d74e6822272400d21f46fb9b1d3f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May  9 01:44:53 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May  9 01:50:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53a9dd7b

dev-python/pytest-recording: Bump to 0.13.4

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pytest-recording/Manifest               |  1 +
 .../pytest-recording-0.13.4.ebuild                 | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

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..923e3bf56463
--- /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_{11..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
+}

Reply via email to