diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-04-12 11:14:52 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-04-12 12:03:36 -0400 |
commit | 4e0c1a8debd9dd0e1a651ce4f5685c699dd318db (patch) | |
tree | 427437e45956ace9b19b3ab8600a55e6a73b2f2c /gnu/packages/fontutils.scm | |
parent | 5b73d463d87e56a40f0edc4336302b89bddc0a0e (diff) | |
download | guix-4e0c1a8debd9dd0e1a651ce4f5685c699dd318db.tar guix-4e0c1a8debd9dd0e1a651ce4f5685c699dd318db.tar.gz |
gnu: psautohint: Disable a failing test.
* gnu/packages/fontutils.scm (psautohint) [build-system]: Use
pyproject-build-system.
[arguments]: Remove check phase override. Add #:test-flags, disabling a new test.
Diffstat (limited to 'gnu/packages/fontutils.scm')
-rw-r--r-- | gnu/packages/fontutils.scm | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 36e72e8439..829da7c9d9 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -738,9 +738,12 @@ suite of the @code{psautohint} package.") (uri (pypi-uri "psautohint" version)) (sha256 (base32 "0zzz7hy1kkkjfrrm9ly2di3xv2x1ywdqhbyqy21k670jysldw3nm")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list + ;; The CJKSparseVar.subset.hinted.otf test fails with slightly different + ;; output caused by the newer fonttools version used in Guix. + #:test-flags #~(list "-k" "not CJKSparseVar.subset.hinted.otf") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'copy-font-data @@ -750,11 +753,7 @@ suite of the @code{psautohint} package.") #$(this-package-native-input "psautohint-font-data") "tests/integration/data") (for-each make-file-writable - (find-files "tests/integration/data")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) + (find-files "tests/integration/data"))))))) (propagated-inputs (list python-fonttools-next)) (native-inputs (list psautohint-font-data |