diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-27 11:56:26 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-01 19:35:00 +0000 |
| commit | df99ec9e7b2825c1f9a5fb0c44336e0d54dce90e (patch) | |
| tree | d3237d252cbfb178eeacbdcbbe03bd0148d8e971 /gnu/packages | |
| parent | 01198c6f06f9bdacffb09321cdf16702e651ec94 (diff) | |
gnu: python-liblarch: Switch to pyproject.
* gnu/packages/gnome.scm (python-liblarch):
[build-system]: Switch to pyproject-build-system.
[arguments]: Refresh them, improve readability and modernize.
[native-inputs]: Add python-pytest, python-setuptools.
Change-Id: I44f59e9e994aafda365f9a0c7d128000256ffae8
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/gnome.scm | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 19e1cdb7330..2fefc1d0a35 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm | |||
| @@ -2745,15 +2745,21 @@ schemas for settings shared by various components of the GNOME desktop.") | |||
| 2745 | (sha256 | 2745 | (sha256 |
| 2746 | (base32 | 2746 | (base32 |
| 2747 | "125rmrdbc84lapfh8c77zxnmwas20xdfamqmilhv1smkxn2q4sh3")))) | 2747 | "125rmrdbc84lapfh8c77zxnmwas20xdfamqmilhv1smkxn2q4sh3")))) |
| 2748 | (build-system python-build-system) | 2748 | (build-system pyproject-build-system) |
| 2749 | (arguments | 2749 | (arguments |
| 2750 | `(#:phases (modify-phases %standard-phases | 2750 | (list |
| 2751 | (add-before 'check 'start-xserver | 2751 | #:phases |
| 2752 | (lambda* (#:key inputs #:allow-other-keys) | 2752 | #~(modify-phases %standard-phases |
| 2753 | (system (format #f "~a/bin/Xvfb :1 &" | 2753 | (add-before 'check 'start-xserver |
| 2754 | (assoc-ref inputs "xorg-server"))) | 2754 | (lambda* (#:key inputs #:allow-other-keys) |
| 2755 | (setenv "DISPLAY" ":1")))))) | 2755 | (let ((xorg-display ":1")) |
| 2756 | (native-inputs (list xorg-server-for-tests)) | 2756 | (system (string-join |
| 2757 | (list (search-input-file inputs "/bin/Xvfb") | ||
| 2758 | xorg-display "&") | ||
| 2759 | " ")) | ||
| 2760 | (setenv "DISPLAY" xorg-display))))))) | ||
| 2761 | (native-inputs | ||
| 2762 | (list xorg-server-for-tests python-pytest python-setuptools)) | ||
| 2757 | (inputs (list gtk+)) | 2763 | (inputs (list gtk+)) |
| 2758 | (propagated-inputs (list python-pygobject)) | 2764 | (propagated-inputs (list python-pygobject)) |
| 2759 | (home-page "https://wiki.gnome.org/Projects/liblarch") | 2765 | (home-page "https://wiki.gnome.org/Projects/liblarch") |
