[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/19: gnu: Add python-glyphsets.
From: |
guix-commits |
Subject: |
06/19: gnu: Add python-glyphsets. |
Date: |
Fri, 16 Sep 2022 13:04:21 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 82d36421bc285da4d16a145301ceca0ce5ee9cde
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Sep 16 16:40:38 2022 +0200
gnu: Add python-glyphsets.
* gnu/packages/fontutils.scm (python-glyphsets): New variable.
---
gnu/packages/fontutils.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 6e89124d5e..39fc56b35d 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -603,6 +603,40 @@ process. FontParts is the successor of RoboFab.")
to UFOs and DesignSpace files via @code{defcon} and @code{designspaceLib}.")
(license license:asl2.0)))
+(define-public python-glyphsets
+ (package
+ (name "python-glyphsets")
+ (version "0.5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "glyphsets" version))
+ (sha256
+ (base32
+ "1dc24i0hkd85gkkg3bqjhagjyw3xsqxazd86yh2l60c1wr5n9y6g"))))
+ (build-system python-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'loosen-version-constraints
+ (lambda _
+ (substitute* "setup.py"
+ (("setuptools_scm>=4,<6\\.1")
+ "setuptools_scm>=4"))))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "tests/testglyphdata.py")
+ (invoke "pytest" "-vv" "tests/testusage.py")))))))
+ (native-inputs (list python-pytest python-setuptools-scm))
+ (propagated-inputs
+ (list python-defcon python-fonttools python-glyphslib))
+ (home-page "https://github.com/googlefonts/glyphsets/")
+ (synopsis "Evaluate coverage of glyph sets")
+ (description
+ "This package provides an API with data about glyph sets for many
+different scripts and languages.")
+ (license license:asl2.0)))
+
(define-public python-opentype-sanitizer
(package
(name "python-opentype-sanitizer")
- branch master updated (106660e3ff -> 888dfc8eb6), guix-commits, 2022/09/16
- 09/19: gnu: python-fontparts: Update to 0.10.8., guix-commits, 2022/09/16
- 06/19: gnu: Add python-glyphsets.,
guix-commits <=
- 11/19: gnu: python-fonttools-next: Update to 4.37.1., guix-commits, 2022/09/16
- 12/19: gnu: python-statmake: Build with python-fonttools-next., guix-commits, 2022/09/16
- 16/19: gnu: python-afdko: Update to 3.9.1., guix-commits, 2022/09/16
- 17/19: gnu: antlr4: Update to 4.10.1., guix-commits, 2022/09/16
- 01/19: gnu: hitch: Update to 1.7.3., guix-commits, 2022/09/16
- 02/19: gnu: nfs-utils: Remove unused input., guix-commits, 2022/09/16
- 04/19: gnu: Add python-openstep-plist., guix-commits, 2022/09/16
- 15/19: gnu: font-amiri: Update to 0.117., guix-commits, 2022/09/16
- 10/19: gnu: python-compreffor: Update to 0.5.2., guix-commits, 2022/09/16
- 08/19: gnu: python-defcon: Update to 0.10.2., guix-commits, 2022/09/16