[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
19/57: gnu: python-pytest-cov: Use upstream options for testing.
From: |
Hartmut Goebel |
Subject: |
19/57: gnu: python-pytest-cov: Use upstream options for testing. |
Date: |
Thu, 13 Oct 2016 15:20:32 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit 3d88956558e5fb96e7f634f2a8811f8373be99b9
Author: Hartmut Goebel <address@hidden>
Date: Sun Oct 2 23:15:14 2016 +0200
gnu: python-pytest-cov: Use upstream options for testing.
* gnu/packages/python.scm (python-pytest-cov): Replace phase "check"
by one passing the options found in upstream's tox.ini-file
to "python setup.py check".
---
gnu/packages/python.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 5ca9085..7997c5b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1588,6 +1588,16 @@ and many external plugins.")
(base32
"1yl4nbhzfgsxqlsyk4clafgp9x11zvgrkprm9i2p3fgkwx9jxcm8"))))
(build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; options taken from tox.ini
+ ;; TODO: make "--restructuredtext" tests pass. They currently fail
+ ;; with "Duplicate implicit target name"
+ (zero? (system* "python" "./setup.py" "check"
+ "--strict" "--metadata")))))))
(inputs
`(("python-coverage" ,python-coverage)
("python-pytest" ,python-pytest)))
- branch wip-python-build-system created (now ec6bb65), Hartmut Goebel, 2016/10/13
- 18/57: gnu: python-pytest: Propagate input "python-py"., Hartmut Goebel, 2016/10/13
- 22/57: gnu: Fix inputs in python.scm, part 2: native-inputs -> propagated-inputs., Hartmut Goebel, 2016/10/13
- 46/57: gnu: python-ipython: Fix build, Hartmut Goebel, 2016/10/13
- 06/57: guix: python-build-system: Delete .egg-info file created in phase check., Hartmut Goebel, 2016/10/13
- 05/57: guix: python-build-system: Add helpers for getting and setting PYTHONPATH., Hartmut Goebel, 2016/10/13
- 04/57: guix: python-build-system: Add option "#:use-setuptools?" (default true)., Hartmut Goebel, 2016/10/13
- 08/57: lint: more packages to probably be a native input., Hartmut Goebel, 2016/10/13
- 19/57: gnu: python-pytest-cov: Use upstream options for testing.,
Hartmut Goebel <=
- 17/57: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/10/13
- 31/57: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/13
- 13/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/13
- 45/57: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/13
- 27/57: gnu: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/13
- 20/57: gnu: Fix inputs in python.scm, part 1: inputs -> propagated-inputs., Hartmut Goebel, 2016/10/13
- 53/57: gnu: python-pytest-xdist: Remove needless input python-apipkg., Hartmut Goebel, 2016/10/13
- 52/57: gnu: python-subunit, python-testrepository: Fix inputs, Hartmut Goebel, 2016/10/13
- 41/57: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/13
- 57/57: Add a series of FIXME and TODO comments., Hartmut Goebel, 2016/10/13