From: "Henri Gasc" <gasc@eurecom.fr>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl-window/
Date: Tue, 12 Mar 2024 17:25:25 +0000 (UTC)	[thread overview]
Message-ID: <1710264311.02ee6bb432ceab3ba7277f73efe8370034f5c878.gasc@gentoo> (raw)
commit:     02ee6bb432ceab3ba7277f73efe8370034f5c878
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Mar 12 17:24:35 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=02ee6bb4
dev-python/moderngl-window: add 2.4.5, drop 2.4.4
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
 dev-python/moderngl-window/Manifest                |  2 +-
 .../moderngl-window/moderngl-window-2.4.4.ebuild   | 80 ----------------------
 .../moderngl-window/moderngl-window-2.4.5.ebuild   | 56 +++++++++++++++
 3 files changed, 57 insertions(+), 81 deletions(-)
diff --git a/dev-python/moderngl-window/Manifest b/dev-python/moderngl-window/Manifest
index ab5201f614..c53988d8e5 100644
--- a/dev-python/moderngl-window/Manifest
+++ b/dev-python/moderngl-window/Manifest
@@ -1 +1 @@
-DIST moderngl-window-2.4.4.gh.tar.gz 30989161 BLAKE2B 9c4c8bea6a69cf0df4e5967f28be8766c89206a2a9315f86f8b1c4fb2dd30dfddaac82a40cf28bcf6e2337811135daf389367fe8eefbfb7b93c61f1de1db6406 SHA512 8c8f027c2be4d9acfed3ac0f299e0d27bd0a0f2b7ad7f87d5309c276fa3a8ff4afd417e94f808a22a8ff683ae2465aba6a8d09dc07d621dff2b9f8606ceb3ccd
+DIST moderngl-window-2.4.5.gh.tar.gz 30982181 BLAKE2B 784cdbd1c5a8cb1bee3387e80c0e3663135997a40498325d5b7f9c58092cc1c4813d26b1aad756e6364f97f7742da39a16e8b7bb4cb368de019aa00ad6c3b438 SHA512 4305951d9753696ad2caa259af52c45eda8e02fee061d45cd364899942d2d00cf9ba23b8193a5a52e249f88da21df260efcd49e5f756f3743fdfbcf70144d405
diff --git a/dev-python/moderngl-window/moderngl-window-2.4.4.ebuild b/dev-python/moderngl-window/moderngl-window-2.4.4.ebuild
deleted file mode 100644
index dbac06c132..0000000000
--- a/dev-python/moderngl-window/moderngl-window-2.4.4.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-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 virtualx
-
-DESCRIPTION="A cross platform utility library for ModernGL"
-HOMEPAGE="https://github.com/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
-SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="doc examples"
-
-NEEDED_FOR_TESTS_AND_RUN="
-	>dev-python/numpy-1.16[${PYTHON_USEDEP}]
-	>=dev-python/PyWavefront-1.2.0[${PYTHON_USEDEP}]
-	<dev-python/PyWavefront-2[${PYTHON_USEDEP}]
-	>=dev-python/scipy-1.3.2[${PYTHON_USEDEP}]
-	>=dev-python/trimesh-3.2.6[${PYTHON_USEDEP}]
-"
-
-RDEPEND="
-	dev-python/glfw[${PYTHON_USEDEP}]
-	dev-python/imgui[glfw,sdl,opengl,${PYTHON_USEDEP}]
-	<dev-python/moderngl-6[${PYTHON_USEDEP}]
-	dev-python/pillow[${PYTHON_USEDEP}]
-	>=dev-python/pygame-2.0.1[${PYTHON_USEDEP}]
-	dev-python/pyglet[${PYTHON_USEDEP}]
-	>=dev-python/pyopengl-3.1.0[${PYTHON_USEDEP},tk]
-	<dev-python/PyQt5-6[${PYTHON_USEDEP}]
-	>=dev-python/pyrr-0.10[${PYTHON_USEDEP}]
-	<dev-python/PySDL2-1[${PYTHON_USEDEP}]
-	<dev-python/pyside2-6[${PYTHON_USEDEP}]
-	${NEEDED_FOR_TESTS_AND_RUN}
-"
-
-BDEPEND="
-	test? (
-		dev-python/coverage[${PYTHON_USEDEP}]
-		dev-python/glcontext[${PYTHON_USEDEP}]
-		${NEEDED_FOR_TESTS_AND_RUN}
-	)
-	doc? (
-		<dev-python/moderngl-6[${PYTHON_USEDEP}]
-		>dev-python/numpy-1.16[${PYTHON_USEDEP}]
-		dev-python/pillow[${PYTHON_USEDEP}]
-		>=dev-python/pyrr-0.10[${PYTHON_USEDEP}]
-		dev-python/sphinx[${PYTHON_USEDEP}]
-		dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
-	)
-"
-
-DEPEND="${RDEPEND}"
-
-python_compile_all() {
-	if use doc; then
-		find "${S}/docs" -type f -exec sed -i 's/sphinxcontrib.napoleon/sphinx\.ext\.napoleon/g' {} \;
-		emake man -C docs
-	fi
-}
-
-python_install_all() {
-	distutils-r1_python_install_all
-	use doc && doman "${S}/docs/_build/man/${PN}.1"
-	if use examples; then
-        dodoc -r examples
-        docompress -x /usr/share/doc/${PF}/examples
-    fi
-}
-
-distutils_enable_tests pytest
-src_test() {
-	virtx distutils-r1_src_test
-}
diff --git a/dev-python/moderngl-window/moderngl-window-2.4.5.ebuild b/dev-python/moderngl-window/moderngl-window-2.4.5.ebuild
new file mode 100644
index 0000000000..0589fa448a
--- /dev/null
+++ b/dev-python/moderngl-window/moderngl-window-2.4.5.ebuild
@@ -0,0 +1,56 @@
+# 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/moderngl
+	dev-python/sphinx-rtd-theme
+"
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 virtualx docs
+
+DESCRIPTION="A cross platform utility library for ModernGL"
+HOMEPAGE="https://github.com/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
+SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+RDEPEND="
+	<dev-python/moderngl-6[${PYTHON_USEDEP}]
+	dev-python/pillow[${PYTHON_USEDEP}]
+	dev-python/pyglet[${PYTHON_USEDEP}]
+	>=dev-python/pyrr-0.10[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/glcontext[${PYTHON_USEDEP}]
+		>=dev-python/PyWavefront-1.2.0[${PYTHON_USEDEP}]
+		<dev-python/PyWavefront-2[${PYTHON_USEDEP}]
+		>=dev-python/trimesh-3.2.6[${PYTHON_USEDEP}]
+
+	)
+"
+DEPEND="${RDEPEND}"
+
+python_install_all() {
+	default
+	if use examples; then
+		dodoc -r examples
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+}
+
+distutils_enable_tests pytest
+src_test() {
+	virtx distutils-r1_src_test
+}
next             reply	other threads:[~2024-03-12 17:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-12 17:25 Henri Gasc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-22  0:48 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/moderngl-window/ Henri Gasc
2024-12-07 22:29 Henri Gasc
2024-12-04 16:23 Henri Gasc
2024-04-11 18:50 Henri Gasc
2023-09-05 21:03 Henri Gasc
2023-04-25 17:30 Henri Gasc
2023-02-06 18:40 Henri Gasc
2023-02-05 21:06 Henri Gasc
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=1710264311.02ee6bb432ceab3ba7277f73efe8370034f5c878.gasc@gentoo \
    --to=gasc@eurecom.fr \
    --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