[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
82/166: gnu: Add python-ufolib2.
From: |
guix-commits |
Subject: |
82/166: gnu: Add python-ufolib2. |
Date: |
Tue, 19 Apr 2022 09:18:00 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 4ba0daf3201e85922d94b40bfc8b9ad7f91e1d70
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")
- 22/166: gnu: Add python-defcon-bootstrap., (continued)
- 22/166: gnu: Add python-defcon-bootstrap., guix-commits, 2022/04/19
- 28/166: gnu: Add python-booleanoperations., guix-commits, 2022/04/19
- 29/166: gnu: Add python-fontparts-bootstrap., guix-commits, 2022/04/19
- 34/166: gnu: Add python-ufoprocessor., guix-commits, 2022/04/19
- 51/166: gnu: python-pytest-checkdocs: Update to 2.7.1., guix-commits, 2022/04/19
- 70/166: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/19
- 43/166: gnu: Add python-pytest-freezegun., guix-commits, 2022/04/19
- 67/166: gnu: Add python-ubelt., guix-commits, 2022/04/19
- 68/166: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/19
- 76/166: gnu: Add java-antlr4-runtime-cpp., guix-commits, 2022/04/19
- 82/166: gnu: Add python-ufolib2.,
guix-commits <=
- 84/166: gnu: Add python-ufo2ft., guix-commits, 2022/04/19
- 48/166: gnu: python-pytest-black: Update to 0.3.12., guix-commits, 2022/04/19
- 55/166: gnu: Add python-pytest-enabler., guix-commits, 2022/04/19
- 57/166: gnu: Add python-pip-run., guix-commits, 2022/04/19
- 59/166: gnu: Add python-pytest-perf., guix-commits, 2022/04/19
- 61/166: gnu: python-faker: Update to 13.3.4 and honor TESTS?., guix-commits, 2022/04/19
- 62/166: gnu: Add python-pytest-randomly., guix-commits, 2022/04/19
- 64/166: gnu: Add psautohint., guix-commits, 2022/04/19
- 65/166: gnu: Add python-ordered-set., guix-commits, 2022/04/19
- 71/166: gnu: python-pytest-cov: Update to 3.0.0., guix-commits, 2022/04/19