[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/12: gnu: python-click: Enable tests.
From: |
guix-commits |
Subject: |
04/12: gnu: python-click: Enable tests. |
Date: |
Sun, 27 Jan 2019 05:49:40 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 8d7e7ca6a1c801aa636cfc1767b8839fef77c97e
Author: Efraim Flashner <address@hidden>
Date: Sun Jan 27 11:01:21 2019 +0200
gnu: python-click: Enable tests.
* gnu/packages/python-xyz.scm (python-click)[arguments]: Enable tests.
Add custom 'check phase.
---
gnu/packages/python-xyz.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1592c46..e9b8b94 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1648,10 +1648,7 @@ files.")
"1mzjixd4vjbjvzb6vylki9w1556a9qmdh35kzmq6cign46av952v"))))
(build-system python-build-system)
(arguments
- `(;; The tests are fragile, depending on a specific version of pytest:
- ;; <https://github.com/pallets/click/issues/823>
- #:tests? #f
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys)
@@ -1660,7 +1657,10 @@ files.")
(substitute* "click/_unicodefun.py"
(("'locale'")
(string-append "'" glibc "/bin/locale'"))))
- #t)))))
+ #t))
+ (replace 'check
+ (lambda _
+ (invoke "python" "-m" "pytest"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://palletsprojects.com/p/click/")
- branch master updated (9f92038 -> 2066975), guix-commits, 2019/01/27
- 06/12: gnu: python-flask: Update to 1.0.2., guix-commits, 2019/01/27
- 07/12: gnu: python-flask: Run test suite., guix-commits, 2019/01/27
- 02/12: gnu: python-itsdangerous: Update to 1.1.0., guix-commits, 2019/01/27
- 05/12: gnu: python-werkzeug: Update to 0.14.1., guix-commits, 2019/01/27
- 08/12: gnu: python-tornado: Update to 5.1.1., guix-commits, 2019/01/27
- 10/12: gnu: python-urllib3: Update to 1.24.1., guix-commits, 2019/01/27
- 12/12: gnu: python-cryptography, python-cryptography-vectors: Update to 2.5., guix-commits, 2019/01/27
- 09/12: gnu: python-flaky: Update to 3.5.3., guix-commits, 2019/01/27
- 03/12: gnu: python-click: Update to 7.0., guix-commits, 2019/01/27
- 04/12: gnu: python-click: Enable tests.,
guix-commits <=
- 01/12: gnu: python-entrypoints: Update to 0.3., guix-commits, 2019/01/27
- 11/12: gnu: python-bcrypt: Update to 3.1.6., guix-commits, 2019/01/27