~ruther/guix-local

e3cfbd0c1517f416652f18f36886e992a8aa077a — Ricardo Wurmus 1 year, 4 months ago 70b3077
gnu: python-pytest-flakes: Use pyproject-build-system.

* gnu/packages/check.scm (python-pytest-flakes)[build-system]: Use
pyproject-build-system.
[arguments]: Remove custom 'check phase; use #:test-flags instead.
[native-inputs]: Remove python-pytest-pep8; add python-setuptools and
python-wheel.

Change-Id: I510ed41d7750e4024c404322c60deae4291dc9b7
1 files changed, 5 insertions(+), 11 deletions(-)

M gnu/packages/check.scm
M gnu/packages/check.scm => gnu/packages/check.scm +5 -11
@@ 3214,19 3214,13 @@ each of the environments.")
              (sha256
               (base32
                "0959qfxb4ayvfxvmpargvh4zfhwdq5l77gczhzv33bhmfblk8ccm"))))
    (build-system python-build-system)
    (build-system pyproject-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (delete 'check)
         (add-after 'install 'check
           (lambda* (#:key outputs inputs #:allow-other-keys)
             ;; It's easier to run tests after install.
             ;; Make installed package available for running the tests
             (add-installed-pythonpath inputs outputs)
             (invoke "py.test" "-vv" "-k" "not test_syntax_error"))))))
     (list
      #:test-flags
      '(list "-k" "not test_syntax_error")))
    (native-inputs
     (list python-coverage python-pytest python-pytest-pep8))
     (list python-coverage python-pytest python-setuptools python-wheel))
    (propagated-inputs
     (list python-pyflakes))
    (home-page "https://github.com/fschulze/pytest-flakes")