* [gentoo-commits] repo/proj/guru:dev commit in: media-video/manimgl/files/, media-video/manimgl/
@ 2024-12-05 9:37 Henri Gasc
0 siblings, 0 replies; 2+ messages in thread
From: Henri Gasc @ 2024-12-05 9:37 UTC (permalink / raw
To: gentoo-commits
commit: 4e5b52c6563b8232a57d154177b5de121684c822
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Thu Dec 5 09:37:07 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Thu Dec 5 09:37:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e5b52c6
media-video/manimgl: update ebuild, add 1.7.1
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
media-video/manimgl/Manifest | 1 +
media-video/manimgl/files/drop-pyrr.patch | 26 ++++++++++++++++++++++
.../{manimgl-9999.ebuild => manimgl-1.7.1.ebuild} | 17 +++++++-------
media-video/manimgl/manimgl-9999.ebuild | 15 +++++++------
4 files changed, 44 insertions(+), 15 deletions(-)
diff --git a/media-video/manimgl/Manifest b/media-video/manimgl/Manifest
new file mode 100644
index 000000000..8d2a7543d
--- /dev/null
+++ b/media-video/manimgl/Manifest
@@ -0,0 +1 @@
+DIST manimgl-1.7.1.gh.tar.gz 1044396 BLAKE2B 7021b20445ef9fdd2ffc718cd0bcc27cd5f0c9d8be7d03fc4fdbd854ff6a53fe4c6a1bb3e04b14a3eae8f169b2a2f18f3a091c32ff175ffd045b7033c0a96aa6 SHA512 ed55ef466fc92a893948159fc84c0ca50b4f5ec54c2482ba81eda04df2d83660598c4e3b438d58ca9e73842baba5b7ff009811c4f85212b4e56a020e8613adf5
diff --git a/media-video/manimgl/files/drop-pyrr.patch b/media-video/manimgl/files/drop-pyrr.patch
new file mode 100644
index 000000000..46a106f8e
--- /dev/null
+++ b/media-video/manimgl/files/drop-pyrr.patch
@@ -0,0 +1,26 @@
+Remove the dependency on pyrr
+https://github.com/3b1b/manim/pull/2256
+diff --git a/manimlib/camera/camera_frame.py b/manimlib/camera/camera_frame.py
+index 648d55cdba..62ca4935c2 100644
+--- a/manimlib/camera/camera_frame.py
++++ b/manimlib/camera/camera_frame.py
+@@ -5,7 +5,6 @@
+
+ import numpy as np
+ from scipy.spatial.transform import Rotation
+-from pyrr import Matrix44
+
+ from manimlib.constants import DEGREES, RADIANS
+ from manimlib.constants import FRAME_SHAPE
+diff --git a/requirements.txt b/requirements.txt
+index 0737d3fc5d..161fbd9816 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -13,7 +13,6 @@ pydub
+ pygments
+ PyOpenGL
+ pyperclip
+-pyrr
+ pyyaml
+ rich
+ scipy
diff --git a/media-video/manimgl/manimgl-9999.ebuild b/media-video/manimgl/manimgl-1.7.1.ebuild
similarity index 88%
copy from media-video/manimgl/manimgl-9999.ebuild
copy to media-video/manimgl/manimgl-1.7.1.ebuild
index 62b1af845..ca97f8420 100644
--- a/media-video/manimgl/manimgl-9999.ebuild
+++ b/media-video/manimgl/manimgl-1.7.1.ebuild
@@ -14,7 +14,7 @@ DOCS_DEPEND="
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1 docs git-r3
+inherit distutils-r1 docs
DESCRIPTION="Animation engine for explanatory math videos"
HOMEPAGE="https://github.com/3b1b/manim https://pypi.org/project/manimgl/"
@@ -30,12 +30,15 @@ fi
LICENSE="MIT"
SLOT="0"
+PATCHES=( "${FILESDIR}/drop-pyrr.patch" )
+
RDEPEND="
dev-python/colour[${PYTHON_USEDEP}]
>=dev-python/ipython-8.18.0[${PYTHON_USEDEP}]
dev-python/isosurfaces[${PYTHON_USEDEP}]
dev-python/fonttools[${PYTHON_USEDEP}]
>=dev-python/ManimPango-0.6.0[${PYTHON_USEDEP}]
+ dev-python/mapbox-earcut[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/moderngl[${PYTHON_USEDEP}]
dev-python/moderngl-window[${PYTHON_USEDEP}]
@@ -54,7 +57,7 @@ RDEPEND="
dev-python/sympy[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/validators[${PYTHON_USEDEP}]
- app-text/texlive
+ app-text/texlive[extra]
media-video/ffmpeg
virtual/opengl
x11-libs/pango
@@ -69,10 +72,8 @@ DEPEND="${RDEPEND}"
python_install_all() {
default
- if use doc; then
- docinto examples
- dodoc example_scenes.py
- dodoc docs/example.py
- docompress -x /usr/share/doc/${PF}/examples
- fi
+ docinto examples
+ dodoc example_scenes.py
+ dodoc docs/example.py
+ docompress -x /usr/share/doc/${PF}/examples
}
diff --git a/media-video/manimgl/manimgl-9999.ebuild b/media-video/manimgl/manimgl-9999.ebuild
index 62b1af845..28c151e09 100644
--- a/media-video/manimgl/manimgl-9999.ebuild
+++ b/media-video/manimgl/manimgl-9999.ebuild
@@ -30,12 +30,15 @@ fi
LICENSE="MIT"
SLOT="0"
+PATCHES=( "${FILESDIR}/drop-pyrr.patch" )
+
RDEPEND="
dev-python/colour[${PYTHON_USEDEP}]
>=dev-python/ipython-8.18.0[${PYTHON_USEDEP}]
dev-python/isosurfaces[${PYTHON_USEDEP}]
dev-python/fonttools[${PYTHON_USEDEP}]
>=dev-python/ManimPango-0.6.0[${PYTHON_USEDEP}]
+ dev-python/mapbox-earcut[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/moderngl[${PYTHON_USEDEP}]
dev-python/moderngl-window[${PYTHON_USEDEP}]
@@ -54,7 +57,7 @@ RDEPEND="
dev-python/sympy[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
dev-python/validators[${PYTHON_USEDEP}]
- app-text/texlive
+ app-text/texlive[extra]
media-video/ffmpeg
virtual/opengl
x11-libs/pango
@@ -69,10 +72,8 @@ DEPEND="${RDEPEND}"
python_install_all() {
default
- if use doc; then
- docinto examples
- dodoc example_scenes.py
- dodoc docs/example.py
- docompress -x /usr/share/doc/${PF}/examples
- fi
+ docinto examples
+ dodoc example_scenes.py
+ dodoc docs/example.py
+ docompress -x /usr/share/doc/${PF}/examples
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: media-video/manimgl/files/, media-video/manimgl/
@ 2024-12-14 19:49 Henri Gasc
0 siblings, 0 replies; 2+ messages in thread
From: Henri Gasc @ 2024-12-14 19:49 UTC (permalink / raw
To: gentoo-commits
commit: 2fe759a1a50c5221875b65c983be3c4a5c0830dd
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Dec 14 19:48:17 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sat Dec 14 19:48:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2fe759a1
media-video/manimgl: drop 1.7.1, add 1.7.2, update 9999
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
media-video/manimgl/Manifest | 2 +-
media-video/manimgl/files/drop-pyrr.patch | 26 ----------------------
.../{manimgl-1.7.1.ebuild => manimgl-1.7.2.ebuild} | 15 ++++++++-----
media-video/manimgl/manimgl-9999.ebuild | 15 ++++++++-----
4 files changed, 19 insertions(+), 39 deletions(-)
diff --git a/media-video/manimgl/Manifest b/media-video/manimgl/Manifest
index 8d2a7543d..9a1b4f907 100644
--- a/media-video/manimgl/Manifest
+++ b/media-video/manimgl/Manifest
@@ -1 +1 @@
-DIST manimgl-1.7.1.gh.tar.gz 1044396 BLAKE2B 7021b20445ef9fdd2ffc718cd0bcc27cd5f0c9d8be7d03fc4fdbd854ff6a53fe4c6a1bb3e04b14a3eae8f169b2a2f18f3a091c32ff175ffd045b7033c0a96aa6 SHA512 ed55ef466fc92a893948159fc84c0ca50b4f5ec54c2482ba81eda04df2d83660598c4e3b438d58ca9e73842baba5b7ff009811c4f85212b4e56a020e8613adf5
+DIST manimgl-1.7.2.gh.tar.gz 1045244 BLAKE2B 680a4f8d09e1d97519a8c072f201468508a32c7f43a5f80bc33b0659dfd50a19c30984fc6bc781b139930df6673e2719d603af7e87665447efd522464611238c SHA512 f803e12bcb352239d6de51b37c15e9e8ca6e3b401dc7f01b51b6392a519bd4a0682ff1af0cfc527e2568cb197bc27b57c364db248452e867e4179c257ce6f9bd
diff --git a/media-video/manimgl/files/drop-pyrr.patch b/media-video/manimgl/files/drop-pyrr.patch
deleted file mode 100644
index 46a106f8e..000000000
--- a/media-video/manimgl/files/drop-pyrr.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Remove the dependency on pyrr
-https://github.com/3b1b/manim/pull/2256
-diff --git a/manimlib/camera/camera_frame.py b/manimlib/camera/camera_frame.py
-index 648d55cdba..62ca4935c2 100644
---- a/manimlib/camera/camera_frame.py
-+++ b/manimlib/camera/camera_frame.py
-@@ -5,7 +5,6 @@
-
- import numpy as np
- from scipy.spatial.transform import Rotation
--from pyrr import Matrix44
-
- from manimlib.constants import DEGREES, RADIANS
- from manimlib.constants import FRAME_SHAPE
-diff --git a/requirements.txt b/requirements.txt
-index 0737d3fc5d..161fbd9816 100644
---- a/requirements.txt
-+++ b/requirements.txt
-@@ -13,7 +13,6 @@ pydub
- pygments
- PyOpenGL
- pyperclip
--pyrr
- pyyaml
- rich
- scipy
diff --git a/media-video/manimgl/manimgl-1.7.1.ebuild b/media-video/manimgl/manimgl-1.7.2.ebuild
similarity index 89%
rename from media-video/manimgl/manimgl-1.7.1.ebuild
rename to media-video/manimgl/manimgl-1.7.2.ebuild
index ca97f8420..0d2c9fddf 100644
--- a/media-video/manimgl/manimgl-1.7.1.ebuild
+++ b/media-video/manimgl/manimgl-1.7.2.ebuild
@@ -30,10 +30,11 @@ fi
LICENSE="MIT"
SLOT="0"
-PATCHES=( "${FILESDIR}/drop-pyrr.patch" )
-
RDEPEND="
+ dev-python/addict[${PYTHON_USEDEP}]
+ dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/colour[${PYTHON_USEDEP}]
+ dev-python/diskcache[${PYTHON_USEDEP}]
>=dev-python/ipython-8.18.0[${PYTHON_USEDEP}]
dev-python/isosurfaces[${PYTHON_USEDEP}]
dev-python/fonttools[${PYTHON_USEDEP}]
@@ -72,8 +73,10 @@ DEPEND="${RDEPEND}"
python_install_all() {
default
- docinto examples
- dodoc example_scenes.py
- dodoc docs/example.py
- docompress -x /usr/share/doc/${PF}/examples
+ if use doc; then
+ docinto examples
+ dodoc example_scenes.py
+ dodoc docs/example.py
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
}
diff --git a/media-video/manimgl/manimgl-9999.ebuild b/media-video/manimgl/manimgl-9999.ebuild
index 28c151e09..96c48228c 100644
--- a/media-video/manimgl/manimgl-9999.ebuild
+++ b/media-video/manimgl/manimgl-9999.ebuild
@@ -30,10 +30,11 @@ fi
LICENSE="MIT"
SLOT="0"
-PATCHES=( "${FILESDIR}/drop-pyrr.patch" )
-
RDEPEND="
+ dev-python/addict[${PYTHON_USEDEP}]
+ dev-python/appdirs[${PYTHON_USEDEP}]
dev-python/colour[${PYTHON_USEDEP}]
+ dev-python/diskcache[${PYTHON_USEDEP}]
>=dev-python/ipython-8.18.0[${PYTHON_USEDEP}]
dev-python/isosurfaces[${PYTHON_USEDEP}]
dev-python/fonttools[${PYTHON_USEDEP}]
@@ -72,8 +73,10 @@ DEPEND="${RDEPEND}"
python_install_all() {
default
- docinto examples
- dodoc example_scenes.py
- dodoc docs/example.py
- docompress -x /usr/share/doc/${PF}/examples
+ if use doc; then
+ docinto examples
+ dodoc example_scenes.py
+ dodoc docs/example.py
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-14 19:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-14 19:49 [gentoo-commits] repo/proj/guru:dev commit in: media-video/manimgl/files/, media-video/manimgl/ Henri Gasc
-- strict thread matches above, loose matches on Subject: below --
2024-12-05 9:37 Henri Gasc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox