diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-06 19:09:59 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-10 10:26:13 +0100 |
| commit | 01a69c74d9368c0a288db0d9cf1fd811b6b4f03b (patch) | |
| tree | d3fb1e14421a08b38d60f0c268c4d65450c68ede /gnu/packages/sugar.scm | |
| parent | 0f4bcfe32d3ec7df9e5b23131a2816d6ace0690c (diff) | |
gnu: sugar-browse-activity: Switch to pyproject.
* gnu/packages/sugar.scm (sugar-browse-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: Ibeb793989fcc4d7b3c05126b438cace25802f66e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/sugar.scm')
| -rw-r--r-- | gnu/packages/sugar.scm | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gnu/packages/sugar.scm b/gnu/packages/sugar.scm index 54e10e0bff1..7ec36ccef3f 100644 --- a/gnu/packages/sugar.scm +++ b/gnu/packages/sugar.scm | |||
| @@ -459,19 +459,19 @@ a Tetris-like game.") | |||
| 459 | (package | 459 | (package |
| 460 | (name "sugar-browse-activity") | 460 | (name "sugar-browse-activity") |
| 461 | (version "208") | 461 | (version "208") |
| 462 | (source (origin | 462 | (source |
| 463 | (method git-fetch) | 463 | (origin |
| 464 | (uri (git-reference | 464 | (method git-fetch) |
| 465 | (url "https://github.com/sugarlabs/browse-activity") | 465 | (uri (git-reference |
| 466 | (commit (string-append "v" version)))) | 466 | (url "https://github.com/sugarlabs/browse-activity") |
| 467 | (file-name (git-file-name name version)) | 467 | (commit (string-append "v" version)))) |
| 468 | (sha256 | 468 | (file-name (git-file-name name version)) |
| 469 | (base32 | 469 | (sha256 |
| 470 | "1lxwkwz7bz8vd0jgsgvlwdm6gkrmzcmwlyqvp12j2jk5mpr4fp44")))) | 470 | (base32 "1lxwkwz7bz8vd0jgsgvlwdm6gkrmzcmwlyqvp12j2jk5mpr4fp44")))) |
| 471 | (build-system python-build-system) | 471 | (build-system pyproject-build-system) |
| 472 | (arguments | 472 | (arguments |
| 473 | (list | 473 | (list |
| 474 | #:test-target "check" | 474 | #:test-flags #~(list "check") |
| 475 | #:phases | 475 | #:phases |
| 476 | #~(modify-phases %standard-phases | 476 | #~(modify-phases %standard-phases |
| 477 | (add-after 'unpack 'patch-reference-to-gschema-compiler | 477 | (add-after 'unpack 'patch-reference-to-gschema-compiler |
| @@ -484,7 +484,9 @@ a Tetris-like game.") | |||
| 484 | (substitute* "activity/activity.info" | 484 | (substitute* "activity/activity.info" |
| 485 | (("exec = sugar-activity3") | 485 | (("exec = sugar-activity3") |
| 486 | (string-append "exec = " | 486 | (string-append "exec = " |
| 487 | (search-input-file inputs "/bin/sugar-activity3")))))) | 487 | (search-input-file inputs |
| 488 | "/bin/sugar-activity3")))))) | ||
| 489 | (delete 'build) | ||
| 488 | (replace 'install | 490 | (replace 'install |
| 489 | (lambda _ | 491 | (lambda _ |
| 490 | (setenv "HOME" "/tmp") | 492 | (setenv "HOME" "/tmp") |
| @@ -501,14 +503,12 @@ a Tetris-like game.") | |||
| 501 | sugar-toolkit-gtk3 | 503 | sugar-toolkit-gtk3 |
| 502 | telepathy-glib | 504 | telepathy-glib |
| 503 | webkitgtk-for-gtk3)) | 505 | webkitgtk-for-gtk3)) |
| 504 | (inputs | 506 | (inputs (list (list glib "bin"))) |
| 505 | (list (list glib "bin"))) | 507 | (native-inputs (list gettext-minimal python-setuptools-next)) |
| 506 | (native-inputs | ||
| 507 | (list gettext-minimal)) | ||
| 508 | (home-page "https://help.sugarlabs.org/browse.html") | 508 | (home-page "https://help.sugarlabs.org/browse.html") |
| 509 | (synopsis "Sugar activity to browse the internet") | 509 | (synopsis "Sugar activity to browse the internet") |
| 510 | (description "Browse is a web browser activity for the Sugar desktop.") | 510 | (description "Browse is a web browser activity for the Sugar desktop.") |
| 511 | (license (list license:cc0 ;metadata | 511 | (license (list license:cc0 ;metadata |
| 512 | license:lgpl2.0+ | 512 | license:lgpl2.0+ |
| 513 | license:gpl2+ | 513 | license:gpl2+ |
| 514 | license:gpl3+)))) | 514 | license:gpl3+)))) |
