guix_mirror_bot pushed a commit to branch master
in repository guix.

commit e698cd05d3851f213525cc2c361d3cf0bffccb8a
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 22 21:00:42 2025 +0100

    gnu: python-opentype-sanitizer: Switch to pyproject.
    
    * gnu/packages/fontutils.scm (python-opentype-sanitizer):
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:phases>: Remove 'check phase replacement.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Ieafed5fee7d31293812e233695ea79fedd28b293
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/fontutils.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index f3a30dd68e..bfeaa6809e 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -886,7 +886,7 @@ different scripts and languages.")
        (uri (pypi-uri "opentype-sanitizer" version))
        (sha256
         (base32 "1wjy6chbnj9ic5yjxal6spln5jfzr8cigqs6ab0gj7q60dndrl5k"))))
-    (build-system python-build-system)
+    (build-system pyproject-build-system)
     (arguments
      (list
       #:phases
@@ -901,12 +901,8 @@ different scripts and languages.")
               (substitute* "src/python/ots/__init__.py"
                 (("^OTS_SANITIZE = .*")
                  (format #f "OTS_SANITIZE = ~s~%"
-                         (search-input-file inputs "bin/ots-sanitize"))))))
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest" "-vv")))))))
-    (native-inputs (list python-pytest python-setuptools-scm))
+                         (search-input-file inputs "bin/ots-sanitize")))))))))
+    (native-inputs (list python-pytest python-setuptools-scm 
python-setuptools))
     (inputs (list opentype-sanitizer))
     (home-page "https://github.com/googlefonts/ots-python";)
     (synopsis "Python wrapper for OpenType Sanitizer")

Reply via email to