[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: python-click: Fix tests.
From: |
Leo Famulari |
Subject: |
08/13: gnu: python-click: Fix tests. |
Date: |
Tue, 13 Dec 2016 22:04:51 +0000 (UTC) |
lfam pushed a commit to branch python-tests
in repository guix.
commit 97be1bc23128cf42c49867d984c43f6fea3820d6
Author: Marius Bakke <address@hidden>
Date: Tue Dec 13 18:51:01 2016 +0100
gnu: python-click: Fix tests.
* gnu/packages/python.scm (python-click, python2-click)[arguments]: Replace
'check' with custom phase.
[native-inputs]: Add python-pytest.
---
gnu/packages/python.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 28ead16..1a8a9a4 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -2301,7 +2301,12 @@ is used by the Requests library to verify HTTPS
requests.")
(substitute* "click/_unicodefun.py"
(("'locale'")
(string-append "'" glibc "/bin/locale'"))))
- #t)))))
+ #t))
+ (replace 'check
+ (lambda _
+ (zero? (system* "make" "test")))))))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
(home-page "http://click.pocoo.org")
(synopsis "Command line library for Python")
(description
- branch python-tests created (now a792e1a), Leo Famulari, 2016/12/13
- 01/13: build-system/python: Make sure 'check' returns failures., Leo Famulari, 2016/12/13
- 02/13: gnu: python-py: Disable tests., Leo Famulari, 2016/12/13
- 07/13: gnu: python-tornado: Disable tests., Leo Famulari, 2016/12/13
- 12/13: gnu: python-cairocffi: Use 'modify-phases' syntax., Leo Famulari, 2016/12/13
- 08/13: gnu: python-click: Fix tests.,
Leo Famulari <=
- 11/13: gnu: python-xcffib: Disable tests., Leo Famulari, 2016/12/13
- 06/13: gnu: python-sphinx: Disable tests., Leo Famulari, 2016/12/13
- 03/13: gnu: python-six: Fix test dependencies., Leo Famulari, 2016/12/13
- 04/13: gnu: python-coverage: Disable tests., Leo Famulari, 2016/12/13
- 09/13: gnu: python-requests: Disable tests., Leo Famulari, 2016/12/13
- 05/13: gnu: python-pygments: Disable tests., Leo Famulari, 2016/12/13
- 13/13: gnu: python-cairocffi: Disable tests., Leo Famulari, 2016/12/13
- 10/13: gnu: python-xcffib: Use 'modify-phases' syntax., Leo Famulari, 2016/12/13