aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-04-05 00:44:25 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-05-12 12:45:27 -0400
commitab2bab6d48e1a878301a708a71721a321c707a6d (patch)
tree0f60a6d226fb14b72269035306e102f7588a5f81 /gnu/packages
parentb93a63d4a08e2f0689d79da3879a9bc4ab17c69d (diff)
downloadguix-ab2bab6d48e1a878301a708a71721a321c707a6d.tar.gz
guix-ab2bab6d48e1a878301a708a71721a321c707a6d.zip
gnu: Add python-ufoprocessor.
* gnu/packages/fontutils.scm (python-ufoprocessor): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/fontutils.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 20a03463e6..062b8fbd62 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -314,6 +314,49 @@ was developed for interpolating data related to fonts, but if can handle any
arithmetic object.")
(license license:bsd-3)))
+(define-public python-ufoprocessor
+ (package
+ (name "python-ufoprocessor")
+ (version "1.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ufoProcessor" version ".zip"))
+ (sha256
+ (base32 "0ns11aamgavgsfj8qf5kq7dvzmgl0mhr1cbych2f075ipfdvva5s"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Most of the tests appear to be a work in
+ ;; progress; run only a subset.
+ (invoke "python" "Tests/tests.py")))))))
+ (propagated-inputs
+ (list python-defcon
+ python-fontmath
+ python-fontparts
+ python-fonttools
+ python-mutatormath))
+ (native-inputs (list unzip))
+ (home-page "https://github.com/LettError/ufoProcessor")
+ (synopsis "Process and generate @acronym{UFO, Unified Font Object} files")
+ (description "This Python package processes and generates instances for
+@acronym{UFO, Unified Font Object} files, glyphs and other data. It can,
+among other things:
+@itemize
+@item Collect source materials.
+@item Provide mutators for specific glyphs, font info, kerning so that other
+tools can generate partial instances.
+@item Support designspace format 4 with layers.
+@item Apply avar-like designspace bending.
+@item Apply rules.
+@item Generate actual UFO instances in formats 2 and 3.
+@item Round geometry as requested.
+@end itemize")
+ (license license:expat)))
+
(define-public ttfautohint
(package
(name "ttfautohint")
pan title='2016-04-14 10:36:11 +0300'>2016-04-14packages: Add 'search-patches'....Alex Kost 2016-03-08packages: Gracefully report packages not found....Ludovic Courtès 2016-03-08packages: Support the deprecated "NAME-VERSION" syntax....Ludovic Courtès 2016-03-08packages: Clarify NAME-VERSION deprecation message....Ludovic Courtès 2016-03-02utils: Use '@' for separating package names and version numbers....Mathieu Lirzin 2016-03-02packages: Factorize package specification search....Mathieu Lirzin 2016-02-24Do not check package freshness during upgrade....Alex Kost 2015-12-20packages: Remove now redundant graph procedures....Ludovic Courtès 2015-10-21packages: Update 'check-package-freshness' to use (guix upstream)....Ludovic Courtès 2015-06-18Move 'specification->package+output' to (gnu packages)....Ludovic Courtès