guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e1608b0025269923124ad623d3c925b061e669ae
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 22 20:52:53 2025 +0100

    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 <[email protected]>
---
 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 98a043af02..5465e86be5 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.

Reply via email to