mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 04:29:25 -05:00
gnu: python-apsw: Build with all extensions.
* gnu/packages/python.scm (python-apsw)[phases]: Replace build phase; add flag to build all extensions. Add build-test-helper to allow testing of extensions.
This commit is contained in:
parent
c1b815a5b8
commit
cfd34f4316
1 changed files with 10 additions and 0 deletions
|
@ -6237,6 +6237,16 @@ (define-public python-apsw
|
|||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'build
|
||||
(lambda _
|
||||
(zero?
|
||||
(system* "python" "setup.py" "build" "--enable-all-extensions"))))
|
||||
(add-after 'build 'build-test-helper
|
||||
(lambda _
|
||||
(zero?
|
||||
(system
|
||||
(string-append "gcc -fPIC -shared -o ./testextension.sqlext "
|
||||
"-I. -Isqlite3 src/testextension.c") ))))
|
||||
(delete 'check)
|
||||
(add-after 'install 'check
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue