guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 219a2523106cb42e4e7d57cb427f6175912bd5d0
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Nov 22 20:58:45 2025 +0100

    gnu: python-glyphsets: Switch to pyproject.
    
    * gnu/packages/fontutils.scm (python-glyphsets):
    [build-system]: Switch to pyproject-build-system.
    [source, arguments]: Run guix style.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: I8d09899faf5035ff8be77b3864f7874ad7b86f7a
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/fontutils.scm | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 3d50246a37..f3a30dd68e 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -845,27 +845,28 @@ to UFOs and DesignSpace files via @code{defcon} and 
@code{designspaceLib}.")
  (package
   (name "python-glyphsets")
   (version "0.5.2")
-  (source (origin
-            (method url-fetch)
-            (uri (pypi-uri "glyphsets" version))
-            (sha256
-             (base32
-              "1dc24i0hkd85gkkg3bqjhagjyw3xsqxazd86yh2l60c1wr5n9y6g"))))
-  (build-system python-build-system)
+  (source
+   (origin
+     (method url-fetch)
+     (uri (pypi-uri "glyphsets" version))
+     (sha256
+      (base32 "1dc24i0hkd85gkkg3bqjhagjyw3xsqxazd86yh2l60c1wr5n9y6g"))))
+  (build-system pyproject-build-system)
   (arguments
-   (list #:phases
-         #~(modify-phases %standard-phases
-             (add-after 'unpack 'loosen-version-constraints
-               (lambda _
-                 (substitute* "setup.py"
-                   (("setuptools_scm>=4,<6\\.1")
-                    "setuptools_scm>=4"))))
-             (replace 'check
-               (lambda* (#:key tests? #:allow-other-keys)
-                 (when tests?
-                   (invoke "pytest" "-vv" "tests/testglyphdata.py")
-                   (invoke "pytest" "-vv" "tests/testusage.py")))))))
-  (native-inputs (list python-pytest python-setuptools-scm))
+   (list
+    #:phases
+    #~(modify-phases %standard-phases
+        (add-after 'unpack 'loosen-version-constraints
+          (lambda _
+            (substitute* "setup.py"
+              (("setuptools_scm>=4,<6\\.1")
+               "setuptools_scm>=4"))))
+        (replace 'check
+          (lambda* (#:key tests? #:allow-other-keys)
+            (when tests?
+              (invoke "pytest" "-vv" "tests/testglyphdata.py")
+              (invoke "pytest" "-vv" "tests/testusage.py")))))))
+  (native-inputs (list python-pytest python-setuptools-scm python-setuptools))
   (propagated-inputs
    (list python-defcon python-fonttools-minimal python-glyphslib))
   (home-page "https://github.com/googlefonts/glyphsets/";)

Reply via email to