commit: 99e0f58e32e90054b9e5a9d0e29172dbc56bbf40
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 19 02:32:19 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 19 02:41:29 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e0f58e
dev-python/pyopengl-accelerate: Bump to 3.1.10
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pyopengl-accelerate/Manifest | 1 +
...99.ebuild => pyopengl-accelerate-3.1.10.ebuild} | 37 +++++-----------------
.../pyopengl-accelerate-9999.ebuild | 4 +--
3 files changed, 11 insertions(+), 31 deletions(-)
diff --git a/dev-python/pyopengl-accelerate/Manifest
b/dev-python/pyopengl-accelerate/Manifest
index a30cf9e4c854..0a4ad0b3cf7b 100644
--- a/dev-python/pyopengl-accelerate/Manifest
+++ b/dev-python/pyopengl-accelerate/Manifest
@@ -1 +1,2 @@
+DIST pyopengl_accelerate-3.1.10.tar.gz 21930 BLAKE2B
9843d8420d20df10f6946d9d6a9be78e7730ec08425f7b0ca7d43ee13b02b10ddf240589538313ba64cb5098d1c36adf0b65bc5abdbc6fd6ac10a7d97f529be2
SHA512
85a3eb19ead97ed4820bd70757e41c9a6719a8dd3fab2f7c4f57f654a216fd3fd3a21bc731d5c2e2c07fdd1236756f79ee70e3600c2cc22105b2885feb2187a7
DIST pyopengl_accelerate-3.1.9.tar.gz 21799 BLAKE2B
cf0a69d55dd1971fcd91d147e71035e3a59c55dbbf10eb2ae6d5e8e78ac932632a4867c4762ea56be5e79afa0c25b4e3d313557e6b3e1f4fcc3553df12096fce
SHA512
a6e4dc2ee88f2133e02384113fa7947f9a30bd2b0dff5905c29fe46b346ba7e61b2d4dc2d598901524f46560025026d5163f750be0a2b58864b3863fa7179fcf
diff --git a/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild
b/dev-python/pyopengl-accelerate/pyopengl-accelerate-3.1.10.ebuild
similarity index 55%
copy from dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild
copy to dev-python/pyopengl-accelerate/pyopengl-accelerate-3.1.10.ebuild
index a2b0f657fce8..188cd6be2aa0 100644
--- a/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild
+++ b/dev-python/pyopengl-accelerate/pyopengl-accelerate-3.1.10.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="Accelerate module for PyOpenGL"
HOMEPAGE="
@@ -16,22 +16,9 @@ HOMEPAGE="
https://pypi.org/project/PyOpenGL-accelerate/
"
-if [[ ${PV} = *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/mcfletch/pyopengl.git"
- S="${S}/accelerate"
-else
- MY_P=pyopengl-release-${PV}
- SRC_URI="
-
https://github.com/mcfletch/pyopengl/archive/release-${PV}.tar.gz
- -> ${MY_P}.gh.tar.gz
- "
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S=${WORKDIR}/${MY_P}/accelerate
-fi
-
LICENSE="BSD"
SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="numpy"
DEPEND="
@@ -47,21 +34,14 @@ BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
+EPYTEST_PLUGINS=()
distutils_enable_tests pytest
-src_prepare() {
- default
-
- touch requirements.txt || die
-
- eapply -p2 "${FILESDIR}/${PN}-3.1.8-gcc-14.patch"
-
- eapply -p1 "${FILESDIR}/${PN}-3.1.8-numpy-2.0.patch"
-}
+PATCHES=(
+ "${FILESDIR}"/pyopengl-accelerate-3.1.9-cpython3.1.0.patch
+)
src_configure() {
- rm src/*.c || die
-
if ! use numpy; then
cat > "${T}"/numpy.py <<-EOF || die
raise ImportError("building numpy extension disabled")
@@ -75,7 +55,6 @@ python_compile() {
}
python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
cd "${T}" || die
epytest "${S}"/tests
}
diff --git a/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild
b/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild
index a2b0f657fce8..e03b3e4172bd 100644
--- a/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild
+++ b/dev-python/pyopengl-accelerate/pyopengl-accelerate-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -47,6 +47,7 @@ BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
"
+EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
@@ -75,7 +76,6 @@ python_compile() {
}
python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
cd "${T}" || die
epytest "${S}"/tests
}