[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: python-pbkdf2: Fix tests.
From: |
Marius Bakke |
Subject: |
03/08: gnu: python-pbkdf2: Fix tests. |
Date: |
Sat, 18 Feb 2017 19:23:00 -0500 (EST) |
mbakke pushed a commit to branch python-tests
in repository guix.
commit fffcd8b829d1fbd8bdb6af85385033224c576cec
Author: Marius Bakke <address@hidden>
Date: Wed Feb 15 22:19:08 2017 +0100
gnu: python-pbkdf2: Fix tests.
* gnu/packages/python.scm (python-pbkdf2)[arguments]: Replace 'check' phase
with custom command.
---
gnu/packages/python.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index fff9a66..70aa8cd 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12967,6 +12967,15 @@ protocols written in pure Python.")
(base32
"0yb99rl2mbsaamj571s1mf6vgniqh23v98k4632150hjkwv9fqxc"))))
(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ (setenv "PYTHONPATH"
+ (string-append (getcwd) "/build/lib:"
+ (getenv "PYTHONPATH")))
+ (zero? (system* "python" "test/test_pbkdf2.py")))))))
(propagated-inputs
`(("python-pycrypto" ,python-pycrypto))) ; optional
(home-page "http://www.dlitz.net/software/python-pbkdf2/")
- branch python-tests updated (27693b1 -> dc027d4), Marius Bakke, 2017/02/18
- 06/08: gnu: python-scipy: Declare python2-variant., Marius Bakke, 2017/02/18
- 01/08: gnu: python-sphinx: Propagate python-requests., Marius Bakke, 2017/02/18
- 02/08: gnu: duplicity: Fix tests., Marius Bakke, 2017/02/18
- 04/08: gnu: python-flask-wtf: Drop failing test., Marius Bakke, 2017/02/18
- 05/08: gnu: python-flake8-polyfill: Enable tests., Marius Bakke, 2017/02/18
- 07/08: gnu: python-scikit-learn: Fix test failure., Marius Bakke, 2017/02/18
- 03/08: gnu: python-pbkdf2: Fix tests.,
Marius Bakke <=
- 08/08: gnu: python-pyicu: Fix build., Marius Bakke, 2017/02/18