[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/15: gnu: python-libxml2: Remove input labels.
From: |
guix-commits |
Subject: |
04/15: gnu: python-libxml2: Remove input labels. |
Date: |
Mon, 27 Jun 2022 17:50:01 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit e437393b01ca0a049ae5276ffa77363026949d38
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 27 20:41:58 2022 +0200
gnu: python-libxml2: Remove input labels.
* gnu/packages/xml.scm (python-libxml2)[arguments]: Use G-expression.
Remove
iconv header substitution which is no longer needed.
[inputs]: Remove labels.
---
gnu/packages/xml.scm | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 0e0d714a1c..3868be388f 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -263,22 +263,22 @@ to output XPath results with a null delimiter.")))
(build-system python-build-system)
(outputs '("out"))
(arguments
- `(;; XXX: Tests are specified in 'Makefile.am', but not in 'setup.py'.
- #:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-before
- 'build 'configure
- (lambda* (#:key inputs #:allow-other-keys)
- (chdir "python")
- (let ((glibc (assoc-ref inputs ,(if (%current-target-system)
- "cross-libc" "libc")))
- (libxml2 (assoc-ref inputs "libxml2")))
- (substitute* "setup.py"
- ;; For libxml2 headers.
- (("/opt/include")
- (string-append libxml2 "/include")))))))))
- (inputs `(("libxml2" ,libxml2)))
+ (list
+ ;; XXX: Tests are specified in 'Makefile.am', but not in 'setup.py'.
+ #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (chdir "python")
+ (let ((libxml2-headers (search-input-directory
+ inputs "include/libxml2")))
+ (substitute* "setup.py"
+ ;; The build system ignores C_INCLUDE_PATH & co, so
+ ;; provide the absolute directory name.
+ (("/opt/include")
+ (dirname libxml2-headers)))))))))
+ (inputs (list libxml2))
(synopsis "Python bindings for the libxml2 library")))
(define-public libxlsxwriter
- branch core-updates updated (1e39cc6481 -> 0b0750e831), guix-commits, 2022/06/27
- 01/15: gnu: ruby-sqlite3: Update to 1.4.4., guix-commits, 2022/06/27
- 03/15: gnu: python-libxml2: Move definition closer to its inherited origin., guix-commits, 2022/06/27
- 04/15: gnu: python-libxml2: Remove input labels.,
guix-commits <=
- 09/15: gnu: doxygen: Use new style., guix-commits, 2022/06/27
- 12/15: gnu: libjpeg-turbo: Build with cmake-minimal., guix-commits, 2022/06/27
- 05/15: gnu: icu4c: Update to 71.1., guix-commits, 2022/06/27
- 07/15: gnu: harfbuzz: Remove input labels., guix-commits, 2022/06/27
- 13/15: gnu: CMake: Remove input labels., guix-commits, 2022/06/27
- 15/15: gnu: CMake: Update to 3.23.2., guix-commits, 2022/06/27
- 10/15: gnu: jsoncpp: Build with Meson., guix-commits, 2022/06/27
- 14/15: gnu: CMake: Use G-expressions., guix-commits, 2022/06/27
- 02/15: gnu: python-libxml2: Fix build failure., guix-commits, 2022/06/27
- 06/15: gnu: harfbuzz: Update to 4.3.0., guix-commits, 2022/06/27