[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68813] [core-updates PATCH 04/20] gnu: pkgconf: Enable test suite.
From: |
Maxim Cournoyer |
Subject: |
[bug#68813] [core-updates PATCH 04/20] gnu: pkgconf: Enable test suite. |
Date: |
Thu, 22 Feb 2024 11:10:03 -0500 |
* 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 @@ (define-module (gnu packages pkg-config)
#: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 @@ (define-public pkgconf
(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
--
2.41.0
- [bug#68813] [core-updates PATCH 00/20] Replace pkg-config with pkgconf to reduce propagation / Inkscape updates, Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 03/20] gnu: Add kyua., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 05/20] gnu: Add pkgconf-as-pkg-config., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 14/20] gnu: lib2geom: Update to 1.3., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 16/20] gnu: lib2geom: Use gexps and remove input labels., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 11/20] gnu: autotrace: Remove libtool archives., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 04/20] gnu: pkgconf: Enable test suite.,
Maxim Cournoyer <=
- [bug#68813] [core-updates PATCH 19/20] gnu: inkscape: Fix Python support., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 15/20] gnu: inkscape: Truly enable ImageMagic support., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 13/20] gnu: gd: Update to 2.3.3., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 08/20] gnu: pkg-config: Alias to pkgconf-as-pkg-config., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 12/20] gnu: autotrace: Fix pkg-config file., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 07/20] gnu: pkgconf: Add support for cross-compilation., Maxim Cournoyer, 2024/02/22
- [bug#68813] [core-updates PATCH 10/20] gnu: autotrace: Update to 0.31.10., Maxim Cournoyer, 2024/02/22