From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6K+OKSYRQmF16QAAgWs5BA (envelope-from ) for ; Wed, 15 Sep 2021 17:28:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 604JJSYRQmHyLgAAbx9fmQ (envelope-from ) for ; Wed, 15 Sep 2021 15:28:38 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A0CE93D2 for ; Wed, 15 Sep 2021 17:28:37 +0200 (CEST) Received: from localhost ([::1]:49450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQWpw-00063K-Mk for larch@yhetil.org; Wed, 15 Sep 2021 11:28:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQWpU-00051Z-Ad for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41417) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQWpU-00013x-0m for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQWpS-0001RQ-Sp for guix-patches@gnu.org; Wed, 15 Sep 2021 11:28:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50505] [PATCH v2 13/13] gnu: Add python-manim 0.9.0. Resent-From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Sep 2021 15:28:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50505 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50505@debbugs.gnu.org Cc: Daniel =?UTF-8?Q?Mei=C3=9Fner?= Received: via spool by 50505-submit@debbugs.gnu.org id=B50505.16317196835474 (code B ref 50505); Wed, 15 Sep 2021 15:28:06 +0000 Received: (at 50505) by debbugs.gnu.org; 15 Sep 2021 15:28:03 +0000 Received: from localhost ([127.0.0.1]:52947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQWpO-0001Q1-SF for submit@debbugs.gnu.org; Wed, 15 Sep 2021 11:28:03 -0400 Received: from out3.mail.ruhr-uni-bochum.de ([134.147.53.155]:18981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQWpA-0001O0-4y for 50505@debbugs.gnu.org; Wed, 15 Sep 2021 11:27:48 -0400 Received: from mx3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by out3.mail.ruhr-uni-bochum.de (Postfix mo-ext) with ESMTP id 4H8kcG58tWz8S6T for <50505@debbugs.gnu.org>; Wed, 15 Sep 2021 17:27:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ruhr-uni-bochum.de; s=mail-2017; t=1631719662; bh=aphxa4ltK65i5sP/+xwRYs/QisZMh3tWk4rS8LmI4wk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iKGyaWw1UrVjwPCAbxMuvIrHvBJotWJz04vjmDRFqowjXlYjyuRubeHjvEXE15Act QQMiAfde8JOfJjayPZqbtCZA/dOSwKOCGe6tNBU72K4s8+2GFeK0La4P4Lgftgkb0t fa6o9ABlQe2KfsPcox04sqc4qrxbWkBExlFmWDz4= Received: from out3.mail.ruhr-uni-bochum.de (localhost [127.0.0.1]) by mx3.mail.ruhr-uni-bochum.de (Postfix idis) with ESMTP id 4H8kcG4M1fz8S7H; Wed, 15 Sep 2021 17:27:42 +0200 (CEST) X-RUB-Notes: Internal origin=IPv6:2a05:3e00:c:1001::8693:2aec X-Envelope-Sender: Received: from mail2.mail.ruhr-uni-bochum.de (mail2.mail.ruhr-uni-bochum.de [IPv6:2a05:3e00:c:1001::8693:2aec]) by out3.mail.ruhr-uni-bochum.de (Postfix mi-int) with ESMTP id 4H8kcG3853z8S72; Wed, 15 Sep 2021 17:27:42 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.1 at mx3.mail.ruhr-uni-bochum.de Received: from xii-04.mg07.ruhr-uni-bochum.de (pm26.mg07.ruhr-uni-bochum.de [10.150.49.41]) by mail2.mail.ruhr-uni-bochum.de (Postfix) with ESMTPSA id 4H8kcG1mfmzDgyN; Wed, 15 Sep 2021 17:27:42 +0200 (CEST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.0 at mail2.mail.ruhr-uni-bochum.de Date: Wed, 15 Sep 2021 17:25:19 +0200 Message-Id: <20210915152519.25572-14-daniel.meissner-i4k@ruhr-uni-bochum.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210910112231.6411-1-daniel.meissner-i4k@ruhr-uni-bochum.de> References: <20210910112231.6411-1-daniel.meissner-i4k@ruhr-uni-bochum.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Daniel =?UTF-8?Q?Mei=C3=9Fner?= X-ACL-Warn: , Daniel =?UTF-8?Q?Mei=C3=9Fner?= via Guix-patches From: Daniel =?UTF-8?Q?Mei=C3=9Fner?= via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631719717; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kaCwR2HW60+PVu3OdyRDDlsUoO5+7Z6s09QabIPh9jA=; b=b3OXFRaJ/zxAM3X9Mt6Xaqrz6YQu6kk0Xj9tgLqnXbAWLRUC/pZcM1z/a9J4oVbEe5APfF zYB0O2olntwn/za/wodS9fvkEcSSf2ppIvh92E45APWOy2yBhnU10UBD3f/bsN63A9RYnM iQgM1Jjm4nP84aD6aTnVH1BuHfpFq3QKz0+rSEncm1TUSWXTsjIjZqiWyraHY6hebl3FWP Fo7Vk4H/e+MllZYTkdIDLrZaOhieyvroRFKIBLWBq7lsDnh48aSxPvgUL3lYmepszz8T41 jkTHzs6107LMTf9zZksMvcujeGPxjFZAwDaP6FXXJKEH0gpgtW+z6V2PWpmvqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631719717; a=rsa-sha256; cv=none; b=HviZsban//ZvxLfofs4Ur2DGcAKsDZDcNdolVkpbLeagmcgCOkgIBPlVZlASMFrezsYnqx JE1QtS4WIpT8acX/RRUqWDbBW7/Bsd+re3hhvm+2JEs9f9P22YpkUdJfgPMZPr4yi0+fvR eUpXf2hzj0CIUqqtmkHJP2voRHEOy5BhQ0p9AAoAsRPQyVnwAcEAsb4HZmK06p/D/RaYMx cXboZfG7TKnmcvzXRLiBeXv3CPK8dWLXirD3193KjK59f+NynA6pDEzej6FFFcfWHD0z8j pDJLv75yGvMPnvhwhl6yRv2YXLWRE5Dm4mEc+/EhqiZClinq5Lzfivis8Z2eQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=iKGyaWw1; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 1.10 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ruhr-uni-bochum.de header.s=mail-2017 header.b=iKGyaWw1; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 9A0CE93D2 X-Spam-Score: 1.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: 400khvw2lnvE * gnu/packages/python-science.scm (python-manim): New variable. --- gnu/packages/python-science.scm | 64 +++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index fcd983520c..df105d5103 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -36,6 +36,7 @@ #:use-module (gnu packages) #:use-module (gnu packages base) #:use-module (gnu packages check) + #:use-module (gnu packages cmake) #:use-module (gnu packages databases) #:use-module (gnu packages gcc) #:use-module (gnu packages gtk) @@ -55,6 +56,7 @@ #:use-module (gnu packages sphinx) #:use-module (gnu packages statistics) #:use-module (gnu packages time) + #:use-module (gnu packages video) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -1010,3 +1012,65 @@ pandas code.") "These are Python bindings for Pango to be used with the mathematical animation software Manim.") (license license:gpl3+))) + +(define-public python-manim + (package + (name "python-manim") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "manim" version)) + (sha256 + (base32 + "0ksp57wcy45xkjips5i4wwm690mhbs2dmlcgsbmiwx78mfk4z0r3")))) + (build-system python-build-system) + (arguments '(#:phases + (modify-phases %standard-phases + (add-before 'build 'fix-ffmpeg-path + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* '("manim/constants.py") + (("FFMPEG_BIN: str = \"ffmpeg\"") + (string-append "FFMPEG_BIN: str = \"" + (assoc-ref inputs "ffmpeg") + "/bin/ffmpeg\""))))) + ;; PyPI package contains no tests for manim but the + ;; setup.py test command fails, so remove it + (delete 'check)))) + (propagated-inputs + `(("python-click" ,python-click) + ("python-click-default-group" + ,python-click-default-group) + ("python-cloup" ,python-cloup-0.7) + ("python-colour" ,python-colour) + ("python-decorator" ,python-decorator) + ("python-manimpango" ,python-manimpango) + ("python-mapbox-earcut" ,python-mapbox-earcut) + ("python-moderngl" ,python-moderngl) + ("python-moderngl-window" + ,python-moderngl-window) + ("python-networkx" ,python-networkx) + ("python-numpy" ,python-numpy) + ("python-pillow" ,python-pillow) + ("python-pycairo" ,python-pycairo) + ("python-pydub" ,python-pydub) + ("python-pygments" ,python-pygments) + ("python-requests" ,python-requests) + ("python-rich" ,python-rich) + ("python-scipy" ,python-scipy) + ("python-screeninfo" ,python-screeninfo-0.6) + ("python-tqdm" ,python-tqdm) + ("python-watchdog" ,python-watchdog))) + (inputs + `(("ffmpeg" ,ffmpeg))) + (native-inputs + `(("python-wheel" ,python-wheel))) + (home-page "https://www.manim.community/") + (synopsis + "Python animation engine for explanatory math videos") + (description + "Manim is a Python library for creating mathematical animations. The +animations are written as Python code which is based on predefined objects. +You can make animations with maths formulas (LaTeX-based), simple shapes, 3D +objects, function graphs and more.") + (license license:expat))) -- 2.33.0