public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/moderngl/
Date: Wed, 26 Apr 2023 09:44:03 +0000 (UTC)	[thread overview]
Message-ID: <1682443366.a1a0dce09581e8f59077f5290219735e96c76ba2.flow@gentoo> (raw)

commit:     a1a0dce09581e8f59077f5290219735e96c76ba2
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Apr 25 17:22:46 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
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
-}


             reply	other threads:[~2023-04-26  9:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-26  9:44 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-05 12:00 [gentoo-commits] repo/proj/guru:master commit in: dev-python/moderngl/ Florian Schmaus
2024-11-02 20:52 David Roman
2024-10-11  9:55 David Roman
2023-09-04 11:04 Andrew Ammerlaan
2023-02-06 21:34 Haelwenn Monnier
2023-02-06  8:21 Viorel Munteanu

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=1682443366.a1a0dce09581e8f59077f5290219735e96c76ba2.flow@gentoo \
    --to=flow@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