aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-08 22:49:17 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-12 12:45:38 -0400
commit1e02c28a2ab5419fca9dd0e82913955b93d7750a (patch)
tree9dd43692d07b6c86a3072468c91c4eca07de857e /gnu
parent7e776ea007b394cb901e771dc2fd838d72f1585f (diff)
downloadguix-1e02c28a2ab5419fca9dd0e82913955b93d7750a.tar
guix-1e02c28a2ab5419fca9dd0e82913955b93d7750a.tar.gz
gnu: Add python-compreffor.
* gnu/packages/fontutils.scm (python-compreffor): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/fontutils.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 3d8447703f..8ba435aa61 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -322,6 +322,35 @@ Compact Font Format (CFF) subroutinizer based on the Adobe Font Development
Kit for OpenType (AFDKO) @command{tx} tool.")
(license license:asl2.0)))
+(define-public python-compreffor
+ (package
+ (name "python-compreffor")
+ (version "0.5.1.post1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "compreffor" version))
+ (sha256
+ (base32 "1r3wqd67qnz8p6irv68mvadqv1nklgzw53376iarw3pq4gxrma36"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-setup.py
+ (lambda _
+ (substitute* "setup.py"
+ ;; Not actually needed.
+ ((", \"setuptools_git_ls_files\"") "")))))))
+ (native-inputs (list python-pytest python-pytest-runner
+ python-setuptools-scm))
+ (propagated-inputs (list python-fonttools))
+ (home-page "https://github.com/googlefonts/compreffor")
+ (synopsis "Compact Font Format (CFF) subroutinizer for fontTools")
+ (description "This package provides a Compact Font Format (CFF)
+subroutinizer for fontTools.")
+ (license license:asl2.0)))
+
(define-public python-cu2qu
(package
(name "python-cu2qu")