[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: python-fonttools: Fix build failure.
From: |
guix-commits |
Subject: |
02/03: gnu: python-fonttools: Fix build failure. |
Date: |
Wed, 19 Jan 2022 15:46:07 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 2ee870d0ab71c16e7c14b6d4f13340fff8d6c69a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Wed Jan 19 20:23:03 2022 +0100
gnu: python-fonttools: Fix build failure.
* gnu/packages/python-xyz.scm (python-fonttools-with-tests)[arguments]: Skip
tests that cannot run.
[native-inputs]: Fix inheritance.
---
gnu/packages/python-xyz.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 80c36e3f55..eff1c4259b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10977,9 +10977,20 @@ from an XML-based format.")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "pytest"))))))))
- (native-inputs
- (modify-inputs (package-inputs python-fonttools)
+ (invoke "pytest" "-vv"
+ "-k"
+ ;; XXX: These tests need .trm files that are
+ ;; not shipped with the PyPI release.
+ (format #f "not ~a"
+ (string-join
+ '("test_read_fontdimens_mathsy"
+ "test_read_fontdimens_mathex"
+ "test_read_fontdimens_vanilla"
+ "test_read_boundary_char"
+ "fontTools.tfmLib")
+ " and not "))))))))))
+ (native-inputs
+ (modify-inputs (package-native-inputs python-fonttools)
(append python-pytest ;FIXME: indentation is broken
python-brotli
python-fs