summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-23 19:11:06 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-27 00:02:35 +0000
commit2078e378d2de3aa02fbca093d1bfa8aa8bd9514e (patch)
tree1aa48aeefb9d0f93be9569ea719c77379fa96da2
parentc1ea57265a78b1662a9c1106019fc9b4871f9bd7 (diff)
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 <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/sphinx.scm26
1 files changed, 3 insertions, 23 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index c4084c0f71c..cdd3468bee1 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