~ruther/guix-local

6c3ccc6b1f60dd55a4c499d895f79612244158c5 — Marius Bakke 3 years ago 5811d87
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.
1 files changed, 8 insertions(+), 1 deletions(-)

M gnu/packages/fontutils.scm
M gnu/packages/fontutils.scm => gnu/packages/fontutils.scm +8 -1
@@ 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