diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-30 08:55:21 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 21:03:15 +0000 |
| commit | 76d88c774e826761db0cf654de969ea7c7c9db2b (patch) | |
| tree | 39a027d367484032dd446665b6a6a3ab14054d2d /gnu | |
| parent | bb882b77f664046ccb0ce89c50c4bae6e8772f50 (diff) | |
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>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a8cf858b002..3b62833953b 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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 |
