guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

72/103: gnu: python-fonttools: Fix tests and add missing inputs.


From: guix-commits
Subject: 72/103: gnu: python-fonttools: Fix tests and add missing inputs.
Date: Wed, 5 Jan 2022 09:44:38 -0500 (EST)

lbraun pushed a commit to branch wip-python-pep517
in repository guix.

commit 4cebc09097724cfe05faeb9a9b899b8a77c5adca
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Dec 31 12:55:52 2021 +0100

    gnu: python-fonttools: Fix tests and add missing inputs.
    
    * gnu/packages/python-xyz.scm (python-fonttools)[origin]: Fetch from git.
    [propagated-inputs]: Add python-fs and python-brotli.
---
 gnu/packages/python-xyz.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 33e5516847..f7ad99f082 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10462,12 +10462,17 @@ cloud without learning a new API; sandbox your file 
writing code.")
     (name "python-fonttools")
     (version "4.6.0")
     (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "fonttools" version ".zip"))
+              ;; The PyPI release is missing some test files.
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/fonttools/fonttools";)
+                    (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1mq9kdzhcsp96bhv7smnrpdg1s4z5wh70bsl99c0jmcrahqdisqq"))))
+                "0gmqxl7xwpwzk6dp68iiv7xz81cavzb7976aqm04n1pq6xc90k70"))))
     (build-system python-build-system)
+    (propagated-inputs (list python-fs python-brotli))
     (native-inputs
      (list unzip python-pytest python-pytest-runner))
     (home-page "https://github.com/fonttools/fonttools";)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]