[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glcontext/

2023-12-03 Thread Henri Gasc
commit: 05ee01d45e04ac442356541e0c28429f02966a26
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sun Dec  3 20:48:09 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Sun Dec  3 22:00:58 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05ee01d4

dev-python/glcontext: add 2.5.0, drop 2.4.0

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/glcontext/Manifest   | 2 +-
 dev-python/glcontext/{glcontext-2.4.0.ebuild => glcontext-2.5.0.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/glcontext/Manifest b/dev-python/glcontext/Manifest
index fc12682074..af85598788 100644
--- a/dev-python/glcontext/Manifest
+++ b/dev-python/glcontext/Manifest
@@ -1 +1 @@
-DIST glcontext-2.4.0.gh.tar.gz 23609 BLAKE2B 
2eb0178e8e6752dbe21bad181c08731435d3444230540c456e2da92f76de2ba19c63e8dcec887d9e75851c8cfed65c06acaf3a95bd41ea816ee4b25e3b8f992e
 SHA512 
d69adbee5f31d7b870b566f59d2b796a7436ab57ad29c4fe1210ec1e40b782e4705c81ba17a921217f28c5fcb4f9c759c2ebf146bda1af4fd54007c868425427
+DIST glcontext-2.5.0.gh.tar.gz 18814 BLAKE2B 
100aa4d2d118852eeff7b5f7de127d2608f9a84152c3c9cfeae5bffc64dffbfa4c3fd5c20d28b11c4d56d31b006fba8e191901ba064329ea9db8aa3f55e83977
 SHA512 
b85306c8a1a95bddc9d87a66e3102e45e1a2ae55dfa5b32a263ad4216421712bb31bf8653a1850a281c51b437a274d7c499feac9650035fecd36f5467c6c83a0

diff --git a/dev-python/glcontext/glcontext-2.4.0.ebuild 
b/dev-python/glcontext/glcontext-2.5.0.ebuild
similarity index 95%
rename from dev-python/glcontext/glcontext-2.4.0.ebuild
rename to dev-python/glcontext/glcontext-2.5.0.ebuild
index 0a1400af3e..ab2460878e 100644
--- a/dev-python/glcontext/glcontext-2.4.0.ebuild
+++ b/dev-python/glcontext/glcontext-2.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glcontext/

2023-09-04 Thread Henri Gasc
commit: d8cd01ad6081c1becbb4e2e034fe4c278c44dbeb
Author: Henri Gasc  eurecom  fr>
AuthorDate: Mon Sep  4 15:45:57 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Mon Sep  4 15:46:11 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8cd01ad

dev-python/glcontext: update Manifest

Closes: https://bugs.gentoo.org/913614
Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/glcontext/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/glcontext/Manifest b/dev-python/glcontext/Manifest
index 2f1b31ac52..fc12682074 100644
--- a/dev-python/glcontext/Manifest
+++ b/dev-python/glcontext/Manifest
@@ -1 +1 @@
-DIST glcontext-2.4.0.gh.tar.gz 23721 BLAKE2B 
ece576eecd5051bcc5b9a0b3e5ac90a1f10e13c9db787fc01e6b12017073ae9b4e5a46946bd9b7d417e5d999dfc46c3653b76b1518a542b7fc800088193f3ff0
 SHA512 
63450ba46d12740babe20421a5e874579c1a1c1dd81812acc71fc58d3d3dd7d15ec3cf683e5653c97e7d2f7a1035f5ebe358625c7a45b5c6bed09ffd394bcbfc
+DIST glcontext-2.4.0.gh.tar.gz 23609 BLAKE2B 
2eb0178e8e6752dbe21bad181c08731435d3444230540c456e2da92f76de2ba19c63e8dcec887d9e75851c8cfed65c06acaf3a95bd41ea816ee4b25e3b8f992e
 SHA512 
d69adbee5f31d7b870b566f59d2b796a7436ab57ad29c4fe1210ec1e40b782e4705c81ba17a921217f28c5fcb4f9c759c2ebf146bda1af4fd54007c868425427



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glcontext/

2023-09-03 Thread Henri Gasc
commit: 3deccf5d0001b082c2faa0a7cd629fe3cd432e58
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sat Sep  2 22:09:16 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Sun Sep  3 23:00:21 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3deccf5d

dev-python/glcontext: enable py3.12

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/glcontext/glcontext-2.4.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/glcontext/glcontext-2.4.0.ebuild 
b/dev-python/glcontext/glcontext-2.4.0.ebuild
index 7346bddc09..0a1400af3e 100644
--- a/dev-python/glcontext/glcontext-2.4.0.ebuild
+++ b/dev-python/glcontext/glcontext-2.4.0.ebuild
@@ -3,8 +3,9 @@
 
 EAPI=8
 
+DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1 virtualx
 
@@ -17,7 +18,6 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug"
 
-DISTUTILS_EXT=1
 BDEPEND="
x11-libs/libX11
media-libs/libglvnd[X]



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glcontext/

2023-04-25 Thread Henri Gasc
commit: 4070c0e4b85b437a939642b2f82a2ab6cadcfcb5
Author: Henri Gasc  eurecom  fr>
AuthorDate: Tue Apr 25 17:22:16 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Tue Apr 25 17:22:16 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4070c0e4

dev-python/glcontext: add 2.4.0, drop 2.3.7

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/glcontext/Manifest| 2 +-
 .../glcontext/{glcontext-2.3.7.ebuild => glcontext-2.4.0.ebuild} | 9 +++--
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/dev-python/glcontext/Manifest b/dev-python/glcontext/Manifest
index 3887b403b..2f1b31ac5 100644
--- a/dev-python/glcontext/Manifest
+++ b/dev-python/glcontext/Manifest
@@ -1 +1 @@
-DIST v2.3.7.gh.tar.gz 22254 BLAKE2B 
f6714e6427dec938f576eea997f258468a6c8ae1c67ed1d560b660c410676055b0632b22fad6756e7d36d10dcec2a6e66fc8bf506e5b9ea037912e87a94e
 SHA512 
f2d597dc338c9dab911494d2249fdbb400af0e79e101c0cacb53418af4ac4f4cc261cc22dd6685102401ece6dada193769840eb5836cb03119313a8770cc09e9
+DIST glcontext-2.4.0.gh.tar.gz 23721 BLAKE2B 
ece576eecd5051bcc5b9a0b3e5ac90a1f10e13c9db787fc01e6b12017073ae9b4e5a46946bd9b7d417e5d999dfc46c3653b76b1518a542b7fc800088193f3ff0
 SHA512 
63450ba46d12740babe20421a5e874579c1a1c1dd81812acc71fc58d3d3dd7d15ec3cf683e5653c97e7d2f7a1035f5ebe358625c7a45b5c6bed09ffd394bcbfc

diff --git a/dev-python/glcontext/glcontext-2.3.7.ebuild 
b/dev-python/glcontext/glcontext-2.4.0.ebuild
similarity index 82%
rename from dev-python/glcontext/glcontext-2.3.7.ebuild
rename to dev-python/glcontext/glcontext-2.4.0.ebuild
index cc9401ad1..7346bddc0 100644
--- a/dev-python/glcontext/glcontext-2.3.7.ebuild
+++ b/dev-python/glcontext/glcontext-2.4.0.ebuild
@@ -10,20 +10,17 @@ inherit distutils-r1 virtualx
 
 DESCRIPTION="Modern OpenGL binding for python"
 HOMEPAGE="https://github.com/moderngl/glcontext 
https://pypi.org/project/glcontext";
-SRC_URI="https://github.com/moderngl/glcontext/archive/refs/tags/${PV}.tar.gz 
-> v${PV}.gh.tar.gz"
+SRC_URI="https://github.com/moderngl/glcontext/archive/refs/tags/${PV}.tar.gz 
-> ${P}.gh.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
+IUSE="debug"
 
-RDEPEND=""
+DISTUTILS_EXT=1
 BDEPEND="
x11-libs/libX11
media-libs/libglvnd[X]
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glcontext/

2023-02-06 Thread Henri Gasc
commit: ad9d25aaf86c7316f784c52b449d84eb968cc9ee
Author: Henri Gasc  eurecom  fr>
AuthorDate: Mon Feb  6 12:26:41 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Mon Feb  6 18:40:26 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad9d25aa

dev-python/glcontext: Allow test

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/glcontext/glcontext-2.3.7.ebuild | 22 --
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/dev-python/glcontext/glcontext-2.3.7.ebuild 
b/dev-python/glcontext/glcontext-2.3.7.ebuild
index 6c7170a43..cc9401ad1 100644
--- a/dev-python/glcontext/glcontext-2.3.7.ebuild
+++ b/dev-python/glcontext/glcontext-2.3.7.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/glcontext 
https://pypi.org/project/glcontext";
@@ -31,18 +31,12 @@ BDEPEND="
 "
 DEPEND="${BDEPEND}"
 
-# Tests are deactivated because we cannot open display
-# distutils_enable_tests pytest
-# src_test() {
-# virtx distutils-r1_src_test
-# }
-
-# python_test() {
-# cd "${T}" || die
-# epytest "${S}"/tests || die "Tests failed with ${EPYTHON}"
-# }
+distutils_enable_tests pytest
+src_test() {
+   virtx distutils-r1_src_test
+}
 
-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.
+python_test() {
+   cd "${T}" || die
+   epytest "${S}"/tests || die "Tests failed with ${EPYTHON}"
 }



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/glcontext/

2023-02-05 Thread Henri Gasc
commit: 992445e8205d50e42df7a4da5d77c7f884265462
Author: Henri Gasc  eurecom  fr>
AuthorDate: Sun Feb  5 18:51:17 2023 +
Commit: Henri Gasc  eurecom  fr>
CommitDate: Sun Feb  5 21:06:19 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=992445e8

dev-python/glcontext: new package, add 2.3.7

Signed-off-by: Henri Gasc  eurecom.fr>

 dev-python/glcontext/Manifest   |  1 +
 dev-python/glcontext/glcontext-2.3.7.ebuild | 48 +
 dev-python/glcontext/metadata.xml   | 12 
 3 files changed, 61 insertions(+)

diff --git a/dev-python/glcontext/Manifest b/dev-python/glcontext/Manifest
new file mode 100644
index 0..3887b403b
--- /dev/null
+++ b/dev-python/glcontext/Manifest
@@ -0,0 +1 @@
+DIST v2.3.7.gh.tar.gz 22254 BLAKE2B 
f6714e6427dec938f576eea997f258468a6c8ae1c67ed1d560b660c410676055b0632b22fad6756e7d36d10dcec2a6e66fc8bf506e5b9ea037912e87a94e
 SHA512 
f2d597dc338c9dab911494d2249fdbb400af0e79e101c0cacb53418af4ac4f4cc261cc22dd6685102401ece6dada193769840eb5836cb03119313a8770cc09e9

diff --git a/dev-python/glcontext/glcontext-2.3.7.ebuild 
b/dev-python/glcontext/glcontext-2.3.7.ebuild
new file mode 100644
index 0..6c7170a43
--- /dev/null
+++ b/dev-python/glcontext/glcontext-2.3.7.ebuild
@@ -0,0 +1,48 @@
+# 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/glcontext 
https://pypi.org/project/glcontext";
+SRC_URI="https://github.com/moderngl/glcontext/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/pytest[${PYTHON_USEDEP}]
+   dev-python/psutil[${PYTHON_USEDEP}]
+)
+"
+DEPEND="${BDEPEND}"
+
+# Tests are deactivated because we cannot open display
+# distutils_enable_tests pytest
+# src_test() {
+# virtx distutils-r1_src_test
+# }
+
+# python_test() {
+# cd "${T}" || die
+# epytest "${S}"/tests || die "Tests failed with ${EPYTHON}"
+# }
+
+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.
+}

diff --git a/dev-python/glcontext/metadata.xml 
b/dev-python/glcontext/metadata.xml
new file mode 100644
index 0..7a7158a28
--- /dev/null
+++ b/dev-python/glcontext/metadata.xml
@@ -0,0 +1,12 @@
+
+https://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   g...@eurecom.fr
+   Gasc Henri
+   
+   
+   glcontext
+   moderngl/glcontext
+   
+