guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 2078e378d2de3aa02fbca093d1bfa8aa8bd9514e
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 23 19:11:06 2025 +0100

    gnu: python-sphinx-theme-builder: Switch to pyproject.
    
    * gnu/packages/sphinx.scm (python-sphinx-theme-builder):
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Drop them.
    
    Change-Id: Ic01a4787b9ac696e1995f1debf585babcd2be0eb
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/sphinx.scm | 26 +++-----------------------
 1 file changed, 3 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index c4084c0f71..cdd3468bee 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1469,34 +1469,14 @@ automated way to document command-line programs.  It 
scans
     (version "0.2.0b1")
     (source
      (origin
-       (method git-fetch)               ;no tests in pypi archive
+       (method git-fetch)
        (uri (git-reference
              (url "https://github.com/pradyunsg/sphinx-theme-builder";)
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32
-         "15gvwzd4l3wcmd6fns8xvv44yzxmamr1nfn28mp12sdw2y10v2ba"))))
-    (build-system python-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          ;; XXX: PEP 517 manual build copied from python-isort.
-          (replace 'build
-            (lambda _
-              ;; ZIP does not support timestamps before 1980.
-              (setenv "SOURCE_DATE_EPOCH" "315532800")
-              (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
-          (replace 'check
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (invoke "pytest" "-vv"))))
-          (replace 'install
-            (lambda _
-              (let ((whl (car (find-files "dist" "\\.whl$"))))
-                (invoke "pip" "--no-cache-dir" "--no-input"
-                        "install" "--no-deps" "--prefix" #$output whl)))))))
+        (base32 "15gvwzd4l3wcmd6fns8xvv44yzxmamr1nfn28mp12sdw2y10v2ba"))))
+    (build-system pyproject-build-system)
     (native-inputs (list python-flit-core python-pytest))
     (propagated-inputs
      (list python-pypa-build

Reply via email to