[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/104: gnu: python-pytest-cov: Use upstream options for testing.
From: |
Hartmut Goebel |
Subject: |
27/104: gnu: python-pytest-cov: Use upstream options for testing. |
Date: |
Tue, 15 Nov 2016 21:37:01 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit ce40b3839535c4858bec61ac23a557fca4c79cc0
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 2f7ae95..b0c1411 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1662,6 +1662,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)))
- 05/104: guix: python-build-system: Add option "#:use-setuptools?" (default true)., (continued)
- 05/104: guix: python-build-system: Add option "#:use-setuptools?" (default true)., Hartmut Goebel, 2016/11/15
- 03/104: guix: build all Python packages with --single-version-externally-managed., Hartmut Goebel, 2016/11/15
- 11/104: lint: more packages to probably be a native input., Hartmut Goebel, 2016/11/15
- 18/104: gnu: Remove needless inputs python-pip and python2-pip., Hartmut Goebel, 2016/11/15
- 08/104: guix: python-build-system: Add background about Python installation methods., Hartmut Goebel, 2016/11/15
- 09/104: gnu: python-2.7: Add all guix prefixes in PYTHONPATH to site-prefixes., Hartmut Goebel, 2016/11/15
- 22/104: gnu: Fix python inputs, part 3: all native-inputs become propagated-inputs., Hartmut Goebel, 2016/11/15
- 15/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/11/15
- 10/104: guix: Add lint-checker for packages which should be no inputs at all., Hartmut Goebel, 2016/11/15
- 29/104: gnu: python-ccm: Add missing input python-psutil., Hartmut Goebel, 2016/11/15
- 27/104: gnu: python-pytest-cov: Use upstream options for testing.,
Hartmut Goebel <=
- 21/104: gnu: Fix python inputs, part 2: all inputs become native-inputs., Hartmut Goebel, 2016/11/15
- 33/104: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/11/15
- 26/104: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/11/15
- 30/104: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/11/15
- 25/104: gnu: Fix python inputs, part 7: Ensure python-cython is a native-input., Hartmut Goebel, 2016/11/15
- 32/104: gnu: python-hdf5: Correct inputs., Hartmut Goebel, 2016/11/15
- 24/104: gnu: Fix python inputs, part 6: some inputs become native-inputs., Hartmut Goebel, 2016/11/15
- 16/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 4a), Hartmut Goebel, 2016/11/15
- 34/104: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/11/15
- 39/104: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/11/15