guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ac99151705fc27eb4833600c603c922dde8ce6ce
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Sep 6 19:45:48 2025 +0200
gnu: sugar-terminal-activity: Switch to pyproject.
* gnu/packages/sugar.scm (sugar-terminal-activity): Run guix style.
[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: Icd017bf1f7f420e78f0e304047da427f43c41894
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/sugar.scm | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm
index 5fe117d3a1..615daeaaea 100644
--- a/gnu/packages/sugar.scm
+++ b/gnu/packages/sugar.scm
@@ -1185,19 +1185,20 @@ hesitate to feast on the goat.")
(package
(name "sugar-terminal-activity")
(version (git-version "47" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/sugarlabs/terminal-activity")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "11p7rrnlaw374h3qravhp915vdblvn07i2mnrzn7mhapkwvkg4h5"))))
- (build-system python-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sugarlabs/terminal-activity")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "11p7rrnlaw374h3qravhp915vdblvn07i2mnrzn7mhapkwvkg4h5"))))
+ (build-system pyproject-build-system)
(arguments
(list
- #:test-target "check"
+ #:test-flags
+ #~(list "check")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-launcher
@@ -1205,19 +1206,18 @@ hesitate to feast on the goat.")
(substitute* "activity/activity.info"
(("exec = sugar-activity3")
(string-append "exec = "
- (search-input-file inputs
"/bin/sugar-activity3"))))))
+ (search-input-file inputs
+
"/bin/sugar-activity3"))))))
+ (delete 'build)
(replace 'install
(lambda _
(setenv "HOME" "/tmp")
(invoke "python" "setup.py" "install"
(string-append "--prefix=" #$output)))))))
+ (native-inputs (list python-setuptools-next))
;; All these libraries are accessed via gobject introspection.
- (propagated-inputs
- (list gtk+
- vte/gtk+-3
- sugar-toolkit-gtk3))
- (inputs
- (list gettext-minimal))
+ (propagated-inputs (list gtk+ vte/gtk+-3 sugar-toolkit-gtk3))
+ (inputs (list gettext-minimal))
(home-page "https://help.sugarlabs.org/terminal.html")
(synopsis "Terminal activity for the Sugar learning environment")
(description "Terminal is a full-screen text mode program that provides