[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: |
Sat, 15 Oct 2016 14:08:11 +0000 (UTC) |
htgoebel pushed a commit to branch wip-python-build-system
in repository guix.
commit e8adfe19aa42d7b09a2189ed66193ab3fa85b896
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 67529d6..f228141 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)))
- 02/57: guix: build all Python packages with --single-version-externally-managed., (continued)
- 02/57: guix: build all Python packages with --single-version-externally-managed., Hartmut Goebel, 2016/10/15
- 03/57: guix: python-build-system: Import setuptools before calling `setup.py'., Hartmut Goebel, 2016/10/15
- 15/57: gnu: Remove needless inputs python-pip and python2-pip., Hartmut Goebel, 2016/10/15
- 05/57: guix: python-build-system: Add helpers for getting and setting PYTHONPATH., Hartmut Goebel, 2016/10/15
- 04/57: guix: python-build-system: Add option "#:use-setuptools?" (default true)., Hartmut Goebel, 2016/10/15
- 12/57: gnu: Remove python-setuptools and python2-setuptools from inputs (part 3), Hartmut Goebel, 2016/10/15
- 18/57: gnu: python-pytest: Propagate input "python-py"., Hartmut Goebel, 2016/10/15
- 17/57: gnu: scons: Do not use setuptools for building., Hartmut Goebel, 2016/10/15
- 07/57: guix: Add lint-checker for packages which should be no inputs at all., Hartmut Goebel, 2016/10/15
- 08/57: lint: more packages to probably be a native input., Hartmut Goebel, 2016/10/15
- 19/57: gnu: python-pytest-cov: Use upstream options for testing.,
Hartmut Goebel <=
- 23/57: inputs -> propagated-inputs: special, Hartmut Goebel, 2016/10/15
- 29/57: gnu: python-ccm: Update synopsis and description., Hartmut Goebel, 2016/10/15
- 22/57: gnu: Fix inputs in python.scm, part 2: native-inputs -> propagated-inputs., Hartmut Goebel, 2016/10/15
- 32/57: gnu: python-fixture: Correct inputs., Hartmut Goebel, 2016/10/15
- 38/57: gnu: python-pytest-flakes: Fix build., Hartmut Goebel, 2016/10/15
- 06/57: guix: python-build-system: Delete .egg-info file created in phase check., Hartmut Goebel, 2016/10/15
- 34/57: gnu: python-testrepositoryfixture: Correct inputs., Hartmut Goebel, 2016/10/15
- 33/57: gnu: python-fixture: Enable tests., Hartmut Goebel, 2016/10/15
- 42/57: gnu: python-fonttools: Remove intervening directory in site-packges., Hartmut Goebel, 2016/10/15
- 43/57: gnu: python-numpy-bootstrap, python-numpy: Fix build., Hartmut Goebel, 2016/10/15