commit: a1a0dce09581e8f59077f5290219735e96c76ba2 Author: Henri Gasc <gasc <AT> eurecom <DOT> fr> AuthorDate: Tue Apr 25 17:22:46 2023 +0000 Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr> CommitDate: Tue Apr 25 17:22:46 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1a0dce0
dev-python/moderngl: add 5.8.2, drop 5.7.4 Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr> dev-python/moderngl/Manifest | 2 +- ...moderngl-5.7.4.ebuild => moderngl-5.8.2.ebuild} | 22 ++++++++-------------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/dev-python/moderngl/Manifest b/dev-python/moderngl/Manifest index b63830e75..a85f4f822 100644 --- a/dev-python/moderngl/Manifest +++ b/dev-python/moderngl/Manifest @@ -1 +1 @@ -DIST v5.7.4.gh.tar.gz 2687476 BLAKE2B a71180f2e450eec248bc6388a30738902c0f035014e56b2af21ed0b8c797c579d9ccd0d971ca639dc6347cc986cd1f7e1e86a5a7f9ecdc639808963c17d1ea6c SHA512 a626a0c60809f468563462822570855943ecdb0bcde41e18483259defcd45d89b084719b5eabe6009b0fb823b8921af8fd9858cfd937f4d1fd12de21f03f9359 +DIST moderngl-5.8.2.gh.tar.gz 2611498 BLAKE2B 9a04c9e7554cb0e96ad497edc0fb9ee533f8a9b9399cd13e6e4a8546a22d626fde0165fdf7e888b9b55ca4ad3bc010ccf6d20904f64ac233b34b32af8d035b72 SHA512 fa9a36d826755ceef8609c8ee2330da12f46be9ff8c3dbaa326447134237f7e303999f1d835ed6db65640a63ebdc3c300fb2cc85bc5c74d51f14cd9bb477b871 diff --git a/dev-python/moderngl/moderngl-5.7.4.ebuild b/dev-python/moderngl/moderngl-5.8.2.ebuild similarity index 67% rename from dev-python/moderngl/moderngl-5.7.4.ebuild rename to dev-python/moderngl/moderngl-5.8.2.ebuild index 64bd4a98e..e3584a1e0 100644 --- a/dev-python/moderngl/moderngl-5.7.4.ebuild +++ b/dev-python/moderngl/moderngl-5.8.2.ebuild @@ -10,37 +10,31 @@ inherit distutils-r1 virtualx DESCRIPTION="Modern OpenGL binding for python" HOMEPAGE="https://github.com/moderngl/moderngl https://pypi.org/project/moderngl" -SRC_URI="https://github.com/moderngl/moderngl/archive/refs/tags/${PV}.tar.gz -> v${PV}.gh.tar.gz" +SRC_URI="https://github.com/moderngl/moderngl/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" +IUSE="debug" +RESTRICT="test" +# The tests need moderngl compiled AND installed, otherwise they fail -RDEPEND="" +DISTUTILS_EXT=1 BDEPEND=" x11-libs/libX11 - media-libs/libglvnd[X] - dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}] + media-libs/mesa + dev-python/glcontext[${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/glcontext[${PYTHON_USEDEP}] ) " DEPEND="${BDEPEND}" -distutils_enable_tests pytest +# distutils_enable_tests pytest src_test() { virtx distutils-r1_src_test } -python_test() { - rm "${S}/tests/test_local.py" - cd "${T}" || die - epytest "${S}"/tests -}