guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/03: gnu: python-afdko: Add version 3.6.1.


From: guix-commits
Subject: 02/03: gnu: python-afdko: Add version 3.6.1.
Date: Fri, 21 Apr 2023 17:02:44 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit cbf169608c223cdfb8bbd62f82129d5c674ef0a6
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Apr 21 22:29:39 2023 +0200

    gnu: python-afdko: Add version 3.6.1.
    
    * gnu/packages/fontutils.scm (python-afdko-3.6.1): New variable.
---
 gnu/packages/fontutils.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index b32d76c15a..3b119a21ec 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -336,6 +336,42 @@ but also provides many useful font conversion and analysis 
facilities.
 @end table")
     (license license:asl2.0)))
 
+(define-public python-afdko-3.6.1
+  ;; This older version does not depend on Java and Antlr4.
+  (package
+    (inherit python-afdko)
+    (version "3.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "afdko" version))
+       (sha256
+        (base32 "0187xhgw6spzaji93fs1mnhqnq30pxhdj1p2m88673szvzpf10av"))))
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'build 'set-CC
+                 (lambda _
+                   (setenv "CC" "gcc"))))))
+    (native-inputs
+     (list pkg-config
+           python-pytest
+           python-setuptools-scm
+           python-wheel))
+    (inputs
+     (list bash-minimal
+           libxml2))
+    (propagated-inputs
+     (list psautohint
+           python-booleanoperations
+           python-defcon
+           python-fontmath
+           python-fonttools
+           python-lxml
+           python-tqdm
+           python-ufonormalizer
+           python-ufoprocessor))))
+
 (define-public python-cffsubr
   (package
     (name "python-cffsubr")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]