[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 064/232] gnu: Add psautohint.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 064/232] gnu: Add psautohint. |
Date: |
Sun, 24 Apr 2022 23:56:30 -0400 |
* 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 @@ (define-public psautohint-font-data
;; 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")
--
2.34.0
- [bug#55104] [PATCH 089/232] gnu: Add font-gfs-ambrosia., (continued)
- [bug#55104] [PATCH 089/232] gnu: Add font-gfs-ambrosia., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 096/232] gnu: Add python-pydevd., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 093/232] gnu: python-black: Update to 22.3.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 034/232] gnu: Add python-ufoprocessor., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 054/232] gnu: Add python-jaraco-functools., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 058/232] gnu: Add python-tempora., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 061/232] gnu: python-faker: Update to 13.3.4 and honor TESTS?., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 049/232] gnu: python-mypy: Update to 0.942 and fix search path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 062/232] gnu: Add python-pytest-randomly., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 053/232] gnu: Add python-jaraco-context., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 064/232] gnu: Add psautohint.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 066/232] gnu: Add python-xdoctest., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 068/232] gnu: python-setuptools: Update to 62.0.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 069/232] gnu: python-pathpy: Deprecate by python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 051/232] gnu: python-pytest-checkdocs: Update to 2.7.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 071/232] gnu: python-pytest-cov: Update to 3.0.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 073/232] gnu: python-jupyter-packaging: Update to 0.12.0, run test suite., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 080/232] gnu: Add skia., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 078/232] gnu: Add python-afdko., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 087/232] gnu: Add font-sil-ezra., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 090/232] gnu: python-click: Update to 8.1.2 and honor TESTS?., Maxim Cournoyer, 2022/04/25