[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/166: gnu: Add psautohint.
From: |
guix-commits |
Subject: |
64/166: gnu: Add psautohint. |
Date: |
Tue, 19 Apr 2022 09:12:20 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 33e6be8756360f177838831ecf8d675f7040074b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Apr 6 12:02:01 2022 -0400
gnu: Add psautohint.
* gnu/packages/fontutils.scm (psautohint): New variable.
---
gnu/packages/fontutils.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 9cb9caf159..e128ed1003 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -342,6 +342,49 @@ suite of the @code{psautohint} package.")
;; Code Pro, Source Serif Pro, all available under the same license.
(license license:silofl1.1)))))
+(define-public psautohint
+ (package
+ (name "psautohint")
+ (version "2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "psautohint" version))
+ (sha256
+ (base32 "0zzz7hy1kkkjfrrm9ly2di3xv2x1ywdqhbyqy21k670jysldw3nm"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'copy-font-data
+ ;; The data is copied as it needs to be writable for the tests.
+ (lambda _
+ (copy-recursively
+ #$(this-package-native-input "psautohint-font-data")
+ "tests/integration/data")
+ (for-each make-file-writable
+ (find-files "tests/integration/data"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (propagated-inputs (list python-fonttools))
+ (native-inputs
+ (list psautohint-font-data
+ python-fs
+ python-pytest
+ python-pytest-cov
+ python-pytest-randomly
+ python-pytest-xdist
+ python-setuptools-scm
+ python-wheel))
+ (home-page "https://github.com/adobe-type-tools/psautohint")
+ (synopsis "Adobe's PostScript autohinter")
+ (description "This package provides the @command{autohinter} command that
+can be used to hint PostScript fonts. A Python wrapper is also included.")
+ (license license:asl2.0)))
+
(define-public python-ufoprocessor
(package
(name "python-ufoprocessor")
- 53/166: gnu: Add python-jaraco-context., (continued)
- 53/166: gnu: Add python-jaraco-context., guix-commits, 2022/04/19
- 67/166: gnu: Add python-ubelt., guix-commits, 2022/04/19
- 35/166: gnu: Add python-ufonormalizer., guix-commits, 2022/04/19
- 56/166: gnu: Add python-path., guix-commits, 2022/04/19
- 75/166: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/19
- 22/166: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/19
- 79/166: gnu: Add python-cffsubr., guix-commits, 2022/04/19
- 59/166: gnu: Add python-pytest-perf., guix-commits, 2022/04/19
- 90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/19
- 63/166: gnu: Add psautohint-font-data., guix-commits, 2022/04/19
- 64/166: gnu: Add psautohint.,
guix-commits <=
- 93/166: gnu: python-black: Update to 22.3.0., guix-commits, 2022/04/19
- 61/166: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/19
- 33/166: gnu: Add python-cu2qu., guix-commits, 2022/04/19
- 62/166: gnu: Add python-pytest-randomly., guix-commits, 2022/04/19
- 105/166: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/19
- 118/166: gnu: Add python-nbdime., guix-commits, 2022/04/19
- 122/166: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/19
- 100/166: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/19
- 124/166: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/19
- 121/166: gnu: Add python-pep621., guix-commits, 2022/04/19