public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/
@ 2023-02-05 21:06 Henri Gasc
  0 siblings, 0 replies; 7+ messages in thread
From: Henri Gasc @ 2023-02-05 21:06 UTC (permalink / raw
  To: gentoo-commits

commit:     e5e1c98d9cfff1af9082c6acb9d44fd64de2a657
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Feb  5 18:50:13 2023 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
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.
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/
@ 2023-02-06 18:40 Henri Gasc
  0 siblings, 0 replies; 7+ messages in thread
From: Henri Gasc @ 2023-02-06 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     20fa7fcdad76c92f541b3d9e965450185f4dca87
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Feb  6 13:30:21 2023 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Mon Feb  6 18:40:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20fa7fcd

dev-python/moderngl: Enable tests

Closes: https://bugs.gentoo.org/893394
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/moderngl/moderngl-5.7.4.ebuild | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/dev-python/moderngl/moderngl-5.7.4.ebuild b/dev-python/moderngl/moderngl-5.7.4.ebuild
index 86e280104..64bd4a98e 100644
--- a/dev-python/moderngl/moderngl-5.7.4.ebuild
+++ b/dev-python/moderngl/moderngl-5.7.4.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
 
-inherit distutils-r1
+inherit distutils-r1 virtualx
 
 DESCRIPTION="Modern OpenGL binding for python"
 HOMEPAGE="https://github.com/moderngl/moderngl https://pypi.org/project/moderngl"
@@ -34,14 +34,13 @@ BDEPEND="
 "
 DEPEND="${BDEPEND}"
 
-# Tests are deactivated because we cannot open display
-# distutils_enable_tests pytest
-# python_test() {
-#     cd "${T}" || die
-#     epytest "${S}"/tests
-# }
+distutils_enable_tests pytest
 
-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.
+src_test() {
+	virtx distutils-r1_src_test
+}
+python_test() {
+	rm "${S}/tests/test_local.py"
+	cd "${T}" || die
+	epytest "${S}"/tests
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/
@ 2023-04-25 17:30 Henri Gasc
  0 siblings, 0 replies; 7+ messages in thread
From: Henri Gasc @ 2023-04-25 17:30 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/
@ 2023-09-03 23:00 Henri Gasc
  0 siblings, 0 replies; 7+ messages in thread
From: Henri Gasc @ 2023-09-03 23:00 UTC (permalink / raw
  To: gentoo-commits

commit:     4805553bf2582b804736ce0c1063a702356e7d17
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Sep  2 22:28:46 2023 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sun Sep  3 23:00:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4805553b

dev-python/moderngl: add doc USE flag

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/moderngl/moderngl-5.8.2.ebuild | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/dev-python/moderngl/moderngl-5.8.2.ebuild b/dev-python/moderngl/moderngl-5.8.2.ebuild
index e3584a1e0c..73fd01c5ad 100644
--- a/dev-python/moderngl/moderngl-5.8.2.ebuild
+++ b/dev-python/moderngl/moderngl-5.8.2.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..11} )
 
@@ -19,22 +20,32 @@ IUSE="debug"
 RESTRICT="test"
 # The tests need moderngl compiled AND installed, otherwise they fail
 
-DISTUTILS_EXT=1
 BDEPEND="
 	x11-libs/libX11
 	media-libs/mesa
-	dev-python/glcontext[${PYTHON_USEDEP}]
+	>=dev-python/glcontext-2.3.6[${PYTHON_USEDEP}]
+	<dev-python/glcontext-3[${PYTHON_USEDEP}]
 	test? (
 		dev-python/numpy[${PYTHON_USEDEP}]
 		dev-python/pytest[${PYTHON_USEDEP}]
 		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"
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/
@ 2024-03-12 17:25 Henri Gasc
  0 siblings, 0 replies; 7+ messages in thread
From: Henri Gasc @ 2024-03-12 17:25 UTC (permalink / raw
  To: gentoo-commits

commit:     7f27033c869b607e91c37f4081710043ce5bf96c
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Mar 12 15:25:57 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Tue Mar 12 17:25:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7f27033c

dev-python/moderngl: add 5.10.0, drop 5.8.2

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/moderngl/Manifest                       |  2 +-
 ...oderngl-5.8.2.ebuild => moderngl-5.10.0.ebuild} | 27 ++++++++++------------
 2 files changed, 13 insertions(+), 16 deletions(-)

diff --git a/dev-python/moderngl/Manifest b/dev-python/moderngl/Manifest
index a85f4f822c..c1b87a6bca 100644
--- a/dev-python/moderngl/Manifest
+++ b/dev-python/moderngl/Manifest
@@ -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

diff --git a/dev-python/moderngl/moderngl-5.8.2.ebuild b/dev-python/moderngl/moderngl-5.10.0.ebuild
similarity index 67%
rename from dev-python/moderngl/moderngl-5.8.2.ebuild
rename to dev-python/moderngl/moderngl-5.10.0.ebuild
index 73fd01c5ad..520b562e14 100644
--- a/dev-python/moderngl/moderngl-5.8.2.ebuild
+++ b/dev-python/moderngl/moderngl-5.10.0.ebuild
@@ -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"
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/
@ 2024-10-10 16:04 Henri Gasc
  0 siblings, 0 replies; 7+ messages in thread
From: Henri Gasc @ 2024-10-10 16:04 UTC (permalink / raw
  To: gentoo-commits

commit:     557f77bf2e9d0e4811e630fbcdf87a112f18e4c6
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Thu Oct 10 13:37:11 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Thu Oct 10 16:04:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=557f77bf

dev-python/moderngl: add 5.11.1, drop 5.10.0

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/moderngl/Manifest                                         | 2 +-
 .../moderngl/{moderngl-5.10.0.ebuild => moderngl-5.11.1.ebuild}      | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dev-python/moderngl/Manifest b/dev-python/moderngl/Manifest
index c1b87a6bc..47311205b 100644
--- a/dev-python/moderngl/Manifest
+++ b/dev-python/moderngl/Manifest
@@ -1 +1 @@
-DIST moderngl-5.10.0.gh.tar.gz 2310879 BLAKE2B 4077ad238012a0f9b43bf7b3b691d9ee4019d6b97fd38e64ef87e1c5ce04e71b4cf64cf3f55faeb3275b2c7052e1c6d95839ba5bfd602fa2daffc3a0f31077ed SHA512 1fa59410462bcdea881e295874ea1c5dc6b1ccc6c0914e1955c7465a363e597c487de17ade649f5f25372275d05e0e2314d81020441c4890c51912742b61ae37
+DIST moderngl-5.11.1.gh.tar.gz 1679561 BLAKE2B b6a39cf4e5f2006a44ae517a22ef093900139d891ccd7b6bef4e759fcaf89b07bff2c003f5a4bd7d7ea45914a502e26d9d75294c3848df087fe5bc89756d9fee SHA512 e8afa6599d2031954d5d26a1c51abef1d2612d25fe36633d40c7350e2466801176841676940397318dd1efc5edbaafd786dc3ddc3bfcb38516bcf166702a6c2a

diff --git a/dev-python/moderngl/moderngl-5.10.0.ebuild b/dev-python/moderngl/moderngl-5.11.1.ebuild
similarity index 88%
rename from dev-python/moderngl/moderngl-5.10.0.ebuild
rename to dev-python/moderngl/moderngl-5.11.1.ebuild
index 520b562e1..e50919ab9 100644
--- a/dev-python/moderngl/moderngl-5.10.0.ebuild
+++ b/dev-python/moderngl/moderngl-5.11.1.ebuild
@@ -12,7 +12,7 @@ DOCS_DEPEND="
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1 virtualx docs
 
@@ -30,8 +30,7 @@ RESTRICT="test"
 BDEPEND="
 	x11-libs/libX11
 	virtual/opengl
-	>=dev-python/glcontext-2.5.0[${PYTHON_USEDEP}]
-	<dev-python/glcontext-3[${PYTHON_USEDEP}]
+	>=dev-python/glcontext-3.0.0[${PYTHON_USEDEP}]
 	test? (
 		dev-python/numpy[${PYTHON_USEDEP}]
 		dev-python/pytest[${PYTHON_USEDEP}]


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/
@ 2024-11-02 12:22 Henri Gasc
  0 siblings, 0 replies; 7+ messages in thread
From: Henri Gasc @ 2024-11-02 12:22 UTC (permalink / raw
  To: gentoo-commits

commit:     bcc9bff72ab17c3f21b643f82fe5246fa6f590ad
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Nov  2 11:55:09 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sat Nov  2 12:21:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bcc9bff7

dev-python/moderngl: add 5.12.0, drop 5.11.1

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/moderngl/Manifest                             |  2 +-
 .../{moderngl-5.11.1.ebuild => moderngl-5.12.0.ebuild}   | 16 ++++++++++------
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/dev-python/moderngl/Manifest b/dev-python/moderngl/Manifest
index 47311205b..b522c5045 100644
--- a/dev-python/moderngl/Manifest
+++ b/dev-python/moderngl/Manifest
@@ -1 +1 @@
-DIST moderngl-5.11.1.gh.tar.gz 1679561 BLAKE2B b6a39cf4e5f2006a44ae517a22ef093900139d891ccd7b6bef4e759fcaf89b07bff2c003f5a4bd7d7ea45914a502e26d9d75294c3848df087fe5bc89756d9fee SHA512 e8afa6599d2031954d5d26a1c51abef1d2612d25fe36633d40c7350e2466801176841676940397318dd1efc5edbaafd786dc3ddc3bfcb38516bcf166702a6c2a
+DIST moderngl-5.12.0.gh.tar.gz 1914450 BLAKE2B 79a5e6eec0d90e64f0c74ed35fc73957fc0a3488c2e831f55ebba41582330f84d104cfb29e051cc0333248d1e66649934432494b505d03765d2f86806e45e259 SHA512 9a958a0b93807b7255b4ab5f3f496f2241a4747bbb2112067d9c18f5e855d7d43f405f361c158ceb0512e0a251932c420f836261bb46b6ef5ce5d8aa5220fad5

diff --git a/dev-python/moderngl/moderngl-5.11.1.ebuild b/dev-python/moderngl/moderngl-5.12.0.ebuild
similarity index 73%
rename from dev-python/moderngl/moderngl-5.11.1.ebuild
rename to dev-python/moderngl/moderngl-5.12.0.ebuild
index e50919ab9..3661ae64f 100644
--- a/dev-python/moderngl/moderngl-5.11.1.ebuild
+++ b/dev-python/moderngl/moderngl-5.12.0.ebuild
@@ -24,24 +24,28 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug"
+# All tests fails because they cannot access the video card
+# see https://forums.gentoo.org/viewtopic.php?p=8843999
 RESTRICT="test"
-# The tests need moderngl compiled AND installed, otherwise they fail
 
 BDEPEND="
-	x11-libs/libX11
-	virtual/opengl
+	media-libs/libglvnd[X]
 	>=dev-python/glcontext-3.0.0[${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/pyopengl[${PYTHON_USEDEP}]
 	)
 "
 DEPEND="${BDEPEND}"
 
-# distutils_enable_tests pytest
-
+EPYTEST_DESELECT=(
+	# Make sure we are not using the system-wide install
+	"tests/test_local.py"
+)
+distutils_enable_tests pytest
 src_test() {
+	rm -rf "${S}/${PN}"
 	virtx distutils-r1_src_test
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-02 12:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-25 17:30 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl/ Henri Gasc
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02 12:22 Henri Gasc
2024-10-10 16:04 Henri Gasc
2024-03-12 17:25 Henri Gasc
2023-09-03 23:00 Henri Gasc
2023-02-06 18:40 Henri Gasc
2023-02-05 21:06 Henri Gasc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox