[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/232: gnu: Add psautohint.
From: |
guix-commits |
Subject: |
64/232: gnu: Add psautohint. |
Date: |
Sun, 24 Apr 2022 23:58:37 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit c1054745ec0fa40ffde67e6b1b2bc43687bd036e
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")
- 23/232: gnu: Add python-fontmath., (continued)
- 23/232: gnu: Add python-fontmath., guix-commits, 2022/04/24
- 28/232: gnu: Add python-booleanoperations., guix-commits, 2022/04/24
- 33/232: gnu: Add python-cu2qu., guix-commits, 2022/04/24
- 55/232: gnu: Add python-pytest-enabler., guix-commits, 2022/04/24
- 56/232: gnu: Add python-path., guix-commits, 2022/04/24
- 58/232: gnu: Add python-tempora., guix-commits, 2022/04/24
- 61/232: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/24
- 60/232: gnu: python-factory-boy: Update to 3.2.1., guix-commits, 2022/04/24
- 62/232: gnu: Add python-pytest-randomly., guix-commits, 2022/04/24
- 71/232: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/24
- 64/232: gnu: Add psautohint.,
guix-commits <=
- 73/232: gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., guix-commits, 2022/04/24
- 81/232: gnu: Add python-skia-pathops., guix-commits, 2022/04/24
- 79/232: gnu: Add python-cffsubr., guix-commits, 2022/04/24
- 83/232: gnu: Add python-compreffor., guix-commits, 2022/04/24
- 82/232: gnu: Add python-ufolib2., guix-commits, 2022/04/24
- 84/232: gnu: Add python-ufo2ft., guix-commits, 2022/04/24
- 94/232: gnu: pylint: Run tests in parallel., guix-commits, 2022/04/24
- 97/232: gnu: Add python-debugpy., guix-commits, 2022/04/24
- 100/232: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/24
- 104/232: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/24