GNU bug report logs - #64813
[PATCH] gnu: Add python-manimpango.

Previous Next

Package: guix-patches;

Reported by: "Wamm K. D" <jaft.r <at> outlook.com>

Date: Sun, 23 Jul 2023 21:04:01 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Troy Figiel <troy <at> troyfigiel.com>
To: 64813 <at> debbugs.gnu.org
Subject: [bug#64813] [PATCH] gnu: Add python-manimpango.
Date: Sat, 16 Dec 2023 20:24:47 +0100
* 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(-)

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 <evgeny <at> pisemsky.com>
 ;;; Copyright © 2022 drozdov <drozdov <at> portalenergy.tech>
 ;;; Copyright © 2022 Peter Polidoro <peter <at> polidoro.io>
-;;; Copyright © 2022 Wamm K. D. <jaft.r <at> outlook.com>
+;;; Copyright © 2022, 2023 Wamm K. D. <jaft.r <at> outlook.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
 ;;; Copyright © 2022 Artyom V. Poptsov <poptsov.artyom <at> gmail.com>
 ;;; Copyright © 2022 Paul A. Patience <paul <at> apatience.com>
@@ -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")

base-commit: d5298c5e334e56a9aabddcb62d312e63135864f6
-- 
2.40.1





This bug report was last modified 1 year and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.