[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 18:00:37 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit d32dc0528028f4b6fd3e3bbd3b5d8de07f016e72
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 37fc20c..3d3542d 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")))))))
(propagated-inputs
`(("python-coverage" ,python-coverage)
("python-pytest" ,python-pytest)))
- 22/103: gnu: Fix python inputs, part 4: special cases., (continued)
- 22/103: gnu: Fix python inputs, part 4: special cases., Hartmut Goebel, 2016/10/25
- 08/103: gnu: python-2.7: Add all guix prefixes in PYTHONPATH to site-prefixes., Hartmut Goebel, 2016/10/25
- 14/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/25
- 30/103: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/25
- 12/103: gnu: Remove python-setuptools and python2-setuptools from inputs (part 1b), Hartmut Goebel, 2016/10/25
- 31/103: gnu: python-h5py: Remove needless "python2-variant" property., Hartmut Goebel, 2016/10/25
- 18/103: gnu: Remove work-arounds for bug 20765 (ensure uncompressed eggs)., 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
- 20/103: gnu: Fix python inputs, part 2: all inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 27/103: gnu: python-pytest-cov: Use upstream options for testing.,
Hartmut Goebel <=
- 32/103: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/10/25
- 24/103: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/10/25
- 21/103: gnu: Fix python inputs, part 3: all native-inputs become propagated-inputs., Hartmut Goebel, 2016/10/25
- 43/103: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/10/25
- 39/103: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/25
- 40/103: gnu: python-zope-schema: Add missing inputs., Hartmut Goebel, 2016/10/25
- 47/103: gnu: python-ipython: Fix build., Hartmut Goebel, 2016/10/25
- 23/103: gnu: Fix python inputs, part 5: some 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
- 49/103: gnu: thefuck: Fix build., Hartmut Goebel, 2016/10/25