[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/22: gnu: pkgconf: Enable test suite.
From: |
guix-commits |
Subject: |
06/22: gnu: pkgconf: Enable test suite. |
Date: |
Sat, 9 Mar 2024 13:28:22 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 952aa258aba0ac12cd6d443930db7ad3f6253926
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jan 29 23:06:58 2024 -0500
gnu: pkgconf: Enable test suite.
* gnu/packages/pkg-config.scm (pkgconf) [arguments]: Remove #:tests?
argument.
Add a set-HOME phase.
[native-inputs]: Add atf and kyua.
Change-Id: I28410d7486ab45cf1cbc6d306345fb85f0b9d7fc
---
gnu/packages/pkg-config.scm | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/pkg-config.scm b/gnu/packages/pkg-config.scm
index 06f0db960f..2f07bdab9d 100644
--- a/gnu/packages/pkg-config.scm
+++ b/gnu/packages/pkg-config.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2016 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
-;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
@@ -29,6 +29,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system trivial)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages check)
#:use-module (guix memoization)
#:export (pkg-config))
@@ -181,7 +182,13 @@ exec ~a \"$@\""
(base32
"0qbpczwrrsq2981mdv3iil26vq9ac8v1sfi9233jpiaixrhmhv96"))))
(build-system gnu-build-system)
- (arguments (list #:tests? #f)) ;TODO: package kyua
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-HOME
+ (lambda _
+ ;; Kyua requires a writable HOME.
+ (setenv "HOME" "/tmp"))))))
+ (native-inputs (list atf kyua))
(home-page "http://pkgconf.org/")
(synopsis "Package compiler and linker metadata toolkit")
(description "@command{pkgconf} is a program which helps to configure
- branch core-updates updated (11d73c8aeb -> a723a7b3b7), guix-commits, 2024/03/09
- 10/22: gnu: pkg-config: Alias to pkgconf-as-pkg-config., guix-commits, 2024/03/09
- 14/22: gnu: autotrace: Fix pkg-config file., guix-commits, 2024/03/09
- 15/22: gnu: gd: Update to 2.3.3., guix-commits, 2024/03/09
- 17/22: gnu: inkscape: Truly enable ImageMagic support., guix-commits, 2024/03/09
- 18/22: gnu: lib2geom: Use gexps and remove input labels., guix-commits, 2024/03/09
- 19/22: gnu: inkscape: Update to 1.3.2., guix-commits, 2024/03/09
- 06/22: gnu: pkgconf: Enable test suite.,
guix-commits <=
- 11/22: gnu: pstoedit: Update to 4.00., guix-commits, 2024/03/09
- 08/22: gnu: pkgconf: Add $PKG_CONFIG_PATH search path., guix-commits, 2024/03/09
- 05/22: gnu: Add kyua., guix-commits, 2024/03/09
- 02/22: gnu: ld-wrapper: Also unset GUILE_LOAD_PATH., guix-commits, 2024/03/09
- 13/22: gnu: autotrace: Remove libtool archives., guix-commits, 2024/03/09
- 04/22: gnu: Add lutok., guix-commits, 2024/03/09
- 22/22: Revert "gnu: mpv: Propagate most libraries.", guix-commits, 2024/03/09
- 03/22: gnu: Add atf., guix-commits, 2024/03/09
- 12/22: gnu: autotrace: Update to 0.31.10., guix-commits, 2024/03/09
- 09/22: gnu: pkgconf: Add support for cross-compilation., guix-commits, 2024/03/09