~ruther/guix-local

76d88c774e826761db0cf654de969ea7c7c9db2b — Nicolas Graves 2 months ago bb882b77
gnu: python-zc-lockfile: Update to 4.0.

* gnu/packages/python-web.scm (python-zc-lockfile): Update to 4.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]: Run guix style.
[native-inputs]: Add python-setuptools.

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

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +18 -12
@@ 5426,22 5426,28 @@ object to help create WSGI responses.")
(define-public python-zc-lockfile
  (package
    (name "python-zc-lockfile")
    (version "3.0.post1")
    (version "4.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "zc.lockfile" version))
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/zopefoundation/zc.lockfile")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "1v41irj7azaag3f14xyviv3l8mvap74v5p3q274k68vakrnyxcmd"))))
    (build-system python-build-system)
        (base32 "0b1kkwx2d4wf392sd3bfjvzgkdrknwsxg9mby121mq8zl7c490gg"))))
    (build-system pyproject-build-system)
    (arguments
     '(#:phases (modify-phases %standard-phases
                  (replace 'check
                    (lambda* (#:key tests? #:allow-other-keys)
                      (if tests?
                          (invoke "zope-testrunner" "--test-path=src")
                          (format #t "test suite not run~%")))))))
    (native-inputs (list python-zope-testing python-zope-testrunner))
     (list
      #:phases
      #~(modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (if tests?
                  (invoke "zope-testrunner" "--test-path=src")
                  (format #t "test suite not run~%")))))))
    (native-inputs (list python-zope-testing python-zope-testrunner
                         python-setuptools))
    (home-page "https://github.com/zopefoundation/zc.lockfile")
    (synopsis "Interprocess locks using lock files")
    (description