summaryrefslogtreecommitdiff
path: root/dev-python/pyopengl/pyopengl-3.1.7.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-10 17:36:11 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-10 19:44:48 +0100
commit280768d71fb475d0ef898743ad59a27e07685037 (patch)
tree42d68ee2538be620e16c6f47803b180b61721e7e /dev-python/pyopengl/pyopengl-3.1.7.ebuild
parent960afc4134f690a724a71c201fabc65341f5a750 (diff)
downloadgentoo-280768d71fb475d0ef898743ad59a27e07685037.tar.gz
gentoo-280768d71fb475d0ef898743ad59a27e07685037.tar.bz2
gentoo-280768d71fb475d0ef898743ad59a27e07685037.zip
dev-python/pyopengl: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyopengl/pyopengl-3.1.7.ebuild')
-rw-r--r--dev-python/pyopengl/pyopengl-3.1.7.ebuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev-python/pyopengl/pyopengl-3.1.7.ebuild b/dev-python/pyopengl/pyopengl-3.1.7.ebuild
index 223b4939eb29..e809448d849d 100644
--- a/dev-python/pyopengl/pyopengl-3.1.7.ebuild
+++ b/dev-python/pyopengl/pyopengl-3.1.7.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN=PyOpenGL
PYTHON_REQ_USE="tk?"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi virtualx
@@ -49,6 +49,16 @@ BDEPEND="
distutils_enable_tests pytest
+PATCHES=(
+ # https://github.com/mcfletch/pyopengl/commit/b49af26c615236ebc29cf125a8315091482a4a2a
+ "${FILESDIR}/${P}-py312.patch"
+)
+
+EPYTEST_DESELECT=(
+ # unreliable memory counting test
+ tests/test_vbo_memusage.py::test_sf_2980896
+)
+
src_test() {
virtx distutils-r1_src_test
}