[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70031] [core-updates PATCH 14/19] gnu: astroid: Remove custom phase
From: |
Greg Hogan |
Subject: |
[bug#70031] [core-updates PATCH 14/19] gnu: astroid: Remove custom phases. |
Date: |
Wed, 27 Mar 2024 14:52:39 +0000 |
* gnu/packages/mail.scm (astroid)[arguments]:
Disable parallel tests.
Add generator.
Remove custom 'build, 'check, and 'install phases.
---
gnu/packages/mail.scm | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 23c78a6db5b..e99736752f0 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -903,13 +903,14 @@ (define-public astroid
(("\\\\n\\.\\.\\.") "\\n...\\n"))))))
(build-system cmake-build-system)
(arguments
- `(#:modules ((guix build cmake-build-system)
+ `(#:parallel-tests? #f
+ #:modules ((guix build cmake-build-system)
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
(guix build utils)
(ice-9 match))
#:imported-modules ((guix build glib-or-gtk-build-system)
,@%cmake-build-system-modules)
- #:configure-flags (list "-GNinja")
+ #:generator "Ninja"
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'skip-markdown-test
@@ -920,23 +921,12 @@ (define-public astroid
(lambda _
(substitute* "tests/CMakeLists.txt"
((".*markdown.*") ""))))
- (replace 'build
- (lambda _
- (invoke "ninja" "-j" (number->string (parallel-job-count)))))
(add-before 'check 'start-xserver
(lambda* (#:key inputs #:allow-other-keys)
(let ((xorg-server (assoc-ref inputs "xorg-server")))
(setenv "HOME" (getcwd))
(system (format #f "~a/bin/Xvfb :1 &" xorg-server))
(setenv "DISPLAY" ":1"))))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
- (invoke "ctest" "."))))
- (replace 'install
- (lambda _
- (invoke "ninja" "install")))
(add-after 'install 'wrap-with-GI_TYPELIB_PATH
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
--
2.44.0
- [bug#70031] [core-updates PATCH 04/19] build-system/cmake: Add install., (continued)
- [bug#70031] [core-updates PATCH 04/19] build-system/cmake: Add install., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 05/19] gnu: libmedfile: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 07/19] gnu: fish: Fix tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 09/19] gnu: igraph: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 02/19] build-system/cmake: Parameterize build system generator., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 06/19] gnu: srt: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 10/19] gnu: inkscape: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 11/19] gnu: vigra: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 15/19] gnu: websocketpp: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 12/19] gnu: cpp-httplib: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 14/19] gnu: astroid: Remove custom phases.,
Greg Hogan <=
- [bug#70031] [core-updates PATCH 13/19] gnu: libical: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 08/19] gnu: vulkan-loader: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 16/19] gnu: mbedtls-lts: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 18/19] gnu: evolution-data-server: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 17/19] gnu: scotch: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 19/19] gnu: aws-c-common: Disable parallel tests., Greg Hogan, 2024/03/27