~ruther/guix-local

65f814187633d5f944ebaf3fb0d1fb0aedaca70d — Hugo Buddelmeijer 4 months ago 3080afe
gnu: python-flake8-class-newline: Fix build.

* gnu/packages/python-xyz.scm (python-flake8-class-newline): Fix build.
[source]: Switch to git-fetch.
[arguments] <#:test-backend>: Use unittest.
[native-inputs]: Remove python-wheel.

Change-Id: Ib77582846c5041bb2899798b01129a842cf28897
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 8 insertions(+), 4 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +8 -4
@@ 858,13 858,17 @@ system.")
    (version "1.6.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "flake8-class-newline" version))
       (method git-fetch)
       (uri (git-reference
              (url "https://github.com/AlexanderVanEck/flake8-class-newline")
              (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1w8z88asz90jm1msz06vi7dj0da8sfw5ajyvabfv7f4fr0iljk2i"))))
        (base32 "15fw0iw2c3a3n2aarfgq7147406489xd8nk0kkj9k2x98fkwwnyh"))))
    (build-system pyproject-build-system)
    (arguments (list #:test-backend #~'unittest))
    (propagated-inputs (list python-flake8))
    (native-inputs (list python-setuptools python-wheel))
    (native-inputs (list python-setuptools))
    (home-page "https://github.com/AlexanderVanEck/flake8-class-newline")
    (synopsis "Flake8 lint for newline after class definitions")
    (description "This package provides a flake8 extension to lint for newline