[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: python-apsw: Use invoke.
From: |
Efraim Flashner |
Subject: |
09/09: gnu: python-apsw: Use invoke. |
Date: |
Sun, 4 Mar 2018 05:05:57 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit c553b08b4949c9bb53ffd9b83b5a6de8e459ac25
Author: Efraim Flashner <address@hidden>
Date: Sun Mar 4 12:03:27 2018 +0200
gnu: python-apsw: Use invoke.
* gnu/packages/databases.scm (python-apsw)[arguments]: Use invoke.
---
gnu/packages/databases.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 7057c46..269a1ff 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -2291,25 +2291,25 @@ PickleShare.")
"00ai7m2pqi26qaflhz314d8k5i3syw7xzr145fhfl0crhyh6adz2"))))
(build-system python-build-system)
(inputs
- `(("sqlite" ,sqlite)))
+ `(("sqlite" ,sqlite)))
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'build
(lambda _
- (zero?
- (system* "python" "setup.py" "build"
"--enable-all-extensions"))))
+ (invoke "python" "setup.py" "build" "--enable-all-extensions")
+ #t))
(add-after 'build 'build-test-helper
(lambda _
- (zero?
- (system
- (string-append "gcc -fPIC -shared -o ./testextension.sqlext "
- "-I. -Isqlite3 src/testextension.c") ))))
+ (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext"
+ "-I." "-Isqlite3" "src/testextension.c")
+ #t))
(delete 'check)
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
- (zero? (system* "python" "setup.py" "test")))))))
+ (invoke "python" "setup.py" "test")
+ #t)))))
(home-page "https://github.com/rogerbinns/apsw/")
(synopsis "Another Python SQLite Wrapper")
(description "APSW is a Python wrapper for the SQLite
- branch master updated (a1eb506 -> c553b08), Efraim Flashner, 2018/03/04
- 01/09: gnu: r-dropbead: Declare a source file-name., Efraim Flashner, 2018/03/04
- 03/09: gnu: libdivsufsort: Declare a source file-name., Efraim Flashner, 2018/03/04
- 02/09: gnu: seek: Declare a source file-name., Efraim Flashner, 2018/03/04
- 04/09: gnu: piranha: Declare a source file-name., Efraim Flashner, 2018/03/04
- 07/09: gnu: kurly: Declare a source file-name., Efraim Flashner, 2018/03/04
- 06/09: gnu: unshield: Declare a source file-name., Efraim Flashner, 2018/03/04
- 05/09: gnu: sfarkxtc: Declare a source file-name., Efraim Flashner, 2018/03/04
- 08/09: gnu: python-apsw: Declare a source file-name., Efraim Flashner, 2018/03/04
- 09/09: gnu: python-apsw: Use invoke.,
Efraim Flashner <=