dev-python/moderngl: add 5.12.0, drop 5.11.1

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc 2024-11-02 12:55:09 +01:00
parent 6188c37bf1
commit bcc9bff72a
No known key found for this signature in database
GPG Key ID: 3C21DC7CC460006B
2 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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
}