diff options
author | Troy Figiel <troy@troyfigiel.com> | 2024-01-21 22:12:47 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2024-03-14 22:49:51 +0000 |
commit | 36da1ad73dabdb05bba4a95d47f2b1a49627b38f (patch) | |
tree | fc831a6d13df952ee413fbbf8e2b5119520d08ec /gnu/packages | |
parent | fb377b4af7c1088451d1351a5a2d3b6a613955cd (diff) |
gnu: Add python-zodbpickle.
* gnu/packages/python-web.scm (python-zodbpickle): New variable.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python-web.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 790164b1ab..18caeb63bb 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2760,6 +2760,34 @@ found in Python's standard library, and is more suitable to configuration-intensive applications.") (license license:zpl2.1))) +(define-public python-zodbpickle + (package + (name "python-zodbpickle") + (version "3.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "zodbpickle" version)) + (sha256 + (base32 "035bjrksl4h92mvjkx6id4gjcpc1k4mbci8ryjl6l9mki7ihx77b")))) + (build-system pyproject-build-system) + (arguments + '(#:phases (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (invoke "zope-testrunner" "-vv" "--test-path=src" + "--all") + (format #t "test suite not run~%"))))))) + (native-inputs (list python-zope-testrunner)) + (home-page "https://github.com/zopefoundation/zodbpickle") + (synopsis "Uniform pickling interface for @code{zodb}") + (description + "This package is a fork of the @code{pickle} module (and the +supporting C extension) from both Python 3.2 and Python 3.3. The fork adds +support for the @code{noload} operations used by @code{zodb}.") + (license (list license:psfl license:zpl2.1)))) + (define-public python-zope-event (package (name "python-zope-event") |