~ruther/guix-local

0ea6bda82f2002d86a7d3ff63cc9bc3198d60840 — Nicolas Graves 7 months ago 580d1f5
gnu: python-robber: Switch to pyproject.

* gnu/packages/python-check.scm (python-robber):
[source]: Run guix style.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.

Change-Id: I52825bbefe3d4c02681e76ce0dfcc7a490d5f11d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 11 insertions(+), 10 deletions(-)

M gnu/packages/python-check.scm
M gnu/packages/python-check.scm => gnu/packages/python-check.scm +11 -10
@@ 3546,19 3546,20 @@ simpler.")
  (package
    (name "python-robber")
    (version "1.1.5")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "robber" version))
              (sha256
               (base32
                "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
    (build-system python-build-system)
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "robber" version))
       (sha256
        (base32 "0xp5csgv2g9q38hscml6bc5i1nm4xy5lzqqiimm2drxsf0hw2nq5"))))
    (build-system pyproject-build-system)
    ;; There are no tests in the tarball downloaded from PyPI.
    ;; The last version tagged in Github (0.1.0) is older than the one on PyPI.
    ;; Reported upstream: <https://github.com/vesln/robber.py/issues/20>.
    (arguments '(#:tests? #f))
    (propagated-inputs
     (list python-mock python-termcolor))
    (arguments
     '(#:tests? #f))
    (native-inputs (list python-setuptools python-wheel))
    (propagated-inputs (list python-mock python-termcolor))
    ;; URL of the fork used to generate the package available on PyPI.
    (home-page "https://github.com/EastAgile/robber.py")
    (synopsis "Test-driven development (TDD) assertion library for Python")