gnu: python-lzo: Use G-expressions.
* gnu/packages/python-compression.scm (python-lzo)[arguments]: Rewrite as G-expressions.
This commit is contained in:
parent
504e060126
commit
0337b65284
1 changed files with 12 additions and 11 deletions
|
@ -204,15 +204,16 @@ (define-public python-lzo
|
||||||
(base32 "0315nq6r39n51n8qqamb7xv0ib0qrh76q7g3a1977172mbndijw3"))))
|
(base32 "0315nq6r39n51n8qqamb7xv0ib0qrh76q7g3a1977172mbndijw3"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:test-target "check"
|
(list
|
||||||
|
#:test-target "check"
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-setuppy
|
(add-after 'unpack 'patch-setuppy
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
(("include_dirs.append\\(.*\\)")
|
(("include_dirs.append\\(.*\\)")
|
||||||
(string-append "include_dirs.append('"
|
(string-append "include_dirs.append('"
|
||||||
(assoc-ref %build-inputs "lzo")
|
#$(this-package-input "lzo")
|
||||||
"/include/lzo"
|
"/include/lzo"
|
||||||
"')"))))))))
|
"')"))))))))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue