diff options
| author | Marius Bakke <marius@gnu.org> | 2022-01-19 20:23:03 +0100 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2022-01-19 21:41:13 +0100 |
| commit | 2ee870d0ab71c16e7c14b6d4f13340fff8d6c69a (patch) | |
| tree | 9838ce72e9d5e10cddb122fa6baece5a05943e14 /gnu | |
| parent | af36848fb323f44703cfc49dbd7f88196585e1a8 (diff) | |
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.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 80c36e3f552..eff1c4259bd 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -10977,9 +10977,20 @@ from an XML-based format.") | |||
| 10977 | (replace 'check | 10977 | (replace 'check |
| 10978 | (lambda* (#:key tests? #:allow-other-keys) | 10978 | (lambda* (#:key tests? #:allow-other-keys) |
| 10979 | (when tests? | 10979 | (when tests? |
| 10980 | (invoke "pytest")))))))) | 10980 | (invoke "pytest" "-vv" |
| 10981 | (native-inputs | 10981 | "-k" |
| 10982 | (modify-inputs (package-inputs python-fonttools) | 10982 | ;; XXX: These tests need .trm files that are |
| 10983 | ;; not shipped with the PyPI release. | ||
| 10984 | (format #f "not ~a" | ||
| 10985 | (string-join | ||
| 10986 | '("test_read_fontdimens_mathsy" | ||
| 10987 | "test_read_fontdimens_mathex" | ||
| 10988 | "test_read_fontdimens_vanilla" | ||
| 10989 | "test_read_boundary_char" | ||
| 10990 | "fontTools.tfmLib") | ||
| 10991 | " and not ")))))))))) | ||
| 10992 | (native-inputs | ||
| 10993 | (modify-inputs (package-native-inputs python-fonttools) | ||
| 10983 | (append python-pytest ;FIXME: indentation is broken | 10994 | (append python-pytest ;FIXME: indentation is broken |
| 10984 | python-brotli | 10995 | python-brotli |
| 10985 | python-fs | 10996 | python-fs |
