[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
82/233: gnu: Add python-ufolib2.
From: |
guix-commits |
Subject: |
82/233: gnu: Add python-ufolib2. |
Date: |
Sun, 24 Apr 2022 23:39:46 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 1bdf45880aa4d3dac3100ffce76817f0a2082205
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Apr 8 22:33:46 2022 -0400
gnu: Add python-ufolib2.
* 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 @@ generate bitmaps.")
`(("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")
- 63/233: gnu: Add psautohint-font-data., (continued)
- 63/233: gnu: Add psautohint-font-data., guix-commits, 2022/04/24
- 61/233: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/24
- 62/233: gnu: Add python-pytest-randomly., guix-commits, 2022/04/24
- 69/233: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/24
- 71/233: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/24
- 74/233: gnu: python-scipy: Move input fields below arguments field., guix-commits, 2022/04/24
- 75/233: gnu: python-scipy: Update to 1.8.0 and enable parallel build., guix-commits, 2022/04/24
- 78/233: gnu: Add python-afdko., guix-commits, 2022/04/24
- 80/233: gnu: Add skia., guix-commits, 2022/04/24
- 81/233: gnu: Add python-skia-pathops., guix-commits, 2022/04/24
- 82/233: gnu: Add python-ufolib2.,
guix-commits <=
- 84/233: gnu: Add python-ufo2ft., guix-commits, 2022/04/24
- 90/233: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/24
- 91/233: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/04/24
- 94/233: gnu: pylint: Run tests in parallel., guix-commits, 2022/04/24
- 99/233: gnu: Add python-pytest-forked-next., guix-commits, 2022/04/24
- 101/233: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/24
- 104/233: gnu: python-jupyter-client: Update to 7.2.2., guix-commits, 2022/04/24
- 105/233: gnu: python-ipykernel: Update to 6.13.0., guix-commits, 2022/04/24
- 106/233: gnu: Add python-pytest-tornado., guix-commits, 2022/04/24
- 107/233: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/04/24