dev-python/pytest-vcr: enable py3.11

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-11-13 22:27:48 +05:00
parent 4e2c36f987
commit ba0803a663
2 changed files with 4 additions and 5 deletions

View File

@@ -4,7 +4,8 @@
EAPI=8
DOCS_BUILDER="mkdocs"
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
DISTUTILS_USE_PEP517="setuptools"
inherit distutils-r1 docs
DESCRIPTION="Plugin for managing VCR.py cassettes"
@@ -12,7 +13,7 @@ HOMEPAGE="
https://pypi.org/project/pytest-vcr/
https://github.com/ktosiek/pytest-vcr
"
SRC_URI="https://github.com/ktosiek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/ktosiek/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
@@ -27,8 +28,6 @@ DOCS=( docs README.rst )
EPYTEST_DESELECT=( tests/test_vcr.py::test_no_warnings )
distutils_enable_tests --install pytest
python_prepare_all() {
# pytest.config was removed in >=dev-python/pytest-5.0
sed "/pytest.config/d" -i tests/test_vcr.py || die