diff options
author | Marius Bakke <marius@gnu.org> | 2022-09-18 02:22:56 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-09-18 16:18:34 +0200 |
commit | 6c3ccc6b1f60dd55a4c499d895f79612244158c5 (patch) | |
tree | f121cd17eca6da8d32d69f803eddad9189126de7 | |
parent | 5811d876c35022857ed6a7e2e21763b30a4ec800 (diff) | |
download | guix-6c3ccc6b1f60dd55a4c499d895f79612244158c5.tar guix-6c3ccc6b1f60dd55a4c499d895f79612244158c5.tar.gz |
gnu: python-ufo2ft: Don't use pytest-runner.
pytest-runner is deprecated and does not work properly with the newer
setuptools in Python 3.10 for this package.
* gnu/packages/fontutils.scm (python-ufo2ft)[arguments]: Override check
phase.
[native-inputs]: Remove PYTHON-PYTEST-RUNNER.
-rw-r--r-- | gnu/packages/fontutils.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 3806d78b1e..9b7f1ac879 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -447,8 +447,15 @@ converts any cubic curves to quadratic. The most useful function is probably (sha256 (base32 "068hm62s1iphyg66w96vgiif6ahpcsaf8fr44rk6jdf71f6fyqd5")))) (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv"))))))) (native-inputs - (list python-pytest python-pytest-runner python-setuptools-scm)) + (list python-pytest python-setuptools-scm)) (propagated-inputs (list python-booleanoperations python-cffsubr |