[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/103: gnu: python-pytest-cov: Use upstream options for testing.
From: |
Hartmut Goebel |
Subject: |
27/103: gnu: python-pytest-cov: Use upstream options for testing. |
Date: |
Tue, 25 Oct 2016 17:47:50 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit bd2e03053cf45abde6a313846d8567c8c17a8871
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 d0118fc..a0df11c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1589,6 +1589,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")))))))
(native-inputs
`(("python-coverage" ,python-coverage)
("python-pytest" ,python-pytest)))
- 12/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), (continued)
- 12/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/25
- 26/103: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/10/25
- 29/103: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/10/25
- 28/103: gnu: python-sphinx-rtd-theme: Remove inputs., Hartmut Goebel, 2016/10/25
- 15/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/10/25
- 34/103: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/25
- 38/103: gnu: python-pillow: Fix build., Hartmut Goebel, 2016/10/25
- 31/103: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/25
- 21/103: gnu: Fix python inputs, part 3: all native-inputs become propagated-inputs., Hartmut Goebel, 2016/10/25
- 25/103: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., Hartmut Goebel, 2016/10/25
- 27/103: gnu: python-pytest-cov: Use upstream options for testing.,
Hartmut Goebel <=
- 22/103: gnu: Fix python inputs, part 4: special cases., Hartmut Goebel, 2016/10/25
- 33/103: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/25
- 32/103: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/25
- 39/103: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/25
- 37/103: gnu: python-singledispatch: correct inputs., Hartmut Goebel, 2016/10/25
- 42/103: gnu: python2-pysnptools: Correct inputs., Hartmut Goebel, 2016/10/25
- 48/103: gnu: vdirsyncer: Fix build by setting correct PYTHONPATH., Hartmut Goebel, 2016/10/25
- 46/103: gnu: python-scipy: Fix build., Hartmut Goebel, 2016/10/25
- 20/103: gnu: Fix python inputs, part 2: all inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 18/103: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., Hartmut Goebel, 2016/10/25