[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
85/150: gnu: python-libxml2: Fix build.
From: |
guix-commits |
Subject: |
85/150: gnu: python-libxml2: Fix build. |
Date: |
Sun, 24 Apr 2022 05:12:27 -0400 (EDT) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 2369be3c52d5fff46b0de9a54c0ec2b3111311d3
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Fri Dec 31 20:04:16 2021 +0100
gnu: python-libxml2: Fix build.
* gnu/packages/xml.scm (python-libxml2)[arguments]: Patch setup.py to
remove call to sys.exit.
---
gnu/packages/xml.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index db004c11b6..bd98bf13d5 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -338,7 +338,10 @@ formulas and hyperlinks to multiple worksheets in an Excel
2007+ XLSX file.")
(format #f "ROOT = r'~a'" libxml2))
;; For 'iconv.h'.
(("/opt/include")
- (string-append glibc "/include")))))))))
+ (string-append glibc "/include"))
+ ;; Fails to build a wheel with call to sys.exit().
+ (("sys\\.exit\\(0\\)") "")))
+ #t)))))
(inputs `(("libxml2" ,libxml2)))
(synopsis "Python bindings for the libxml2 library")))
- 17/150: gnu: python-testpath: Remove custom build phases., (continued)
- 17/150: gnu: python-testpath: Remove custom build phases., guix-commits, 2022/04/24
- 09/150: gnu: python-flit: Inherit from python-flit-core., guix-commits, 2022/04/24
- 35/150: gnu: python-urwidtrees: Remove dependency on mock., guix-commits, 2022/04/24
- 52/150: gnu: python-pytest-xvfb: Remove obsolete test target., guix-commits, 2022/04/24
- 50/150: gnu: python-pytest-benchmark: Disable tests., guix-commits, 2022/04/24
- 53/150: gnu: python-pytest-qt: Remove obsolete test target., guix-commits, 2022/04/24
- 51/150: gnu: python-entrypoint2: Remove obsolete test target., guix-commits, 2022/04/24
- 57/150: gnu: python-argon2-cffi: Do not override 'build., guix-commits, 2022/04/24
- 69/150: gnu: python-three-merge: Remove obsolete argument., guix-commits, 2022/04/24
- 64/150: gnu: python-pyls-black: Remove obsolete argument., guix-commits, 2022/04/24
- 85/150: gnu: python-libxml2: Fix build.,
guix-commits <=
- 83/150: gnu: python-gssapi: Disable tests., guix-commits, 2022/04/24
- 76/150: gnu: python-pytest-catchlog: Disable tests., guix-commits, 2022/04/24
- 68/150: gnu: python-backcall: Add missing build inputs., guix-commits, 2022/04/24
- 70/150: gnu: python-pep8: Disable tests., guix-commits, 2022/04/24
- 90/150: gnu: tuir: Disable failing tests., guix-commits, 2022/04/24
- 96/150: gnu: python-webob: Disable tests., guix-commits, 2022/04/24
- 95/150: gnu: python-docker-pycreds: Disable tests., guix-commits, 2022/04/24
- 117/150: gnu: python-gphoto2: Disable tests., guix-commits, 2022/04/24
- 119/150: gnu: python-pytest-doctestplus: Add missing build input., guix-commits, 2022/04/24
- 126/150: gnu: python-backpack: Disable tests., guix-commits, 2022/04/24