[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/28: gnu: Update (gnu packages python-web) phase styles.
From: |
Tobias Geerinckx-Rice |
Subject: |
08/28: gnu: Update (gnu packages python-web) phase styles. |
Date: |
Fri, 2 Mar 2018 09:53:09 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 12adfdf0b6fe84346f2a578a341ae8537ac0606f
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Fri Mar 2 04:39:51 2018 +0100
gnu: Update (gnu packages python-web) phase styles.
* gnu/packages/python-web.scm (python-openid, python-terminado)
(python-geventhttpclient, python-cachecontrol, python-webencodings)
(python-s3transfer)[arguments]: Substitute INVOKE for SYSTEM* and end
phases with #t.
---
gnu/packages/python-web.scm | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9dc0650..3ab7daf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -254,7 +254,8 @@ C, yielding parse times that can be a thirtieth of the
html5lib parse times.")
(modify-phases %standard-phases
(replace 'check
(lambda _
- (zero? (system* "py.test" "-v" "webencodings/tests.py")))))))
+ (invoke "py.test" "-v" "webencodings/tests.py")
+ #t)))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://github.com/SimonSapin/python-webencodings")
@@ -295,7 +296,8 @@ is Python’s.")
(modify-phases %standard-phases
(replace 'check
(lambda _
- (zero? (system* "./admin/runtests")))))))
+ (invoke "./admin/runtests")
+ #t)))))
(properties `((python2-variant . ,(delay python2-openid))))
(propagated-inputs
`(("python-defusedxml" ,python-defusedxml)))
@@ -451,7 +453,8 @@ teams extension for python-openid.")
;; (lambda _
;; ;; 'setup.py test' hits an AssertionError on BSD-specific
;; ;; "tornado/platform/kqueue.py". This is the supported method:
- ;; (zero? (system* "python" "-m" "tornado.test")))))
+ ;; (invoke- "python" "-m" "tornado.test")
+ ;; #t)))
#:tests? #f))
(native-inputs
`(("python-certifi" ,python-certifi)))
@@ -522,7 +525,8 @@ web framework, either via the basic or digest
authentication schemes.")
(modify-phases %standard-phases
(replace 'check
(lambda _
- (zero? (system* "nosetests")))))))
+ (invoke "nosetests")
+ #t)))))
(home-page "https://github.com/takluyver/terminado")
(synopsis "Terminals served to term.js using Tornado websockets")
(description "This package provides a Tornado websocket backend for the
@@ -1519,7 +1523,8 @@ library.")
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs)
- (zero? (system* "py.test" "src/geventhttpclient/tests" "-v")))))))
+ (invoke "py.test" "src/geventhttpclient/tests" "-v")
+ #t)))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(propagated-inputs
@@ -1629,7 +1634,8 @@ provide an easy-to-use Python interface for building
OAuth1 and OAuth2 clients."
(setenv "PYTHONPATH"
(string-append (getcwd) "/build/lib:"
(getenv "PYTHONPATH")))
- (zero? (system* "py.test" "-vv")))))))
+ (invoke "py.test" "-vv")
+ #t)))))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-redis" ,python-redis)
@@ -1715,7 +1721,8 @@ Betamax.")
(lambda _
;; 7 of the 'integration' tests require network access or login
;; credentials.
- (zero? (system* "nosetests" "--exclude=integration")))))))
+ (invoke "nosetests" "--exclude=integration")
+ #t)))))
(native-inputs
`(("python-docutils" ,python-docutils)
("python-mock" ,python-mock)
@@ -1831,7 +1838,8 @@ transfers.")
;; (modify-phases %standard-phases
;; (replace 'check
;; (lambda _
- ;; (zero? (system* "nosetests")))))))
+ ;; (invoke "nosetests")
+ ;; #t)))))
(propagated-inputs
`(("python-aniso8601" ,python-aniso8601)
("python-flask" ,python-flask)
- branch master updated (424cea8 -> b01a1b3), Tobias Geerinckx-Rice, 2018/03/02
- 06/28: gnu: python-htmlmin: Update to 0.1.12., Tobias Geerinckx-Rice, 2018/03/02
- 05/28: gnu: python-s3transfer: Update to 0.1.13., Tobias Geerinckx-Rice, 2018/03/02
- 07/28: gnu: python-flask-script: Update to 2.0.6., Tobias Geerinckx-Rice, 2018/03/02
- 03/28: gnu: python-ndg-httpsclient: Update to 0.4.4., Tobias Geerinckx-Rice, 2018/03/02
- 10/28: gnu: b43-tools: Update phase style., Tobias Geerinckx-Rice, 2018/03/02
- 02/28: gnu: python-cssutils: Update to 1.0.2., Tobias Geerinckx-Rice, 2018/03/02
- 11/28: gnu: b43-tools: Use HTTPS home page., Tobias Geerinckx-Rice, 2018/03/02
- 08/28: gnu: Update (gnu packages python-web) phase styles.,
Tobias Geerinckx-Rice <=
- 14/28: gnu: ath9k-htc-firmware: Use INSTALL-FILE., Tobias Geerinckx-Rice, 2018/03/02
- 18/28: gnu: qscintilla: Use HTTPS home page., Tobias Geerinckx-Rice, 2018/03/02
- 23/28: gnu: perl-mozilla-ca: Update to 20180117., Tobias Geerinckx-Rice, 2018/03/02
- 25/28: gnu: python-webencodings: Fix typo in description., Tobias Geerinckx-Rice, 2018/03/02
- 22/28: gnu: perl-test-harness: Update to 3.41., Tobias Geerinckx-Rice, 2018/03/02
- 04/28: gnu: python-webtest: Update to 2.0.29., Tobias Geerinckx-Rice, 2018/03/02
- 09/28: gnu: b43-tools: Update to 0.0.0-1.27892ef., Tobias Geerinckx-Rice, 2018/03/02
- 01/28: gnu: python-flask-babel: Update to 0.11.2., Tobias Geerinckx-Rice, 2018/03/02
- 12/28: gnu: ovmf: Use HTTPS home page., Tobias Geerinckx-Rice, 2018/03/02
- 15/28: gnu: gnome-mpv: Update to 0.14., Tobias Geerinckx-Rice, 2018/03/02