mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
e51c78d560
commit
e437393b01
1 changed files with 16 additions and 16 deletions
|
@ -263,22 +263,22 @@ to output XPath results with a null delimiter.")))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(outputs '("out"))
|
(outputs '("out"))
|
||||||
(arguments
|
(arguments
|
||||||
`(;; XXX: Tests are specified in 'Makefile.am', but not in 'setup.py'.
|
(list
|
||||||
#:tests? #f
|
;; XXX: Tests are specified in 'Makefile.am', but not in 'setup.py'.
|
||||||
#:phases
|
#:tests? #f
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-before
|
#~(modify-phases %standard-phases
|
||||||
'build 'configure
|
(add-before 'build 'configure
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(chdir "python")
|
(chdir "python")
|
||||||
(let ((glibc (assoc-ref inputs ,(if (%current-target-system)
|
(let ((libxml2-headers (search-input-directory
|
||||||
"cross-libc" "libc")))
|
inputs "include/libxml2")))
|
||||||
(libxml2 (assoc-ref inputs "libxml2")))
|
(substitute* "setup.py"
|
||||||
(substitute* "setup.py"
|
;; The build system ignores C_INCLUDE_PATH & co, so
|
||||||
;; For libxml2 headers.
|
;; provide the absolute directory name.
|
||||||
(("/opt/include")
|
(("/opt/include")
|
||||||
(string-append libxml2 "/include")))))))))
|
(dirname libxml2-headers)))))))))
|
||||||
(inputs `(("libxml2" ,libxml2)))
|
(inputs (list libxml2))
|
||||||
(synopsis "Python bindings for the libxml2 library")))
|
(synopsis "Python bindings for the libxml2 library")))
|
||||||
|
|
||||||
(define-public libxlsxwriter
|
(define-public libxlsxwriter
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue