[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: python-flake8-polyfill: Enable tests.
From: |
Marius Bakke |
Subject: |
05/08: gnu: python-flake8-polyfill: Enable tests. |
Date: |
Sat, 18 Feb 2017 19:23:01 -0500 (EST) |
mbakke pushed a commit to branch python-tests
in repository guix.
commit 2c1cad7ad2f95685be889bdf662ffdf8df87d5cf
Author: Marius Bakke <address@hidden>
Date: Wed Feb 15 23:59:51 2017 +0100
gnu: python-flake8-polyfill: Enable tests.
* gnu/packages/python.scm (python-flake8-polyfill,
python2-flake8-polyfill)[native-inputs]: Add PYTHON-FLAKE8, PYTHON-MOCK,
PYTHON-PYCODESTYLE and PYTHON-PYTEST. New field.
[arguments]: Replace 'check' phase with custom command.
---
gnu/packages/python.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 635feb4..89d8c5c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6250,6 +6250,20 @@ complexity of Python source code.")
(base32
"02gn2wxvh9vnf7m7dld7ca4l60mg5c370hv3swwppkngwaqmcw67"))))
(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* "py.test" "-v")))))))
+ (native-inputs
+ `(("python-flake8" ,python-flake8)
+ ("python-mock" ,python-mock)
+ ("python-pycodestyle" ,python-pycodestyle)
+ ("python-pytest" ,python-pytest)))
(home-page "https://gitlab.com/pycqa/flake8-polyfill")
(synopsis "Polyfill package for Flake8 plugins")
(description
- 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 <=
- 07/08: gnu: python-scikit-learn: Fix test failure., Marius Bakke, 2017/02/18
- 03/08: gnu: python-pbkdf2: Fix tests., Marius Bakke, 2017/02/18
- 08/08: gnu: python-pyicu: Fix build., Marius Bakke, 2017/02/18