htgoebel pushed a commit to branch wip-python-build-system in repository guix.
commit 4948289ba626280fd03eb0e088f064e375163adc Author: Hartmut Goebel <h.goe...@crazy-compilers.com> 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 e9e4974..cc8f68e 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"))))))) (inputs `(("python-coverage" ,python-coverage) ("python-pytest" ,python-pytest)))