From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49E88158232 for ; Thu, 5 Dec 2024 09:37:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70C60E0949; Thu, 5 Dec 2024 09:37:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 829B2E0948 for ; Thu, 5 Dec 2024 09:37:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9C65334092E for ; Thu, 5 Dec 2024 09:37:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F112811DE for ; Thu, 5 Dec 2024 09:37:44 +0000 (UTC) From: "Henri Gasc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Henri Gasc" Message-ID: <1733391449.4e5b52c6563b8232a57d154177b5de121684c822.gasc@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/manimgl/files/, media-video/manimgl/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/manimgl/Manifest media-video/manimgl/files/drop-pyrr.patch media-video/manimgl/manimgl-1.7.1.ebuild media-video/manimgl/manimgl-9999.ebuild X-VCS-Directories: media-video/manimgl/files/ media-video/manimgl/ X-VCS-Committer: gasc X-VCS-Committer-Name: Henri Gasc X-VCS-Revision: 4e5b52c6563b8232a57d154177b5de121684c822 X-VCS-Branch: dev Date: Thu, 5 Dec 2024 09:37:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 169a9175-f634-424a-a012-7b36efd57f64 X-Archives-Hash: f59603a88af1ad9d92391cb0a3950d90 commit: 4e5b52c6563b8232a57d154177b5de121684c822 Author: Henri Gasc eurecom fr> AuthorDate: Thu Dec 5 09:37:07 2024 +0000 Commit: Henri Gasc eurecom 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 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 }