dev-python/pytest-recording: Bump to 0.13.4

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-09 03:44:53 +02:00
parent e74157a978
commit 53a9dd7b33
2 changed files with 47 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}