diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-20 23:45:00 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:39 +0100 |
| commit | 633ce9bc8de77a4a709fff36c46ed3c37b2db6c3 (patch) | |
| tree | 9d9ad33f276e76a0e557b6ad3df670b82c35bacb /gnu/packages/python-web.scm | |
| parent | 0b0bd44d41fdbce13d61ceee2cdda5d73f0694f1 (diff) | |
gnu: python-zope-hookable: Update to 7.0.
* gnu/packages/python-web.scm (python-zope-hookable): Update to 7.0.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Add python-setuptools.
[home-page]: Use the readthedocs link.
[description]: Improve style.
Change-Id: If35c751536895728b14b7d0b9a35c008e3c7832f
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 46 |
1 files changed, 29 insertions, 17 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 9d2adb4c3cf..cdc0a871395 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4865,25 +4865,37 @@ etc.) for which the proxy is responsible.") (define-public python-zope-hookable (package (name "python-zope-hookable") - (version "5.0.1") + (version "7.0") (source - (origin - (method url-fetch) - (uri (pypi-uri "zope.hookable" version)) - (sha256 - (base32 - "0hc82lfr7bk53nvbxvjkibkarngyrzgfk2i6bg8wshl0ly0pdl19")))) - (build-system python-build-system) - (native-inputs - (list python-coverage python-zope-testing)) - (home-page "https://github.com/zopefoundation/zope.hookable") + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zopefoundation/zope.hookable") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1l94xzzpyslpgv2ghvl5qzpfcsq02kp04fmvl95d6jcmivmmr4m8")))) + (build-system pyproject-build-system) + (arguments + (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://zopehookable.readthedocs.io") (synopsis "Zope hookable") - (description "This package supports the efficient creation of hookable -objects, which are callable objects that are meant to be optionally replaced. -The idea is that you create a function that does some default thing and make i -hookable. Later, someone can modify what it does by calling its sethook method -and changing its implementation. All users of the function, including those -that imported it, will see the change.") + (description + "This package supports the efficient creation of hookable objects, which +are callable objects that are meant to be optionally replaced. The idea is +that you create a function that does some default thing and make i hookable. +Later, someone can modify what it does by calling its sethook method and +changing its implementation. All users of the function, including those that +imported it, will see the change.") (license license:zpl2.1))) (define-public python-zope-location |
