public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: media-video/manimgl/
@ 2023-09-09 12:26 David Roman
  0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2023-09-09 12:26 UTC (permalink / raw
  To: gentoo-commits

commit:     897e413946696b8980db21c0280f95cce0570017
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Wed Sep  6 08:31:16 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Sep  6 08:31:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=897e4139

media-video/manimgl: new package, add 1.6.1

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

 media-video/manimgl/Manifest             |  1 +
 media-video/manimgl/manimgl-1.6.1.ebuild | 83 ++++++++++++++++++++++++++++++++
 media-video/manimgl/metadata.xml         | 14 ++++++
 3 files changed, 98 insertions(+)

diff --git a/media-video/manimgl/Manifest b/media-video/manimgl/Manifest
new file mode 100644
index 0000000000..469a5da8d1
--- /dev/null
+++ b/media-video/manimgl/Manifest
@@ -0,0 +1 @@
+DIST manimgl-1.6.1.gh.tar.gz 1043281 BLAKE2B 70c0d4b893e1b15b536fd98e0584d2e5676802e2165407ed0cd62878120ce7f3ff43bf7eec8e16c12c95494322118215689f4138ff9dc190c86be206aa57124c SHA512 30f0675551474c690ee5dc1c9200db6aad114b0ffb14a6245f7d8edb00db9a375e291448df10a8b603527aaafba8930a445e825dd3ee3293dc125f3cfd46fee3

diff --git a/media-video/manimgl/manimgl-1.6.1.ebuild b/media-video/manimgl/manimgl-1.6.1.ebuild
new file mode 100644
index 0000000000..69c3bc7b5d
--- /dev/null
+++ b/media-video/manimgl/manimgl-1.6.1.ebuild
@@ -0,0 +1,83 @@
+# 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
+
+DESCRIPTION="Animation engine for explanatory math videos"
+HOMEPAGE="https://github.com/3b1b/manim https://pypi.org/project/manimgl/"
+SRC_URI="https://github.com/3b1b/manim/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+S="${WORKDIR}/manim-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+RDEPEND="
+	dev-python/colour[${PYTHON_USEDEP}]
+	dev-python/fonttools[${PYTHON_USEDEP}]
+	dev-python/ipython[${PYTHON_USEDEP}]
+	dev-python/isosurfaces[${PYTHON_USEDEP}]
+	=dev-python/ManimPango-0.4*[${PYTHON_USEDEP}]
+	dev-python/mapbox_earcut[${PYTHON_USEDEP}]
+	dev-python/matplotlib[${PYTHON_USEDEP}]
+	dev-python/moderngl[${PYTHON_USEDEP}]
+	dev-python/moderngl-window[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	dev-python/pillow[${PYTHON_USEDEP}]
+	dev-python/pydub[${PYTHON_USEDEP}]
+	dev-python/pygments[${PYTHON_USEDEP}]
+	dev-python/pyopengl[${PYTHON_USEDEP}]
+	dev-python/pyperclip[${PYTHON_USEDEP}]
+	dev-python/pyrr[${PYTHON_USEDEP}]
+	dev-python/pyyaml[${PYTHON_USEDEP}]
+	dev-python/rich[${PYTHON_USEDEP}]
+	dev-python/scipy[${PYTHON_USEDEP}]
+	dev-python/screeninfo[${PYTHON_USEDEP}]
+	dev-python/skia-pathops[${PYTHON_USEDEP}]
+	>=dev-python/svgelements-1.8.1[${PYTHON_USEDEP}]
+	dev-python/sympy[${PYTHON_USEDEP}]
+	dev-python/tqdm[${PYTHON_USEDEP}]
+	dev-python/validators[${PYTHON_USEDEP}]
+	app-text/texlive
+	media-libs/mesa
+	media-video/ffmpeg
+	x11-libs/pango
+	$(python_gen_cond_dep '
+		dev-python/typing-extensions[${PYTHON_USEDEP}]
+	' python3_{7..10})
+"
+# typing-extensions is needed for python < 3.11
+# so, only python3.10 should work too (because of PYTHON_COMPAT)
+
+BDEPEND="
+	doc? (
+		dev-python/furo[${PYTHON_USEDEP}]
+		dev-python/jinja2-cli[${PYTHON_USEDEP}]
+		dev-python/sphinx[${PYTHON_USEDEP}]
+		dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
+	)
+"
+
+DEPEND="${RDEPEND}"
+
+python_compile_all() {
+	use doc && emake -C "${S}/docs" man && mv "${S}/docs/build/man/manim.1" "${S}/docs/build/man/${PN}.1"
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+	if use doc; then
+		doman "${S}/docs/build/man/${PN}.1"
+		docinto examples
+		dodoc example_scenes.py
+		dodoc docs/example.py
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+}

diff --git a/media-video/manimgl/metadata.xml b/media-video/manimgl/metadata.xml
new file mode 100644
index 0000000000..31e06ba7b6
--- /dev/null
+++ b/media-video/manimgl/metadata.xml
@@ -0,0 +1,14 @@
+<?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">manimgl</remote-id>
+		<remote-id type="github">3b1b/manim</remote-id>
+		<doc>https://3b1b.github.io/manim/</doc>
+		<changelog>https://github.com/3b1b/manim/releases</changelog>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: media-video/manimgl/
@ 2024-03-11 17:31 David Roman
  0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2024-03-11 17:31 UTC (permalink / raw
  To: gentoo-commits

commit:     82c23f0653c213f945bfb6eae6316f24401e3c6e
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Mar 10 22:05:45 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Mar 11 08:42:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82c23f06

media-video/manimgl: add 9999, drop 1.6.1

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

 media-video/manimgl/Manifest                         |  1 -
 .../{manimgl-1.6.1.ebuild => manimgl-9999.ebuild}    | 20 +++++++++++---------
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/media-video/manimgl/Manifest b/media-video/manimgl/Manifest
deleted file mode 100644
index 469a5da8d1..0000000000
--- a/media-video/manimgl/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST manimgl-1.6.1.gh.tar.gz 1043281 BLAKE2B 70c0d4b893e1b15b536fd98e0584d2e5676802e2165407ed0cd62878120ce7f3ff43bf7eec8e16c12c95494322118215689f4138ff9dc190c86be206aa57124c SHA512 30f0675551474c690ee5dc1c9200db6aad114b0ffb14a6245f7d8edb00db9a375e291448df10a8b603527aaafba8930a445e825dd3ee3293dc125f3cfd46fee3

diff --git a/media-video/manimgl/manimgl-1.6.1.ebuild b/media-video/manimgl/manimgl-9999.ebuild
similarity index 85%
rename from media-video/manimgl/manimgl-1.6.1.ebuild
rename to media-video/manimgl/manimgl-9999.ebuild
index 69c3bc7b5d..dfc646d1e5 100644
--- a/media-video/manimgl/manimgl-1.6.1.ebuild
+++ b/media-video/manimgl/manimgl-9999.ebuild
@@ -1,27 +1,30 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
-inherit distutils-r1
+inherit distutils-r1 git-r3
 
 DESCRIPTION="Animation engine for explanatory math videos"
 HOMEPAGE="https://github.com/3b1b/manim https://pypi.org/project/manimgl/"
-SRC_URI="https://github.com/3b1b/manim/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 
-S="${WORKDIR}/manim-${PV}"
+if [[ ${PV} == *9999* ]]; then
+	EGIT_REPO_URI="https://github.com/3b1b/manim.git"
+else
+	SRC_URI="https://github.com/3b1b/manim/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+	S="${WORKDIR}/manim-${PV}"
+	KEYWORDS="~amd64"
+fi
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
 IUSE="doc"
 
 RDEPEND="
 	dev-python/colour[${PYTHON_USEDEP}]
-	dev-python/fonttools[${PYTHON_USEDEP}]
 	dev-python/ipython[${PYTHON_USEDEP}]
 	dev-python/isosurfaces[${PYTHON_USEDEP}]
 	=dev-python/ManimPango-0.4*[${PYTHON_USEDEP}]
@@ -35,7 +38,6 @@ RDEPEND="
 	dev-python/pygments[${PYTHON_USEDEP}]
 	dev-python/pyopengl[${PYTHON_USEDEP}]
 	dev-python/pyperclip[${PYTHON_USEDEP}]
-	dev-python/pyrr[${PYTHON_USEDEP}]
 	dev-python/pyyaml[${PYTHON_USEDEP}]
 	dev-python/rich[${PYTHON_USEDEP}]
 	dev-python/scipy[${PYTHON_USEDEP}]
@@ -46,8 +48,8 @@ RDEPEND="
 	dev-python/tqdm[${PYTHON_USEDEP}]
 	dev-python/validators[${PYTHON_USEDEP}]
 	app-text/texlive
-	media-libs/mesa
 	media-video/ffmpeg
+	virtual/opengl
 	x11-libs/pango
 	$(python_gen_cond_dep '
 		dev-python/typing-extensions[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/proj/guru:master commit in: media-video/manimgl/
@ 2024-03-14 10:19 David Roman
  0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2024-03-14 10:19 UTC (permalink / raw
  To: gentoo-commits

commit:     e78fbb2ee1dddb372ebc6bce55095a1d138baa0d
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Wed Mar 13 23:07:45 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Mar 13 23:07:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e78fbb2e

media-video/manimgl: Update ebuild funcs and deps

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

 media-video/manimgl/manimgl-9999.ebuild | 29 +++++++++++------------------
 1 file changed, 11 insertions(+), 18 deletions(-)

diff --git a/media-video/manimgl/manimgl-9999.ebuild b/media-video/manimgl/manimgl-9999.ebuild
index dfc646d1e5..f574a2feeb 100644
--- a/media-video/manimgl/manimgl-9999.ebuild
+++ b/media-video/manimgl/manimgl-9999.ebuild
@@ -3,10 +3,18 @@
 
 EAPI=8
 
+DOCS_BUILDER="sphinx"
+DOCS_DIR="docs/source"
+DOCS_DEPEND="
+	dev-python/furo
+	dev-python/jinja2-cli
+	dev-python/sphinx-copybutton
+"
+
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit distutils-r1 git-r3
+inherit distutils-r1 git-r3 docs
 
 DESCRIPTION="Animation engine for explanatory math videos"
 HOMEPAGE="https://github.com/3b1b/manim https://pypi.org/project/manimgl/"
@@ -21,7 +29,6 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="doc"
 
 RDEPEND="
 	dev-python/colour[${PYTHON_USEDEP}]
@@ -55,28 +62,14 @@ RDEPEND="
 		dev-python/typing-extensions[${PYTHON_USEDEP}]
 	' python3_{7..10})
 "
-# typing-extensions is needed for python < 3.11
+# typing-extensions is only needed for python < 3.11
 # so, only python3.10 should work too (because of PYTHON_COMPAT)
 
-BDEPEND="
-	doc? (
-		dev-python/furo[${PYTHON_USEDEP}]
-		dev-python/jinja2-cli[${PYTHON_USEDEP}]
-		dev-python/sphinx[${PYTHON_USEDEP}]
-		dev-python/sphinx-copybutton[${PYTHON_USEDEP}]
-	)
-"
-
 DEPEND="${RDEPEND}"
 
-python_compile_all() {
-	use doc && emake -C "${S}/docs" man && mv "${S}/docs/build/man/manim.1" "${S}/docs/build/man/${PN}.1"
-}
-
 python_install_all() {
-	distutils-r1_python_install_all
+	default
 	if use doc; then
-		doman "${S}/docs/build/man/${PN}.1"
 		docinto examples
 		dodoc example_scenes.py
 		dodoc docs/example.py


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

* [gentoo-commits] repo/proj/guru:master commit in: media-video/manimgl/
@ 2024-08-17 10:16 David Roman
  0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2024-08-17 10:16 UTC (permalink / raw
  To: gentoo-commits

commit:     7a0cfc5112dee8cab43ad55abdbc0b2e4afb4cc7
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Aug 17 06:38:45 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Aug 17 06:42:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a0cfc51

media-video/manimgl: move dev-python/{mapbox_earcut → mapbox-earcut}

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 media-video/manimgl/manimgl-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/manimgl/manimgl-9999.ebuild b/media-video/manimgl/manimgl-9999.ebuild
index f574a2fee..20aa34a5d 100644
--- a/media-video/manimgl/manimgl-9999.ebuild
+++ b/media-video/manimgl/manimgl-9999.ebuild
@@ -35,7 +35,7 @@ RDEPEND="
 	dev-python/ipython[${PYTHON_USEDEP}]
 	dev-python/isosurfaces[${PYTHON_USEDEP}]
 	=dev-python/ManimPango-0.4*[${PYTHON_USEDEP}]
-	dev-python/mapbox_earcut[${PYTHON_USEDEP}]
+	dev-python/mapbox-earcut[${PYTHON_USEDEP}]
 	dev-python/matplotlib[${PYTHON_USEDEP}]
 	dev-python/moderngl[${PYTHON_USEDEP}]
 	dev-python/moderngl-window[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/proj/guru:master commit in: media-video/manimgl/
@ 2024-11-02 20:52 David Roman
  0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2024-11-02 20:52 UTC (permalink / raw
  To: gentoo-commits

commit:     47f16ed50467ce15a5f321f55f97e2b56bfbf450
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Nov  2 12:19:49 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Nov  2 12:21:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47f16ed5

media-video/manimgl: Update dependencies

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

 media-video/manimgl/manimgl-9999.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-video/manimgl/manimgl-9999.ebuild b/media-video/manimgl/manimgl-9999.ebuild
index 20aa34a5d..62b1af845 100644
--- a/media-video/manimgl/manimgl-9999.ebuild
+++ b/media-video/manimgl/manimgl-9999.ebuild
@@ -14,7 +14,7 @@ DOCS_DEPEND="
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit distutils-r1 git-r3 docs
+inherit distutils-r1 docs git-r3
 
 DESCRIPTION="Animation engine for explanatory math videos"
 HOMEPAGE="https://github.com/3b1b/manim https://pypi.org/project/manimgl/"
@@ -32,10 +32,10 @@ SLOT="0"
 
 RDEPEND="
 	dev-python/colour[${PYTHON_USEDEP}]
-	dev-python/ipython[${PYTHON_USEDEP}]
+	>=dev-python/ipython-8.18.0[${PYTHON_USEDEP}]
 	dev-python/isosurfaces[${PYTHON_USEDEP}]
-	=dev-python/ManimPango-0.4*[${PYTHON_USEDEP}]
-	dev-python/mapbox-earcut[${PYTHON_USEDEP}]
+	dev-python/fonttools[${PYTHON_USEDEP}]
+	>=dev-python/ManimPango-0.6.0[${PYTHON_USEDEP}]
 	dev-python/matplotlib[${PYTHON_USEDEP}]
 	dev-python/moderngl[${PYTHON_USEDEP}]
 	dev-python/moderngl-window[${PYTHON_USEDEP}]


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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14 10:19 [gentoo-commits] repo/proj/guru:master commit in: media-video/manimgl/ David Roman
  -- strict thread matches above, loose matches on Subject: below --
2024-11-02 20:52 David Roman
2024-08-17 10:16 David Roman
2024-03-11 17:31 David Roman
2023-09-09 12:26 David Roman

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