[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/204: gnu: Add psautohint.
From: |
guix-commits |
Subject: |
64/204: gnu: Add psautohint. |
Date: |
Wed, 20 Apr 2022 02:03:21 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 201b15121826839bcb27afafcffaead2252c3655
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")
- 78/204: gnu: Add python-afdko., (continued)
- 78/204: gnu: Add python-afdko., guix-commits, 2022/04/20
- 81/204: gnu: Add python-skia-pathops., guix-commits, 2022/04/20
- 84/204: gnu: Add python-ufo2ft., guix-commits, 2022/04/20
- 99/204: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/20
- 107/204: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/20
- 51/204: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/20
- 58/204: gnu: Add python-tempora., guix-commits, 2022/04/20
- 62/204: gnu: Add python-pytest-randomly., guix-commits, 2022/04/20
- 63/204: gnu: Add psautohint-font-data., guix-commits, 2022/04/20
- 47/204: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/04/20
- 64/204: gnu: Add psautohint.,
guix-commits <=
- 67/204: gnu: Add python-ubelt., guix-commits, 2022/04/20
- 71/204: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/20
- 73/204: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/20
- 74/204: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/20
- 75/204: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/20
- 77/204: gnu: Add python-fonttools-next., guix-commits, 2022/04/20
- 80/204: gnu: Add skia., guix-commits, 2022/04/20
- 85/204: gnu: Add python-sfdlib., guix-commits, 2022/04/20
- 88/204: gnu: Add texlive-bidi., guix-commits, 2022/04/20
- 89/204: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/20