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.
This commit is contained in:
parent
6a192184ec
commit
12adfdf0b6
|
@ -254,7 +254,8 @@ C, yielding parse times that can be a thirtieth of the html5lib parse times.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "py.test" "-v" "webencodings/tests.py")))))))
|
(invoke "py.test" "-v" "webencodings/tests.py")
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(home-page "https://github.com/SimonSapin/python-webencodings")
|
(home-page "https://github.com/SimonSapin/python-webencodings")
|
||||||
|
@ -295,7 +296,8 @@ is Python’s.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "./admin/runtests")))))))
|
(invoke "./admin/runtests")
|
||||||
|
#t)))))
|
||||||
(properties `((python2-variant . ,(delay python2-openid))))
|
(properties `((python2-variant . ,(delay python2-openid))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-defusedxml" ,python-defusedxml)))
|
`(("python-defusedxml" ,python-defusedxml)))
|
||||||
|
@ -451,7 +453,8 @@ teams extension for python-openid.")
|
||||||
;; (lambda _
|
;; (lambda _
|
||||||
;; ;; 'setup.py test' hits an AssertionError on BSD-specific
|
;; ;; 'setup.py test' hits an AssertionError on BSD-specific
|
||||||
;; ;; "tornado/platform/kqueue.py". This is the supported method:
|
;; ;; "tornado/platform/kqueue.py". This is the supported method:
|
||||||
;; (zero? (system* "python" "-m" "tornado.test")))))
|
;; (invoke- "python" "-m" "tornado.test")
|
||||||
|
;; #t)))
|
||||||
#:tests? #f))
|
#:tests? #f))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-certifi" ,python-certifi)))
|
`(("python-certifi" ,python-certifi)))
|
||||||
|
@ -522,7 +525,8 @@ web framework, either via the basic or digest authentication schemes.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "nosetests")))))))
|
(invoke "nosetests")
|
||||||
|
#t)))))
|
||||||
(home-page "https://github.com/takluyver/terminado")
|
(home-page "https://github.com/takluyver/terminado")
|
||||||
(synopsis "Terminals served to term.js using Tornado websockets")
|
(synopsis "Terminals served to term.js using Tornado websockets")
|
||||||
(description "This package provides a Tornado websocket backend for the
|
(description "This package provides a Tornado websocket backend for the
|
||||||
|
@ -1519,7 +1523,8 @@ library.")
|
||||||
(add-after 'install 'check
|
(add-after 'install 'check
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(add-installed-pythonpath inputs outputs)
|
(add-installed-pythonpath inputs outputs)
|
||||||
(zero? (system* "py.test" "src/geventhttpclient/tests" "-v")))))))
|
(invoke "py.test" "src/geventhttpclient/tests" "-v")
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)))
|
`(("python-pytest" ,python-pytest)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
|
@ -1629,7 +1634,8 @@ provide an easy-to-use Python interface for building OAuth1 and OAuth2 clients."
|
||||||
(setenv "PYTHONPATH"
|
(setenv "PYTHONPATH"
|
||||||
(string-append (getcwd) "/build/lib:"
|
(string-append (getcwd) "/build/lib:"
|
||||||
(getenv "PYTHONPATH")))
|
(getenv "PYTHONPATH")))
|
||||||
(zero? (system* "py.test" "-vv")))))))
|
(invoke "py.test" "-vv")
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-pytest" ,python-pytest)
|
`(("python-pytest" ,python-pytest)
|
||||||
("python-redis" ,python-redis)
|
("python-redis" ,python-redis)
|
||||||
|
@ -1715,7 +1721,8 @@ Betamax.")
|
||||||
(lambda _
|
(lambda _
|
||||||
;; 7 of the 'integration' tests require network access or login
|
;; 7 of the 'integration' tests require network access or login
|
||||||
;; credentials.
|
;; credentials.
|
||||||
(zero? (system* "nosetests" "--exclude=integration")))))))
|
(invoke "nosetests" "--exclude=integration")
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-docutils" ,python-docutils)
|
`(("python-docutils" ,python-docutils)
|
||||||
("python-mock" ,python-mock)
|
("python-mock" ,python-mock)
|
||||||
|
@ -1831,7 +1838,8 @@ transfers.")
|
||||||
;; (modify-phases %standard-phases
|
;; (modify-phases %standard-phases
|
||||||
;; (replace 'check
|
;; (replace 'check
|
||||||
;; (lambda _
|
;; (lambda _
|
||||||
;; (zero? (system* "nosetests")))))))
|
;; (invoke "nosetests")
|
||||||
|
;; #t)))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("python-aniso8601" ,python-aniso8601)
|
`(("python-aniso8601" ,python-aniso8601)
|
||||||
("python-flask" ,python-flask)
|
("python-flask" ,python-flask)
|
||||||
|
|
Loading…
Reference in New Issue