mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
dev-python/moderngl-window: remove 2.4.3, add 2.4.4, add py3.11
Closes: https://bugs.gentoo.org/897486 Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST moderngl-window-2.4.3.gh.tar.gz 30987984 BLAKE2B bc8dae6e3f5de49d516581dc204e60497ec2c38c9efcc8b138bb76a1de1e3436029e9d895b6810b849752e1f9ae2ae3ff830f495e64248a2f89d2a75950b2b6e SHA512 0dfde81644913d9797aeb17c74816b0c8f462c0aeb9d31ca3b9d8d691e90931a70b0deab14748f0ee36aa9a2e9fcc771e570b02582bbbfa3fbf75b99f9f205ba
|
||||
DIST moderngl-window-2.4.4.gh.tar.gz 30989161 BLAKE2B 9c4c8bea6a69cf0df4e5967f28be8766c89206a2a9315f86f8b1c4fb2dd30dfddaac82a40cf28bcf6e2337811135daf389367fe8eefbfb7b93c61f1de1db6406 SHA512 8c8f027c2be4d9acfed3ac0f299e0d27bd0a0f2b7ad7f87d5309c276fa3a8ff4afd417e94f808a22a8ff683ae2465aba6a8d09dc07d621dff2b9f8606ceb3ccd
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="A cross platform utility library for ModernGL"
|
||||
HOMEPAGE="https://github.com/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
|
||||
SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/moderngl[${PYTHON_USEDEP}]
|
||||
dev-python/glcontext[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/trimesh[${PYTHON_USEDEP}]
|
||||
dev-python/PyWavefront[${PYTHON_USEDEP}]
|
||||
dev-python/pyrr[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="${BDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
80
dev-python/moderngl-window/moderngl-window-2.4.4.ebuild
Normal file
80
dev-python/moderngl-window/moderngl-window-2.4.4.ebuild
Normal file
@@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="A cross platform utility library for ModernGL"
|
||||
HOMEPAGE="https://github.com/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
|
||||
SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc examples"
|
||||
|
||||
NEEDED_FOR_TESTS_AND_RUN="
|
||||
>dev-python/numpy-1.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/PyWavefront-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/PyWavefront-2[${PYTHON_USEDEP}]
|
||||
>=dev-python/scipy-1.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/trimesh-3.2.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/glfw[${PYTHON_USEDEP}]
|
||||
dev-python/imgui[glfw,sdl,opengl,${PYTHON_USEDEP}]
|
||||
<dev-python/moderngl-6[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygame-2.0.1[${PYTHON_USEDEP}]
|
||||
dev-python/pyglet[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopengl-3.1.0[${PYTHON_USEDEP},tk]
|
||||
<dev-python/PyQt5-6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrr-0.10[${PYTHON_USEDEP}]
|
||||
<dev-python/PySDL2-1[${PYTHON_USEDEP}]
|
||||
<dev-python/pyside2-6[${PYTHON_USEDEP}]
|
||||
${NEEDED_FOR_TESTS_AND_RUN}
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/coverage[${PYTHON_USEDEP}]
|
||||
dev-python/glcontext[${PYTHON_USEDEP}]
|
||||
${NEEDED_FOR_TESTS_AND_RUN}
|
||||
)
|
||||
doc? (
|
||||
<dev-python/moderngl-6[${PYTHON_USEDEP}]
|
||||
>dev-python/numpy-1.16[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrr-0.10[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
find "${S}/docs" -type f -exec sed -i 's/sphinxcontrib.napoleon/sphinx\.ext\.napoleon/g' {} \;
|
||||
emake man -C docs
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
use doc && doman "${S}/docs/_build/man/${PN}.1"
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user