mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 11:33:15 -04:00
dev-python/pytest-vcr: enable py3.11
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user