diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 19:16:17 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-10 10:26:14 +0100 |
| commit | 435af65a0ed159164bdda94eca6acb75f6e15d0d (patch) | |
| tree | b03ced66483ddabb832fe04fbc74cc221e88f097 /gnu/packages/sugar.scm | |
| parent | 230847ceb228312768129309c8a4aa561480fd3d (diff) | |
gnu: sugar-chat-activity: Switch to pyproject.
* gnu/packages/sugar.scm (sugar-chat-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: I8b2adc9c9d2a0c12e343f111019a61021a9ab44a
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/sugar.scm')
| -rw-r--r-- | gnu/packages/sugar.scm | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index a54111c9815..388acd001fa 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm | |||
| @@ -578,19 +578,19 @@ present in gene regulatory networks.") | |||
| 578 | (package | 578 | (package |
| 579 | (name "sugar-chat-activity") | 579 | (name "sugar-chat-activity") |
| 580 | (version (git-version "86" revision commit)) | 580 | (version (git-version "86" revision commit)) |
| 581 | (source (origin | 581 | (source |
| 582 | (method git-fetch) | 582 | (origin |
| 583 | (uri (git-reference | 583 | (method git-fetch) |
| 584 | (url "https://github.com/sugarlabs/chat") | 584 | (uri (git-reference |
| 585 | (commit commit))) | 585 | (url "https://github.com/sugarlabs/chat") |
| 586 | (file-name (git-file-name name version)) | 586 | (commit commit))) |
| 587 | (sha256 | 587 | (file-name (git-file-name name version)) |
| 588 | (base32 | 588 | (sha256 |
| 589 | "1gp1ljazm119hqzwz0rkr6k588ngd68manndm808pj5vgbv7qsdq")))) | 589 | (base32 "1gp1ljazm119hqzwz0rkr6k588ngd68manndm808pj5vgbv7qsdq")))) |
| 590 | (build-system python-build-system) | 590 | (build-system pyproject-build-system) |
| 591 | (arguments | 591 | (arguments |
| 592 | (list | 592 | (list |
| 593 | #:test-target "check" | 593 | #:test-flags #~(list "check") |
| 594 | #:phases | 594 | #:phases |
| 595 | #~(modify-phases %standard-phases | 595 | #~(modify-phases %standard-phases |
| 596 | (add-after 'unpack 'patch-launcher | 596 | (add-after 'unpack 'patch-launcher |
| @@ -598,7 +598,9 @@ present in gene regulatory networks.") | |||
| 598 | (substitute* "activity/activity.info" | 598 | (substitute* "activity/activity.info" |
| 599 | (("exec = sugar-activity3") | 599 | (("exec = sugar-activity3") |
| 600 | (string-append "exec = " | 600 | (string-append "exec = " |
| 601 | (search-input-file inputs "/bin/sugar-activity3")))))) | 601 | (search-input-file inputs |
| 602 | "/bin/sugar-activity3")))))) | ||
| 603 | (delete 'build) | ||
| 602 | (replace 'install | 604 | (replace 'install |
| 603 | (lambda _ | 605 | (lambda _ |
| 604 | (setenv "HOME" "/tmp") | 606 | (setenv "HOME" "/tmp") |
| @@ -614,8 +616,7 @@ present in gene regulatory networks.") | |||
| 614 | python-pygobject | 616 | python-pygobject |
| 615 | sugar-toolkit-gtk3 | 617 | sugar-toolkit-gtk3 |
| 616 | telepathy-glib)) | 618 | telepathy-glib)) |
| 617 | (native-inputs | 619 | (native-inputs (list gettext-minimal python-setuptools-next)) |
| 618 | (list gettext-minimal)) | ||
| 619 | (home-page "https://help.sugarlabs.org/chat.html") | 620 | (home-page "https://help.sugarlabs.org/chat.html") |
| 620 | (synopsis "Sugar activity to chat") | 621 | (synopsis "Sugar activity to chat") |
| 621 | (description "Chat is an activity used to exchange messages with friends | 622 | (description "Chat is an activity used to exchange messages with friends |
