mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 00:53:02 -04:00
dev-python/moderngl: new package, add 5.7.4
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
1
dev-python/moderngl/Manifest
Normal file
1
dev-python/moderngl/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST v5.7.4.gh.tar.gz 2687476 BLAKE2B a71180f2e450eec248bc6388a30738902c0f035014e56b2af21ed0b8c797c579d9ccd0d971ca639dc6347cc986cd1f7e1e86a5a7f9ecdc639808963c17d1ea6c SHA512 a626a0c60809f468563462822570855943ecdb0bcde41e18483259defcd45d89b084719b5eabe6009b0fb823b8921af8fd9858cfd937f4d1fd12de21f03f9359
|
||||
12
dev-python/moderngl/metadata.xml
Normal file
12
dev-python/moderngl/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gasc@eurecom.fr</email>
|
||||
<name>Gasc Henri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">moderngl</remote-id>
|
||||
<remote-id type="github">moderngl/moderngl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
47
dev-python/moderngl/moderngl-5.7.4.ebuild
Normal file
47
dev-python/moderngl/moderngl-5.7.4.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
# 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
|
||||
|
||||
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"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND=""
|
||||
BDEPEND="
|
||||
x11-libs/libX11
|
||||
media-libs/libglvnd[X]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${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}"
|
||||
|
||||
# Tests are deactivated because we cannot open display
|
||||
# distutils_enable_tests pytest
|
||||
# python_test() {
|
||||
# cd "${T}" || die
|
||||
# epytest "${S}"/tests
|
||||
# }
|
||||
|
||||
pkg_postinst() {
|
||||
use test && ewarn The tests for this package are deactivated because the test display can not be opened.
|
||||
use test && ewarn If you know how to solve this issue, please do so.
|
||||
}
|
||||
Reference in New Issue
Block a user