htgoebel pushed a commit to branch wip-python-build-system in repository guix.
commit bd2e03053cf45abde6a313846d8567c8c17a8871 Author: Hartmut Goebel <[email protected]> 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)))
