~ruther/guix-local

489785127152d783bd1030e321186a31794d0412 — Sharlatan Hellseher 4 months ago 61c6f14
gnu: python-titlecase: Use unittest test backend.

* gnu/packages/python-xyz.scm (python-titlecase)[arguments]
<test-backend>: Use 'unittest.
<phases>: Use default 'check.

Change-Id: Ic77112981c4dbde9847c8b059fef0edfd70472fd
1 files changed, 2 insertions(+), 8 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +2 -8
@@ 31422,17 31422,11 @@ an upload option to send your work back to the platform.")
       (method url-fetch)
       (uri (pypi-uri "titlecase" version))
       (sha256
        (base32
         "1x9myq3rlbw6wh946ncch8px7wyabhzacy2fjji13nmvrivs50vx"))))
        (base32 "1x9myq3rlbw6wh946ncch8px7wyabhzacy2fjji13nmvrivs50vx"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key tests? test-flags #:allow-other-keys)
              (when tests?
                (apply invoke "python" "-m" "unittest" test-flags)))))))
      #:test-backend #~'unittest))
    (native-inputs
     (list python-setuptools))
    (home-page "https://github.com/ppannuto/python-titlecase")