[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55104] [PATCH 082/232] gnu: Add python-ufolib2.
From: |
Maxim Cournoyer |
Subject: |
[bug#55104] [PATCH 082/232] gnu: Add python-ufolib2. |
Date: |
Sun, 24 Apr 2022 23:56:48 -0400 |
* gnu/packages/fontutils.scm (python-ufolib2): New variable.
---
gnu/packages/fontutils.scm | 46 ++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index f2a76b9492..3d8447703f 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -1315,6 +1315,52 @@ (define-public fontforge-20190801
`(("python" ,python-2)
,@(alist-delete "python" (package-inputs fontforge))))))
+(define-public python-ufolib2
+ (package
+ (name "python-ufolib2")
+ (version "0.13.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ufoLib2" version))
+ (sha256
+ (base32 "0yx4i8q5rfyqhr2fj70a7z1bp1jv7bdlr64ww9z4nv9ycbda4x9j"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: PEP 517 manual build copied from python-isort.
+ (replace 'build
+ (lambda _
+ ;; ZIP does not support timestamps before 1980.
+ (setenv "SOURCE_DATE_EPOCH" "315532800")
+ (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv"))))
+ (replace 'install
+ (lambda _
+ (let ((whl (car (find-files "dist" "\\.whl$"))))
+ (invoke "pip" "--no-cache-dir" "--no-input"
+ "install" "--no-deps" "--prefix" #$output whl)))))))
+ (native-inputs
+ (list python-pypa-build
+ python-pytest
+ python-setuptools-scm
+ python-wheel))
+ (propagated-inputs (list python-attrs python-fonttools-full))
+ (home-page "https://github.com/fonttools/ufoLib2")
+ (synopsis "Unified Font Object (UFO) font processing library")
+ (description "The ufoLib2 Python library is meant to be a thin
+representation of the Unified Font Object (UFO) version 3 data model, intended
+for programmatic manipulation and fast batch processing of UFOs. It resembles
+the defcon library, but does without notifications, the layout engine and
+other support classes. Where useful and possible, ufoLib2 tries to be
+API-compatible with defcon.")
+ (license license:asl2.0)))
+
(define-public python2-ufolib
(package
(name "python2-ufolib")
--
2.34.0
- [bug#55104] [PATCH 090/232] gnu: python-click: Update to 8.1.2 and honor TESTS?., (continued)
- [bug#55104] [PATCH 090/232] gnu: python-click: Update to 8.1.2 and honor TESTS?., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 091/232] gnu: python-flask: Update to 2.1.1., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 088/232] gnu: Add texlive-bidi., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 095/232] gnu: python-trio: Update to 0.20.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 098/232] gnu: python-greenlet: Update to 1.1.2., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 099/232] gnu: Add python-pytest-forked-next., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 100/232] gnu: python-pytest-xdist-next: Update to 2.5.0., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 101/232] gnu: Add python-ipyparallel-bootstrap., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 070/232] gnu: python-pytest-shutil: Adjust to use python-path., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 074/232] gnu: python-scipy: Move input fields below arguments field., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 082/232] gnu: Add python-ufolib2.,
Maxim Cournoyer <=
- [bug#55104] [PATCH 076/232] gnu: Add java-antlr4-runtime-cpp., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 084/232] gnu: Add python-ufo2ft., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 097/232] gnu: Add python-debugpy., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 030/232] gnu: Add python-fontpens., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 031/232] gnu: Add python-defcon., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 052/232] gnu: Add python-jaraco-classes., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 072/232] gnu: Add python-scikit-build., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 081/232] gnu: Add python-skia-pathops., Maxim Cournoyer, 2022/04/25
- [bug#55104] [PATCH 000/232] Update IPython to latest, fix texlive-polyglossia, add more, Lars-Dominik Braun, 2022/04/25