commit:     bcc9bff72ab17c3f21b643f82fe5246fa6f590ad
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Nov  2 11:55:09 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Nov  2 12:21:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bcc9bff7

dev-python/moderngl: add 5.12.0, drop 5.11.1

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/moderngl/Manifest                             |  2 +-
 .../{moderngl-5.11.1.ebuild => moderngl-5.12.0.ebuild}   | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/dev-python/moderngl/Manifest b/dev-python/moderngl/Manifest
index 47311205b..b522c5045 100644
--- a/dev-python/moderngl/Manifest
+++ b/dev-python/moderngl/Manifest
@@ -1 +1 @@
-DIST moderngl-5.11.1.gh.tar.gz 1679561 BLAKE2B 
b6a39cf4e5f2006a44ae517a22ef093900139d891ccd7b6bef4e759fcaf89b07bff2c003f5a4bd7d7ea45914a502e26d9d75294c3848df087fe5bc89756d9fee
 SHA512 
e8afa6599d2031954d5d26a1c51abef1d2612d25fe36633d40c7350e2466801176841676940397318dd1efc5edbaafd786dc3ddc3bfcb38516bcf166702a6c2a
+DIST moderngl-5.12.0.gh.tar.gz 1914450 BLAKE2B 
79a5e6eec0d90e64f0c74ed35fc73957fc0a3488c2e831f55ebba41582330f84d104cfb29e051cc0333248d1e66649934432494b505d03765d2f86806e45e259
 SHA512 
9a958a0b93807b7255b4ab5f3f496f2241a4747bbb2112067d9c18f5e855d7d43f405f361c158ceb0512e0a251932c420f836261bb46b6ef5ce5d8aa5220fad5

diff --git a/dev-python/moderngl/moderngl-5.11.1.ebuild 
b/dev-python/moderngl/moderngl-5.12.0.ebuild
similarity index 73%
rename from dev-python/moderngl/moderngl-5.11.1.ebuild
rename to dev-python/moderngl/moderngl-5.12.0.ebuild
index e50919ab9..3661ae64f 100644
--- a/dev-python/moderngl/moderngl-5.11.1.ebuild
+++ b/dev-python/moderngl/moderngl-5.12.0.ebuild
@@ -24,24 +24,28 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug"
+# All tests fails because they cannot access the video card
+# see https://forums.gentoo.org/viewtopic.php?p=8843999
 RESTRICT="test"
-# The tests need moderngl compiled AND installed, otherwise they fail
 
 BDEPEND="
-       x11-libs/libX11
-       virtual/opengl
+       media-libs/libglvnd[X]
        >=dev-python/glcontext-3.0.0[${PYTHON_USEDEP}]
        test? (
                dev-python/numpy[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
                dev-python/scipy[${PYTHON_USEDEP}]
                dev-python/pycodestyle[${PYTHON_USEDEP}]
+               dev-python/pyopengl[${PYTHON_USEDEP}]
        )
 "
 DEPEND="${BDEPEND}"
 
-# distutils_enable_tests pytest
-
+EPYTEST_DESELECT=(
+       # Make sure we are not using the system-wide install
+       "tests/test_local.py"
+)
+distutils_enable_tests pytest
 src_test() {
+       rm -rf "${S}/${PN}"
        virtx distutils-r1_src_test
 }

Reply via email to