From patchwork Sat Dec 16 19:24:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 57652 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 63C9727BBEA; Sat, 16 Dec 2023 19:29:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9B55B27BBE2 for ; Sat, 16 Dec 2023 19:29:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEaLP-0008CC-DL; Sat, 16 Dec 2023 14:29:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEaLN-00084h-SI for guix-patches@gnu.org; Sat, 16 Dec 2023 14:29:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEaLN-0008Ma-AL for guix-patches@gnu.org; Sat, 16 Dec 2023 14:29:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEaLO-00026w-1D for guix-patches@gnu.org; Sat, 16 Dec 2023 14:29:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64813] [PATCH] gnu: Add python-manimpango. References: In-Reply-To: Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Dec 2023 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64813@debbugs.gnu.org Received: via spool by 64813-submit@debbugs.gnu.org id=B64813.17027549078071 (code B ref 64813); Sat, 16 Dec 2023 19:29:02 +0000 Received: (at 64813) by debbugs.gnu.org; 16 Dec 2023 19:28:27 +0000 Received: from localhost ([127.0.0.1]:56078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEaKp-000267-0J for submit@debbugs.gnu.org; Sat, 16 Dec 2023 14:28:27 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]:60480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEaKm-00025r-J4 for 64813@debbugs.gnu.org; Sat, 16 Dec 2023 14:28:25 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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 mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Ssx2R3H2Lz9sZ7 for <64813@debbugs.gnu.org>; Sat, 16 Dec 2023 20:28:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1702754895; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UElbVn0dgv7vP2unBRTDPCcPaMwDESgeYc/fMzWxnnQ=; b=WNQY4OOGvHhI8kGbfq1ilXrxOWBdlRuH2+RVD3V4+tgRfvNtoFrHcwIWZdbqzMcthiHuwe wpYHbNfwqyyka0v/jKHvrMNk8BR7EqJaNyfvCr+BeFiHwYnqVXtNJCnmCUi4pC0MBIlGp9 Hpc5oI0aiq+BO+l4P6QqYfKzFdhTOqnrjUwT6ZUhvlT7rLKOe95yU+BncgTEzCuwSOkuTB 2i9WCmkHMQzi5CgW3DmwrEsdzw6oIsxsr73eeeYu8UMggJSs5Th8GP9n+fD7Y3L1Ust45T 6pFLTXtGtmmlBF+rOjpdyPrZQtExEu9Wg3wgIbB6BmXxoGzKRs4aZXFBDXjJRA== From: Troy Figiel Date: Sat, 16 Dec 2023 20:24:47 +0100 Message-ID: <87ttoigd69.fsf@troyfigiel.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4Ssx2R3H2Lz9sZ7 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-manimpango): New variable. Change-Id: I5ee6faa9cfd51a173f73d03c5c18e3c7d399582a --- gnu/packages/python-xyz.scm | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) base-commit: d5298c5e334e56a9aabddcb62d312e63135864f6 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 86f8d81689..6bc02393e0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -119,7 +119,7 @@ ;;; Copyright © 2022 Evgeny Pisemsky ;;; Copyright © 2022 drozdov ;;; Copyright © 2022 Peter Polidoro -;;; Copyright © 2022 Wamm K. D. +;;; Copyright © 2022, 2023 Wamm K. D. ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Artyom V. Poptsov ;;; Copyright © 2022 Paul A. Patience @@ -9615,6 +9615,39 @@ (define-public python-pywinrm any machine that can run Python.") (license license:expat))) +(define-public python-manimpango + (package + (name "python-manimpango") + (version "0.5.0") + (source + (origin + ;; Test fixtures are not included in the PyPI tarball. We need the Github + ;; release to successfully run the tests. + (method git-fetch) + (uri (git-reference + (url "https://github.com/ManimCommunity/ManimPango") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00mrvswk8yly0m13jq0f432pr19sy3j6w37lrv78ah1j6jz9n50h")))) + (build-system pyproject-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (native-inputs (list pkg-config python-cython python-pytest + python-pytest-cov)) + (inputs (list pango)) + (home-page "https://pypi.org/project/ManimPango/") + (synopsis "Bindings for Pango for using with Manim") + (description + "Python bindings for ManimPango which is a C binding for Pango, +using Cython. + +ManimPango is internally used in Manim to render (non-LaTeX) text.") + (license license:expat))) + (define-public python-xcffib (package (name "python-xcffib")