[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/26: gnu: python-pygobject: Update style.
From: |
guix-commits |
Subject: |
12/26: gnu: python-pygobject: Update style. |
Date: |
Sat, 4 Nov 2023 02:25:15 -0400 (EDT) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit b125b9deee25940aaf743f984875c033b1fe380a
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Fri Oct 27 19:44:52 2023 +0200
gnu: python-pygobject: Update style.
* gnu/packages/glib.scm (python-pygobject) [source]<sha256>: Reindent.
<snippet>: Convert to G-Expression. Remove trailing #f.
[arguments]: Convert to list of G-Expressions.
[native-inputs]: Drop labels.
Change-Id: I325de196b79cbdd0acaed3c40be42aa7335abcae
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/glib.scm | 42 ++++++++++++++++++++----------------------
1 file changed, 20 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 2c813fd594..1012d2190b 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -1015,33 +1015,31 @@ useful for C++.")
(version-major+minor version)
"/pygobject-" version ".tar.xz"))
(sha256
- (base32
- "1z6aagb46fhhdd0bb3zk6dfdw3s4y2fva0vv3jpwjj6mvar0hq22"))
+ (base32 "1z6aagb46fhhdd0bb3zk6dfdw3s4y2fva0vv3jpwjj6mvar0hq22"))
(modules '((guix build utils)))
(snippet
- '(begin
- ;; We disable these tests in a snippet so that they are inherited
- ;; by the Python 2 variant which is built differently.
- (with-directory-excursion "tests"
- ;; FIXME: These tests require Gdk and/or Gtk 4.
- (for-each delete-file
- '("test_atoms.py" "test_overrides_gtk.py"
- "test_overrides_gdk.py"))
- #t)))))
+ ;; We disable these tests in a snippet so that they are inherited
+ ;; by the Python 2 variant which is built differently.
+ #~(with-directory-excursion "tests"
+ ;; FIXME: These tests require Gdk and/or Gtk 4.
+ (for-each delete-file
+ '("test_atoms.py" "test_overrides_gtk.py"
+ "test_overrides_gdk.py"))))))
(build-system meson-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; The default 90 seconds can be too low on slower machines.
- (invoke "meson" "test" "--timeout-multiplier" "5")))))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; The default 90 seconds can be too low on slower machines.
+ (invoke "meson" "test" "--timeout-multiplier" "5")))))))
(native-inputs
- `(("glib-bin" ,glib "bin")
- ("pkg-config" ,pkg-config)
- ("python-pytest" ,python-pytest)
- ("python-wrapper" ,python-wrapper))) ; For patching shebangs
+ (list `(,glib "bin")
+ pkg-config
+ python-pytest
+ python-wrapper)) ; For patching shebangs
(inputs
(list python python-pycairo gobject-introspection))
(propagated-inputs
- branch gnome-team updated (2677bf985c -> 1c41971e72), guix-commits, 2023/11/04
- 02/26: gnu: shared-mime-info: Update to 2.3., guix-commits, 2023/11/04
- 01/26: gnu: xdgmime: Update to 0.0-2.1792967., guix-commits, 2023/11/04
- 12/26: gnu: python-pygobject: Update style.,
guix-commits <=
- 09/26: gnu: perl-glib-object-introspection: Update to 0.051., guix-commits, 2023/11/04
- 14/26: gnu: glibmm: Update to 2.78.0., guix-commits, 2023/11/04
- 18/26: gnu: gobject-introspection: Update to 1.78.1., guix-commits, 2023/11/04
- 06/26: gnu: appstream-glib: Update to 0.8.2., guix-commits, 2023/11/04
- 07/26: gnu: appstream-glib: Update style., guix-commits, 2023/11/04
- 08/26: gnu: sdbus-c++: Update to 1.4.0., guix-commits, 2023/11/04
- 24/26: gnu: Add libcallaudio., guix-commits, 2023/11/04
- 15/26: gnu: libsigc++: Update to 3.6.0., guix-commits, 2023/11/04
- 23/26: gnu: Add sofia-sip., guix-commits, 2023/11/04
- 10/26: gnu: perl-glib: Update to 1.3294., guix-commits, 2023/11/04