--- Begin Message ---
Subject: |
[PATCH] gnu: python-fonttools: Update to 4.2.2 |
Date: |
Wed, 25 Dec 2019 14:24:46 +0000 |
This updates python-fonttools to the newest version (4.2.2).
python2-fonttools is only updated to 3.44.0, as the 4.x versions don't support
Python 2.
* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.2.2.
* gnu/packages/python-xyz.scm (python2-fonttools): Update to 3.44.0.
---
gnu/packages/python-xyz.scm | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c06c2199de..4d6dd7b32d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -68,6 +68,7 @@
;;; Copyright © 2019 Wiktor Żelazny <address@hidden>
;;; Copyright © 2019 Tanguy Le Carrour <address@hidden>
;;; Copyright © 2019 Mădălin Ionel Patrașcu <address@hidden>
+;;; Copyright © 2019 Riku Viitanen <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6803,16 +6804,15 @@ add functionality and customization to your projects
with their own plugins.")
(define-public python2-straight-plugin
(package-with-python2 python-straight-plugin))
-(define-public python-fonttools
+(define (python-fonttools-version version hash)
(package
(name "python-fonttools")
- (version "3.38.0")
+ (version version)
(source (origin
(method url-fetch)
(uri (pypi-uri "fonttools" version ".zip"))
(sha256
- (base32
- "12ripk3s7skgxr1bs9r8n13r94ym3s8iir7ivfixls9fa4dabmlh"))))
+ (base32 hash))))
(build-system python-build-system)
(native-inputs
`(("unzip" ,unzip)
@@ -6828,8 +6828,16 @@ also contains a tool called “TTX” which converts
TrueType/OpenType fonts to
from an XML-based format.")
(license license:expat)))
+(define-public python-fonttools
+ (python-fonttools-version
+ "4.2.2"
+ "012qqspnwdl4vy8qgzzpfglkk5dgzxiw0fak2jq74ngygvz3vfv6"))
+
(define-public python2-fonttools
- (package-with-python2 python-fonttools))
+ (package-with-python2
+ (python-fonttools-version
+ "3.44.0" ;; last version to support Python 2
+ "0v6399g755f2hn1ry62i5b6gdinf2fpx2966v3bxh6bjw1accb5p")))
(define-public python-ly
(package
--
2.24.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#38742] [PATCH] gnu: python-fonttools: Update to 4.2.2 |
Date: |
Sun, 12 Jan 2020 22:22:13 +0100 |
User-agent: |
Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) |
Riku Viitanen <address@hidden> writes:
> Here's the rebased patch. I accidentally sent it to only Marius earlier.
>
> Python2-fonttools is already 3.44.0 in core-updates, so I left that untouched.
>
> From cb683c9119753df4734bebe5855d2d1993b04cff Mon Sep 17 00:00:00 2001
> From: Riku Viitanen <address@hidden>
> Date: Thu, 26 Dec 2019 20:00:01 +0200
> Subject: [PATCH] gnu: python-fonttools: Update to 4.2.2.
>
> * gnu/packages/python-xyz.scm (python-fonttools): Update to 4.2.2.
Pushed to 'core-updates', thanks!
By the way, I notice the tests are no longer running (it was also the
case before this patch). Could you look into that?
signature.asc
Description: PGP signature
--- End Message ---