[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/18: gnu: python-cffi: Update phase style.
From: |
Tobias Geerinckx-Rice |
Subject: |
17/18: gnu: python-cffi: Update phase style. |
Date: |
Mon, 26 Feb 2018 14:14:29 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit fc38e317cde56897b575c5af2d7787d889323193
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sat Feb 24 14:36:48 2018 +0100
gnu: python-cffi: Update phase style.
* gnu/packages/libffi.scm (python-cffi)[arguments]: Substitute INVOKE
for SYSTEM*, end phases with #t, and remove unneeded bits from the
‘install-doc’ phase.
---
gnu/packages/libffi.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index e5e93eb..dd6b223 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -122,7 +122,8 @@ conversions for values passed between the two languages.")
"linker_so='gcc -shared')")))
(substitute* "testing/cffi0/test_ownlib.py"
(("'cc testownlib") "'gcc testownlib"))
- (zero? (system* "py.test" "-v" "c/" "testing/"))))
+ (invoke "py.test" "-v" "c/" "testing/")
+ #t))
(add-before 'check 'disable-failing-test
;; This is assumed to be a libffi issue:
;;
https://bitbucket.org/cffi/cffi/issues/312/tests-failed-with-armv8
@@ -131,15 +132,14 @@ conversions for values passed between the two languages.")
(("ret.left") "ownlib.left"))
#t))
(add-after 'install 'install-doc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((data (string-append (assoc-ref outputs "doc") "/share"))
- (doc (string-append data "/doc/" ,name "-" ,version))
+ (lambda* (#:key outputs (make-flags '()) #:allow-other-keys)
+ (let* ((doc (string-append (assoc-ref outputs "doc")
+ "/share/doc/" ,name "-" ,version))
(html (string-append doc "/html")))
(with-directory-excursion "doc"
- (system* "make" "html")
+ (apply invoke "make" "html" make-flags)
(mkdir-p html)
(copy-recursively "build/html" html))
- (copy-file "LICENSE" (string-append doc "/LICENSE"))
#t))))))
(home-page "https://cffi.readthedocs.org")
(synopsis "Foreign function interface for Python")
- branch master updated (ecbea1b -> d504de2), Tobias Geerinckx-Rice, 2018/02/26
- 01/18: gnu: libfilezilla: Update to 0.12.1., Tobias Geerinckx-Rice, 2018/02/26
- 06/18: gnu: dvdstyler: Remove hard-coded version string., Tobias Geerinckx-Rice, 2018/02/26
- 04/18: gnu: tinc: Update to 1.0.33., Tobias Geerinckx-Rice, 2018/02/26
- 08/18: gnu: perl-net-smtp-ssl: Update to 1.04., Tobias Geerinckx-Rice, 2018/02/26
- 13/18: gnu: ruby-ffi: Update to 1.9.22., Tobias Geerinckx-Rice, 2018/02/26
- 15/18: gnu: perl-scalar-list-utils: Update to 1.50., Tobias Geerinckx-Rice, 2018/02/26
- 17/18: gnu: python-cffi: Update phase style.,
Tobias Geerinckx-Rice <=
- 14/18: gnu: Add nghttp2., Tobias Geerinckx-Rice, 2018/02/26
- 18/18: gnu: assword: Update to 0.11., Tobias Geerinckx-Rice, 2018/02/26
- 11/18: gnu: Use HTTPS for supported freedesktop.org home pages., Tobias Geerinckx-Rice, 2018/02/26
- 02/18: gnu: youtube-dl: Update to 2018.02.22., Tobias Geerinckx-Rice, 2018/02/26
- 09/18: gnu: perl-xml-libxslt: Update to 1.96., Tobias Geerinckx-Rice, 2018/02/26
- 07/18: gnu: perl-http-server-simple: Update to 0.52., Tobias Geerinckx-Rice, 2018/02/26
- 03/18: gnu: gource: Update to 0.48., Tobias Geerinckx-Rice, 2018/02/26
- 05/18: gnu: libdvbpsi: Update to 1.3.2., Tobias Geerinckx-Rice, 2018/02/26
- 12/18: gnu: libpsl: Update to 0.20.0., Tobias Geerinckx-Rice, 2018/02/26
- 16/18: gnu: python-cffi: Update to 1.11.4., Tobias Geerinckx-Rice, 2018/02/26