[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/233: gnu: Add python-ufonormalizer.
From: |
guix-commits |
Subject: |
35/233: gnu: Add python-ufonormalizer. |
Date: |
Sun, 24 Apr 2022 23:39:38 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 6b43dd4a4e541d84699cecf979ee9bcff646e60c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 5 00:52:28 2022 -0400
gnu: Add python-ufonormalizer.
* gnu/packages/fontutils.scm (python-ufonormalizer): New variable.
---
gnu/packages/fontutils.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 062b8fbd62..a2e71f1ad0 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -357,6 +357,32 @@ tools can generate partial instances.
@end itemize")
(license license:expat)))
+(define-public python-ufonormalizer
+ (package
+ (name "python-ufonormalizer")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ufonormalizer" version ".zip"))
+ (sha256
+ (base32 "0v5awian2alap7nvxfz38aahyqbqnma16nrqcpr8602hbbki04g6"))))
+ (build-system python-build-system)
+ (native-inputs (list python-setuptools-scm unzip))
+ (home-page "https://github.com/unified-font-object/ufoNormalizer")
+ (synopsis "Script to normalize @acronym{UFO, Unified Font Object} data")
+ (description "The purpose of the @command{ufonormalizer} command is to
+provide a standard formatting so that updates to @acronym{UFO, Unified Font
+Object} data can be usefully versioned. Examples of formatting applied by
+ufoNormalizer include:
+@itemize
+@item Changing floating-point numbers to integers where it doesn't alter the
+value (e.g. @samp{x=\"95.0\"} becomes @samp{x=\"95\"})
+@item Rounding floating-point numbers to 10 digits
+@item Formatting XML with tabs rather than spaces.
+@end itemize")
+ (license license:bsd-3)))
+
(define-public ttfautohint
(package
(name "ttfautohint")
- 24/233: gnu: Add python-unicodedata2., (continued)
- 24/233: gnu: Add python-unicodedata2., guix-commits, 2022/04/24
- 38/233: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/04/24
- 47/233: gnu: python-importlib-metadata: Update to 4.11.3., guix-commits, 2022/04/24
- 49/233: gnu: python-mypy: Update to 0.942 and fix search path., guix-commits, 2022/04/24
- 52/233: gnu: Add python-jaraco-classes., guix-commits, 2022/04/24
- 58/233: gnu: Add python-tempora., guix-commits, 2022/04/24
- 56/233: gnu: Add python-path., guix-commits, 2022/04/24
- 64/233: gnu: Add psautohint., guix-commits, 2022/04/24
- 33/233: gnu: Add python-cu2qu., guix-commits, 2022/04/24
- 34/233: gnu: Add python-ufoprocessor., guix-commits, 2022/04/24
- 35/233: gnu: Add python-ufonormalizer.,
guix-commits <=
- 36/233: gnu: Add python-types-toml., guix-commits, 2022/04/24
- 37/233: gnu: Add python-pytest-mypy., guix-commits, 2022/04/24
- 40/233: gnu: Add python-autocommand., guix-commits, 2022/04/24
- 25/233: gnu: python-fonttools-with-test: Rename to python-fonttools-full., guix-commits, 2022/04/24
- 44/233: gnu: Add python-pytest-enabler-bootstrap., guix-commits, 2022/04/24
- 46/233: gnu: Add python-pip-run-bootstrap., guix-commits, 2022/04/24
- 59/233: gnu: Add python-pytest-perf., guix-commits, 2022/04/24
- 54/233: gnu: Add python-jaraco-functools., guix-commits, 2022/04/24
- 27/233: gnu: Add python-fontpens-bootstrap., guix-commits, 2022/04/24
- 41/233: gnu: Add python-types-freezegun., guix-commits, 2022/04/24