[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66689] [PATCH gnome-team v4 10/17] gnu: python-pygobject: Update st
From: |
Vivien Kraus |
Subject: |
[bug#66689] [PATCH gnome-team v4 10/17] gnu: python-pygobject: Update style. |
Date: |
Fri, 27 Oct 2023 18:42:06 +0200 |
User-agent: |
Evolution 3.46.4 |
* gnu/packages/glib.scm (python-pygobject) [origin sha256]: Update indentation.
[snippet]: Convert to G-Expression. Remove trailing #f.
[arguments]: Convert to list of G-Expressions.
[native-inputs]: Drop labels.
Change-Id: I325de196b79cbdd0acaed3c40be42aa7335abcae
---
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 @@ (define-public python-pygobject
(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
--
2.41.0
- [bug#66689] [PATCH gnome-team v4 05/17] gnu: appstream-glib: Update style., (continued)
- [bug#66689] [PATCH gnome-team v4 13/17] gnu: libsigc++: Update to 3.6.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 14/17] gnu: libaccounts-glib: Update to 1.26., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 06/17] gnu: sdbus-c++: Update to 1.4.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 15/17] gnu: dbus-glib: Update to 0.112., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 07/17] gnu: perl-glib-object-introspection: Update to 0.051., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 08/17] gnu: perl-glib: Update to 1.3294., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 16/17] gnu: gobject-introspection: Update to 1.78.1., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 09/17] gnu: python-pygobject: Update to 3.46.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 01/17] gnu: xdg-dbus-proxy: Update to 0.1.5., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 10/17] gnu: python-pygobject: Update style.,
Vivien Kraus <=
- [bug#66689] [PATCH gnome-team v4 17/17] gnu: dbus: Update to 1.15.8., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v4 11/17] gnu: glib: Update to 2.78.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 00/17] Make sure all author dates are ordered correctly, Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 06/17] gnu: sdbus-c++: Update to 1.4.0., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 05/17] gnu: appstream-glib: Update style., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 14/17] gnu: libaccounts-glib: Update to 1.26., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 07/17] gnu: perl-glib-object-introspection: Update to 0.051., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 15/17] gnu: dbus-glib: Update to 0.112., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 16/17] gnu: gobject-introspection: Update to 1.78.1., Vivien Kraus, 2023/10/27
- [bug#66689] [PATCH gnome-team v5 08/17] gnu: perl-glib: Update to 1.3294., Vivien Kraus, 2023/10/27