aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenri Gasc <gasc@eurecom.fr>2024-03-12 16:25:57 +0100
committerHenri Gasc <gasc@eurecom.fr>2024-03-12 18:25:11 +0100
commit7f27033c869b607e91c37f4081710043ce5bf96c (patch)
tree080fc34ec6adac9f7708820253cf926ed9c25cac
parentgames-arcade/taisei: drop 1.3.2-r2 (diff)
downloadguru-7f27033c869b607e91c37f4081710043ce5bf96c.tar.gz
guru-7f27033c869b607e91c37f4081710043ce5bf96c.tar.bz2
guru-7f27033c869b607e91c37f4081710043ce5bf96c.zip
dev-python/moderngl: add 5.10.0, drop 5.8.2
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
-rw-r--r--dev-python/moderngl/Manifest2
-rw-r--r--dev-python/moderngl/moderngl-5.10.0.ebuild (renamed from dev-python/moderngl/moderngl-5.8.2.ebuild)27
2 files changed, 13 insertions, 16 deletions
diff --git a/dev-python/moderngl/Manifest b/dev-python/moderngl/Manifest
index a85f4f822..c1b87a6bc 100644
--- a/dev-python/moderngl/Manifest
+++ b/dev-python/moderngl/Manifest
@@ -1 +1 @@
-DIST moderngl-5.8.2.gh.tar.gz 2611498 BLAKE2B 9a04c9e7554cb0e96ad497edc0fb9ee533f8a9b9399cd13e6e4a8546a22d626fde0165fdf7e888b9b55ca4ad3bc010ccf6d20904f64ac233b34b32af8d035b72 SHA512 fa9a36d826755ceef8609c8ee2330da12f46be9ff8c3dbaa326447134237f7e303999f1d835ed6db65640a63ebdc3c300fb2cc85bc5c74d51f14cd9bb477b871
+DIST moderngl-5.10.0.gh.tar.gz 2310879 BLAKE2B 4077ad238012a0f9b43bf7b3b691d9ee4019d6b97fd38e64ef87e1c5ce04e71b4cf64cf3f55faeb3275b2c7052e1c6d95839ba5bfd602fa2daffc3a0f31077ed SHA512 1fa59410462bcdea881e295874ea1c5dc6b1ccc6c0914e1955c7465a363e597c487de17ade649f5f25372275d05e0e2314d81020441c4890c51912742b61ae37
diff --git a/dev-python/moderngl/moderngl-5.8.2.ebuild b/dev-python/moderngl/moderngl-5.10.0.ebuild
index 73fd01c5a..520b562e1 100644
--- a/dev-python/moderngl/moderngl-5.8.2.ebuild
+++ b/dev-python/moderngl/moderngl-5.10.0.ebuild
@@ -1,13 +1,20 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+DOCS_BUILDER="sphinx"
+DOCS_DIR="docs"
+DOCS_DEPEND="
+ dev-python/furo
+ dev-python/sphinx-copybutton
+"
+
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 virtualx
+inherit distutils-r1 virtualx docs
DESCRIPTION="Modern OpenGL binding for python"
HOMEPAGE="https://github.com/moderngl/moderngl https://pypi.org/project/moderngl"
@@ -22,8 +29,8 @@ RESTRICT="test"
BDEPEND="
x11-libs/libX11
- media-libs/mesa
- >=dev-python/glcontext-2.3.6[${PYTHON_USEDEP}]
+ virtual/opengl
+ >=dev-python/glcontext-2.5.0[${PYTHON_USEDEP}]
<dev-python/glcontext-3[${PYTHON_USEDEP}]
test? (
dev-python/numpy[${PYTHON_USEDEP}]
@@ -31,21 +38,11 @@ BDEPEND="
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/pycodestyle[${PYTHON_USEDEP}]
)
- doc? (
- dev-python/furo[${PYTHON_USEDEP}]
- dev-python/sphinx[${PYTHON_USEDEP}]
- dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
- )
"
DEPEND="${BDEPEND}"
# distutils_enable_tests pytest
-distutils_enable_sphinx docs
src_test() {
virtx distutils-r1_src_test
}
-
-pkg_postinst() {
- use doc && elog "The documentation is installed as html pages"
-}