summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-07-12 21:18:04 +0200
committerMichał Górny <mgorny@gentoo.org>2024-07-12 21:26:23 +0200
commit696f5512ce908c1ede8a54f6ae295419040fd50e (patch)
treeb9ff9b3749ade5bbfc96d4f90c56ca43f9d92a4c /dev-vcs
parentdev-vcs/git-pw: Remove old (diff)
downloadgentoo-696f5512ce908c1ede8a54f6ae295419040fd50e.tar.gz
gentoo-696f5512ce908c1ede8a54f6ae295419040fd50e.tar.bz2
gentoo-696f5512ce908c1ede8a54f6ae295419040fd50e.zip
dev-vcs/git-pw: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-pw/git-pw-2.6.0.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-vcs/git-pw/git-pw-2.6.0.ebuild b/dev-vcs/git-pw/git-pw-2.6.0.ebuild
index ccb909f73e2f..bab1464ff331 100644
--- a/dev-vcs/git-pw/git-pw-2.6.0.ebuild
+++ b/dev-vcs/git-pw/git-pw-2.6.0.ebuild
@@ -3,8 +3,8 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
DISTUTILS_USE_PEP517=pbr
+PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1
if [[ "${PV}" == 9999 ]] ; then
@@ -33,13 +33,17 @@ BDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]
test? (
>=dev-python/mock-3.0.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-3.0[${PYTHON_USEDEP}]
- >=dev-python/pytest-cov-2.5[${PYTHON_USEDEP}]
)
"
+distutils_enable_tests pytest
+
src_compile() {
export PBR_VERSION=${PV}
distutils-r1_src_compile
}
-distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}