From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/moderngl/
Date: Mon, 6 Feb 2023 08:21:39 +0000 (UTC) [thread overview]
Message-ID: <1675631179.e5e1c98d9cfff1af9082c6acb9d44fd64de2a657.ceamac@gentoo> (raw)
commit: e5e1c98d9cfff1af9082c6acb9d44fd64de2a657
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Feb 5 18:50:13 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Feb 5 21:06:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5e1c98d
dev-python/moderngl: new package, add 5.7.4
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
dev-python/moderngl/Manifest | 1 +
dev-python/moderngl/metadata.xml | 12 ++++++++
dev-python/moderngl/moderngl-5.7.4.ebuild | 47 +++++++++++++++++++++++++++++++
3 files changed, 60 insertions(+)
diff --git a/dev-python/moderngl/Manifest b/dev-python/moderngl/Manifest
new file mode 100644
index 000000000..b63830e75
--- /dev/null
+++ b/dev-python/moderngl/Manifest
@@ -0,0 +1 @@
+DIST v5.7.4.gh.tar.gz 2687476 BLAKE2B a71180f2e450eec248bc6388a30738902c0f035014e56b2af21ed0b8c797c579d9ccd0d971ca639dc6347cc986cd1f7e1e86a5a7f9ecdc639808963c17d1ea6c SHA512 a626a0c60809f468563462822570855943ecdb0bcde41e18483259defcd45d89b084719b5eabe6009b0fb823b8921af8fd9858cfd937f4d1fd12de21f03f9359
diff --git a/dev-python/moderngl/metadata.xml b/dev-python/moderngl/metadata.xml
new file mode 100644
index 000000000..cbb5ca898
--- /dev/null
+++ b/dev-python/moderngl/metadata.xml
@@ -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>
diff --git a/dev-python/moderngl/moderngl-5.7.4.ebuild b/dev-python/moderngl/moderngl-5.7.4.ebuild
new file mode 100644
index 000000000..86e280104
--- /dev/null
+++ b/dev-python/moderngl/moderngl-5.7.4.ebuild
@@ -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.
+}
next reply other threads:[~2023-02-06 8:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-06 8:21 Viorel Munteanu [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-06 21:34 [gentoo-commits] repo/proj/guru:master commit in: dev-python/moderngl/ Haelwenn Monnier
2023-04-26 9:44 Florian Schmaus
2023-09-04 11:04 Andrew Ammerlaan
2024-10-11 9:55 David Roman
2024-11-02 20:52 David Roman
2024-12-05 12:00 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1675631179.e5e1c98d9cfff1af9082c6acb9d44fd64de2a657.ceamac@gentoo \
--to=ceamac@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox