[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
88/103: gnu: python-libxml2: Fix build.
From: |
guix-commits |
Subject: |
88/103: gnu: python-libxml2: Fix build. |
Date: |
Wed, 5 Jan 2022 09:44:41 -0500 (EST) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit c6114228a7ebb363e60646d03cdbb3953f2d807e
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 bc76a95c59..70a54259a1 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -320,7 +320,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")))
- 103/103: tests: Remove obsolete flag and import missing module., (continued)
- 103/103: tests: Remove obsolete flag and import missing module., guix-commits, 2022/01/05
- 70/103: gnu: Add python-pyftpdlib., guix-commits, 2022/01/05
- 72/103: gnu: python-fonttools: Fix tests and add missing inputs., guix-commits, 2022/01/05
- 73/103: gnu: python-curio: Disable failing tests., guix-commits, 2022/01/05
- 75/103: gnu: python-bleach: Selectively disable tests., guix-commits, 2022/01/05
- 80/103: gnu: python-isort: Remove custom build phases., guix-commits, 2022/01/05
- 79/103: gnu: python-dnspython: Force poetry backend., guix-commits, 2022/01/05
- 91/103: dirty: curio, guix-commits, 2022/01/05
- 90/103: gnu: python-locket: Add missing test input., guix-commits, 2022/01/05
- 86/103: gnu: python-eliot: Remove redundant input., guix-commits, 2022/01/05
- 88/103: gnu: python-libxml2: Fix build.,
guix-commits <=
- 83/103: gnu: python-yamllint: Remove redundant input., guix-commits, 2022/01/05
- 89/103: gnu: python-devtools: Disable tests., guix-commits, 2022/01/05
- 84/103: gnu: python-pybtex: Disable tests., guix-commits, 2022/01/05
- 85/103: gnu: python-gssapi: Disable tests., guix-commits, 2022/01/05
- 82/103: gnu: python-setuptools-scm-git-archive: Disable tests., guix-commits, 2022/01/05
- 97/103: gnu: python-dnaio: Disable tests., guix-commits, 2022/01/05
- 94/103: gnu: tuir: Disable failing tests., guix-commits, 2022/01/05
- 99/103: gnu: python-docker-pycreds: Disable tests., guix-commits, 2022/01/05
- 30/103: gnu: python-pylama: Fix tests., guix-commits, 2022/01/05
- 31/103: gnu: python-pycairo: Install headers and pkg-config files., guix-commits, 2022/01/05