diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-09-21 00:22:35 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-25 09:36:40 +0100 |
| commit | 4aeb265d9591d849d332a5eb22a2347962745cda (patch) | |
| tree | 47510a9350f1a5e8b5aed8dd45a61d26effc365b /gnu/packages/python-web.scm | |
| parent | ce34c5ae606afa9f1712638843136afd8979d64f (diff) | |
gnu: python-persistent: Update to 6.1.1.
* gnu/packages/python-web.scm (python-persistent): Update to 6.1.1.
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Replace 'check phase.
[native-inputs]: Add python-setuptools.
[propagated-inputs]: Add python-zope-deferredimport,
python-zope-testrunner.
[description]: Improve style.
Change-Id: I422ee21f044ac238d20260515e924e0dd00b7e50
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 43 |
1 files changed, 30 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1f57f44af43..80609154c1c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -9336,24 +9336,41 @@ framework, designed to be lean and fast, with few dependencies.") (define-public python-persistent (package (name "python-persistent") - (version "4.6.4") + (version "6.1.1") (source - (origin - (method url-fetch) - (uri (pypi-uri "persistent" version)) - (sha256 - (base32 - "0imm9ji03lhkpcfmhid7x5209ix8g2rlgki9ik1qxks4b8sm8gzq")))) - (build-system python-build-system) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/zopefoundation/persistent/") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "19qwqg49zql2c8l4vjxjb9haw0bzd6lk8p4v3hip2irch6a4578a")))) + (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" + ;; XXX: Ignore doc tests. + "!persistent.tests.test_docs") + (format #t "test suite not run~%"))))))) (propagated-inputs - (list python-cffi python-zope-interface)) + (list python-cffi + python-zope-deferredimport + python-zope-interface + python-zope-testrunner)) (native-inputs - (list python-manuel python-zope-testrunner)) + (list python-manuel python-zope-testrunner python-setuptools)) (home-page "https://github.com/zopefoundation/persistent/") (synopsis "Translucent persistent objects") - (description "This package contains a generic persistence implementation for -Python. It forms the core protocol for making objects interact -\"transparently\" with a database such as the ZODB.") + (description + "This package contains a generic persistence implementation for Python. +It forms the core protocol for making objects interact \"transparently\" with +a database such as the ZODB.") (license license:zpl2.1))) (define-public python-btrees |
