mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
dev-python/moderngl: add 5.10.0, drop 5.8.2
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user