[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/166: gnu: Add python-defcon.
From: |
guix-commits |
Subject: |
31/166: gnu: Add python-defcon. |
Date: |
Tue, 19 Apr 2022 09:17:51 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 54e4418281d6340fbb870acfb24a361141edd9dd
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Apr 5 00:09:14 2022 -0400
gnu: Add python-defcon.
* gnu/packages/fontutils.scm (python-defcon): New variable.
(python2-defcon): Adjust to inherit from it.
---
gnu/packages/fontutils.scm | 36 ++++++++++++++++--------------------
1 file changed, 16 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index e8839fdca7..503ff7afa3 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -960,35 +960,31 @@ behavior, not object observing or maintaining cached
data. Defcon implements
UFO3 as described by the UFO font format.")
(license license:expat)))
+(define-public python-defcon
+ (hidden-package
+ (package/inherit python-defcon-bootstrap
+ (name "python-defcon")
+ (propagated-inputs
+ (modify-inputs (package-propagated-inputs python-defcon-bootstrap)
+ (replace "python-fontpens-bootstrap" python-fontpens))))))
+
(define-public python2-defcon
(package
+ (inherit python-defcon)
(name "python2-defcon")
(version "0.3.5")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "defcon" version ".zip"))
- (sha256
- (base32
- "03jlm2gy9lvbwj68kfdm43yaddwd634jwkdg4wf0jxx2s8mwbg22"))))
- (build-system python-build-system)
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "defcon" version ".zip"))
+ (sha256
+ (base32
+ "03jlm2gy9lvbwj68kfdm43yaddwd634jwkdg4wf0jxx2s8mwbg22"))))
(arguments
`(#:python ,python-2))
(native-inputs
(list unzip python2-pytest python2-pytest-runner))
(propagated-inputs
- (list python2-fonttools python2-ufolib))
- (home-page "https://pypi.org/project/defcon/")
- (synopsis "Flexible objects for representing @acronym{UFO, unified font
object} data")
- (description
- "Defcon is a set of @acronym{UFO, unified font object} based objects
-optimized for use in font editing applications. The objects are built to
-be lightweight, fast and flexible. The objects are very bare-bones and
-they are not meant to be end-all, be-all objects. Rather, they are meant
-to provide base functionality so that you can focus on your application’s
-behavior, not object observing or maintaining cached data. Defcon
-implements UFO3 as described by the UFO font format.")
- (license license:expat)))
+ (list python2-fonttools python2-ufolib))))
(define-public nototools
(package
- 15/166: gnu: Add texlive-makecmds., (continued)
- 15/166: gnu: Add texlive-makecmds., guix-commits, 2022/04/19
- 16/166: gnu: Add texlive-csplain., guix-commits, 2022/04/19
- 10/166: gnu: python-ipython: Update to 8.2.0 [fixes CVE-2022-21699]., guix-commits, 2022/04/19
- 20/166: gnu: Add opentype-sanitizer., guix-commits, 2022/04/19
- 21/166: gnu: Add python-opentype-sanitizer., guix-commits, 2022/04/19
- 23/166: gnu: Add python-fontmath., guix-commits, 2022/04/19
- 24/166: gnu: Add python-unicodedata2., guix-commits, 2022/04/19
- 17/166: gnu: Add texlive-cs., guix-commits, 2022/04/19
- 32/166: gnu: Add python-fontparts., guix-commits, 2022/04/19
- 11/166: gnu: python-nbformat: Update to 5.3.0., guix-commits, 2022/04/19
- 31/166: gnu: Add python-defcon.,
guix-commits <=
- 35/166: gnu: Add python-ufonormalizer., guix-commits, 2022/04/19
- 38/166: gnu: Add python-jaraco-context-bootstrap., guix-commits, 2022/04/19
- 40/166: gnu: Add python-autocommand., guix-commits, 2022/04/19
- 41/166: gnu: Add python-types-freezegun., guix-commits, 2022/04/19
- 39/166: gnu: Add python-jaraco-functools-bootstrap., guix-commits, 2022/04/19
- 50/166: gnu: Add python-types-docutils., guix-commits, 2022/04/19
- 19/166: gnu: Add python-pcpp., guix-commits, 2022/04/19
- 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