From e1608b0025269923124ad623d3c925b061e669ae Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sat, 22 Nov 2025 20:52:53 +0100 Subject: [PATCH] gnu: python-cffsubr: Switch to pyproject. * gnu/packages/fontutils.scm (python-cffsubr): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Remove 'check phase replacement. [native-inputs]: Add python-setuptools. Remove python-wheel. Change-Id: I5ad7e1ceacbb265b12d7374ce6f763dad19991f5 Signed-off-by: Sharlatan Hellseher --- gnu/packages/fontutils.scm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 98a043af02df531b7d24ddbe7de0d9729e09bd38..5465e86be57241086b6612c1ef5dd363b291e50b 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -485,7 +485,7 @@ other operations on paths.") (snippet '(delete-file-recursively "external")) ;unbundle ADFKO (sha256 (base32 "1yrfjn3mdi48pg78yzlmskdz9i4nf2wg7h8ivnn9yrw1vc5iaibp")))) - (build-system python-build-system) + (build-system pyproject-build-system) (arguments (list #:phases @@ -509,12 +509,9 @@ other operations on paths.") (("with path\\(__name__, TX_EXE) as tx_cli:") "") ((" (return subprocess.run\\(\\[)str\\(tx_cli)(].*)" _ h t) - (format #f "~a~s~a" h tx t))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-vv"))))))) - (native-inputs (list python-pytest python-setuptools-scm python-wheel)) + (format #f "~a~s~a" h tx t)))))))) + (native-inputs + (list python-pytest python-setuptools-scm python-setuptools)) ;; Use version 3.6.1, which matches the bundled version and does not ;; depend on Java.