diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 19:27:04 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-10 10:26:14 +0100 |
| commit | 085f50b37188973d6bf0c87577c3d4ec728408c0 (patch) | |
| tree | 3c0f80f9e30159b69407cfb8bcadb3e26505cfc1 /gnu | |
| parent | 1498216f503ebfd2d1134bd2e5b0aa67751c63fd (diff) | |
gnu: sugar-help-activity: Switch to pyproject.
* gnu/packages/sugar.scm (sugar-help-activity):
[build-system]: Switch to pyproject-build-system.
[arguments]: Replace <#:test-target> with <#:test-flags>.
<#:phases>: Run guix style. Delete 'build phase.
[native-inputs]: Add python-setuptools-next.
Change-Id: I90e33b0e66ee9e39077e377121c6b56010d619fb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/sugar.scm | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index ceaa2c0aee1..202739dea7d 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm @@ -745,19 +745,19 @@ the Journal.") (package (name "sugar-help-activity") (version (git-version "20" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/sugarlabs/help-activity") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0awjbqyc9f74dx0d7fgjk42vfsygxr8jhwqiv4hpggqcawc02xv8")))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/sugarlabs/help-activity") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0awjbqyc9f74dx0d7fgjk42vfsygxr8jhwqiv4hpggqcawc02xv8")))) + (build-system pyproject-build-system) (arguments (list - #:test-target "check" + #:test-flags #~(list "check") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'use-newer-webkit @@ -770,22 +770,23 @@ the Journal.") (substitute* "activity/activity.info" (("exec = sugar-activity3") (string-append "exec = " - (search-input-file inputs "/bin/sugar-activity3")))))) + (search-input-file inputs + "/bin/sugar-activity3")))))) (replace 'build - (lambda _ (invoke "make" "html"))) + (lambda _ + (invoke "make" "html"))) (replace 'install (lambda _ (invoke "python" "setup.py" "install" (string-append "--prefix=" #$output))))))) (native-inputs - (list sugar-toolkit-gtk3 - python-sphinx)) - (propagated-inputs - (list webkitgtk-for-gtk3)) + (list sugar-toolkit-gtk3 python-sphinx python-setuptools-next)) + (propagated-inputs (list webkitgtk-for-gtk3)) (home-page "https://github.com/sugarlabs/help-activity") (synopsis "Sugar activity for accessing documentation and manuals") - (description "This is an activity for the Sugar environment which aims -to provide users with easy access to documentation and manuals.") + (description + "This is an activity for the Sugar environment which aims to provide +users with easy access to documentation and manuals.") (license license:gpl3+)))) (define-public sugar-jukebox-activity |
