diff options
Diffstat (limited to 'dev-python/pyopengl')
| -rw-r--r-- | dev-python/pyopengl/Manifest | 3 | ||||
| -rw-r--r-- | dev-python/pyopengl/files/pyopengl-3.1.7-pypy3.patch | 26 | ||||
| -rw-r--r-- | dev-python/pyopengl/files/pyopengl-3.1.8-fix-version.patch | 17 | ||||
| -rw-r--r-- | dev-python/pyopengl/pyopengl-3.1.10.ebuild | 1 | ||||
| -rw-r--r-- | dev-python/pyopengl/pyopengl-3.1.8.ebuild | 74 | ||||
| -rw-r--r-- | dev-python/pyopengl/pyopengl-3.1.9.ebuild | 82 |
6 files changed, 2 insertions, 201 deletions
diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest index 200d345d8e93..0d133e325e3e 100644 --- a/dev-python/pyopengl/Manifest +++ b/dev-python/pyopengl/Manifest @@ -1,3 +1,2 @@ DIST pyopengl-3.1.10.tar.gz 1915580 BLAKE2B 9c050c077b552f64253d930a38e8ddfc5ddb236d2f01b891dff37e42c9964a161c449ff467804e7f3feb4d2f1e4348047ff573cd12a9f2e977d180d5c5a3d79b SHA512 f11c94e442e0954453974900de5c1ef984d19f92ffc152fcc904a81aedc39ed294f4c51a6f1247e85499224f60422c4567e52516c156079d4efabbdd437e8f7d -DIST pyopengl-3.1.8.gh.tar.gz 3599436 BLAKE2B 7f33345d68d66d3cc81278eaa5f54298694f41f40583ee08a1f9f677705fb4414b6b2afbcd7b9345199b5f573478bfeba050e185b6534cbb19b45cb25c241b47 SHA512 d95014a36bd889fa014043e4640ba7f319bb996cb56e5f7086ee05d39c53d3928512d52b0ce181d7c144775a4da7eff7403cada0f91f23f56a699a1b023e00e6 -DIST pyopengl-3.1.9.tar.gz 1913642 BLAKE2B 2c2b768773b0531b432fb9add49d3c32dd468a4d8dfe0ee992064089ba3a51ecb19a7ce21c6c964935ff51fe1e37c49092540eff88f0a23c6cc754d457bbcef0 SHA512 b0fae0031cf0c47899d3cef6a334ee885595b4bc7d3da5055cd12240e6612b2ade1dc75afe1b1f6fe8e4572b994b88c4ec557d893e6606353f4700111cb6f161 +DIST pyopengl-3.1.10.tar.gz.provenance 9463 BLAKE2B 292b979c210d379a14a3b4c09033335dfa890447a80f21f2aa5ff3114021a5ccdcab1b8d0fa94f4ced4a052c9aa5f4779780940ce4d4db7e80cfdfb653f6bb92 SHA512 7ee52da53395b31f7d41ecd5d37b04026f7c77d4cf1d3d53d3f344f80490ad16a171a0ebddf623eb8ac35a197a1aaac548c45b64b7faba3b78853d17128827a5 diff --git a/dev-python/pyopengl/files/pyopengl-3.1.7-pypy3.patch b/dev-python/pyopengl/files/pyopengl-3.1.7-pypy3.patch deleted file mode 100644 index f3a434cf290f..000000000000 --- a/dev-python/pyopengl/files/pyopengl-3.1.7-pypy3.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 33da175a6d89945ea9e74e85df8ef8929fc86b62 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> -Date: Fri, 17 Nov 2023 19:56:58 +0100 -Subject: [PATCH] PYPY3 Add support for pypy3 in FormatHandler - -Add `_ctypes.array.ArrayMeta` to classes recognized by `ctypesarrays` -formathandler. This is the class used by arrays on PyPy3.10. Adding -this makes the test suite pass on PyPy3.10 7.3.13. - -Fixes #108 ---- - OpenGL/__init__.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/OpenGL/__init__.py b/OpenGL/__init__.py -index 77dc8c0b..959186ce 100644 ---- a/OpenGL/__init__.py -+++ b/OpenGL/__init__.py -@@ -301,6 +301,7 @@ def setPlatform(key): - "_ctypes.PyCArrayType", - "_ctypes.Array", - "_ctypes.array.Array", -+ "_ctypes.array.ArrayMeta", - ], - isOutput=True, - ) diff --git a/dev-python/pyopengl/files/pyopengl-3.1.8-fix-version.patch b/dev-python/pyopengl/files/pyopengl-3.1.8-fix-version.patch deleted file mode 100644 index 7017dd79a451..000000000000 --- a/dev-python/pyopengl/files/pyopengl-3.1.8-fix-version.patch +++ /dev/null @@ -1,17 +0,0 @@ -https://github.com/mcfletch/pyopengl/issues/123 ---- a/OpenGL/version.py -+++ b/OpenGL/version.py -@@ -1,2 +1,2 @@ - """Declares the current version for use in setuptools and the like""" --__version__ = "3.1.7" -+__version__ = "3.1.8" ---- a/accelerate/OpenGL_accelerate/__init__.py -+++ b/accelerate/OpenGL_accelerate/__init__.py -@@ -6,5 +6,5 @@ wrapper mechanism. The source code is part of the - PyOpenGL package and is built via the setupaccel.py - script in the top level of the PyOpenGL source package. - """ --__version__ = "3.1.7" --__version_tuple__ = (3, 1, 7) -+__version__ = "3.1.8" -+__version_tuple__ = (3, 1, 8) diff --git a/dev-python/pyopengl/pyopengl-3.1.10.ebuild b/dev-python/pyopengl/pyopengl-3.1.10.ebuild index f9d6a659bb59..55cd85ca6e8c 100644 --- a/dev-python/pyopengl/pyopengl-3.1.10.ebuild +++ b/dev-python/pyopengl/pyopengl-3.1.10.ebuild @@ -5,6 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_PN=PyOpenGL +PYPI_VERIFY_REPO=https://github.com/mcfletch/pyopengl PYTHON_REQ_USE="tk?" PYTHON_COMPAT=( python3_{10..14} ) diff --git a/dev-python/pyopengl/pyopengl-3.1.8.ebuild b/dev-python/pyopengl/pyopengl-3.1.8.ebuild deleted file mode 100644 index 2c66b7b5130e..000000000000 --- a/dev-python/pyopengl/pyopengl-3.1.8.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_NO_NORMALIZE=1 -PYPI_PN=PyOpenGL -PYTHON_REQ_USE="tk?" -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 virtualx - -DESCRIPTION="Python OpenGL bindings" -HOMEPAGE=" - https://pyopengl.sourceforge.net/ - https://github.com/mcfletch/pyopengl/ - https://pypi.org/project/PyOpenGL/ -" -# 3.1.8 is missing from pypi: https://github.com/mcfletch/pyopengl/issues/123 -SRC_URI="https://github.com/mcfletch/pyopengl/archive/refs/tags/release-${PV}.tar.gz -> ${P}.gh.tar.gz" -S="${WORKDIR}"/${PN}-release-${PV} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86" -IUSE="tk" - -RDEPEND=" - media-libs/freeglut - virtual/opengl - x11-libs/libXi - x11-libs/libXmu - tk? ( dev-tcltk/togl ) -" -DEPEND=" - ${RDEPEND} -" - -# The tests need an X server with the GLX extension. Software rendering -# under Xvfb works but only with llvmpipe, not softpipe or swr. -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pygame[${PYTHON_USEDEP},opengl,X] - !prefix? ( - media-libs/mesa[llvm] - x11-base/xorg-server[-minimal,xorg] - ) - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/mcfletch/pyopengl/pull/109 - "${FILESDIR}/${PN}-3.1.7-pypy3.patch" - # https://github.com/mcfletch/pyopengl/issues/123 - "${FILESDIR}/${P}-fix-version.patch" -) - -python_test() { - local EPYTEST_DESELECT=( - # unreliable memory counting test - tests/test_vbo_memusage.py::test_sf_2980896 - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - - nonfatal epytest tests || die "Tests failed with ${EPYTHON}" -} - -src_test() { - virtx distutils-r1_src_test -} diff --git a/dev-python/pyopengl/pyopengl-3.1.9.ebuild b/dev-python/pyopengl/pyopengl-3.1.9.ebuild deleted file mode 100644 index ab195c4f119c..000000000000 --- a/dev-python/pyopengl/pyopengl-3.1.9.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYPI_PN=PyOpenGL -PYTHON_REQ_USE="tk?" -PYTHON_COMPAT=( python3_{10..14} ) - -inherit distutils-r1 pypi virtualx - -DESCRIPTION="Python OpenGL bindings" -HOMEPAGE=" - https://pyopengl.sourceforge.net/ - https://github.com/mcfletch/pyopengl/ - https://pypi.org/project/PyOpenGL/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86" -IUSE="tk" - -RDEPEND=" - media-libs/freeglut - virtual/opengl - x11-libs/libXi - x11-libs/libXmu - tk? ( dev-tcltk/togl ) -" -DEPEND=" - ${RDEPEND} -" - -# The tests need an X server with the GLX extension. Software rendering -# under Xvfb works but only with llvmpipe, not softpipe or swr. -BDEPEND=" - test? ( - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pygame[${PYTHON_USEDEP},opengl,X] - dev-python/python-xlib[${PYTHON_USEDEP}] - !prefix? ( - media-libs/mesa[llvm] - x11-base/xorg-server[-minimal,xorg] - ) - ) -" - -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/mcfletch/pyopengl/pull/109 - "${FILESDIR}/${PN}-3.1.7-pypy3.patch" -) - -python_test() { - local EPYTEST_DESELECT=( - # fragile memory tests - tests/test_checks.py::test_test_glgetfloat_leak - tests/test_vbo_memusage.py::test_sf_2980896 - # missing EGL stuffs? - tests/test_checks.py::test_check_egl_es2 - tests/test_checks.py::test_egl_ext_enumerate - ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - - case ${EPYTHON} in - pypy3) - EPYTEST_DESELECT+=( - # refcounting tests - tests/test_checks.py::test_check_leak_on_discontiguous_array - ) - ;; - esac - - nonfatal epytest tests || die "Tests failed with ${EPYTHON}" -} - -src_test() { - virtx distutils-r1_src_test -} |
