guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: gnu: Add python-zodbpickle.


From: guix-commits
Subject: 02/05: gnu: Add python-zodbpickle.
Date: Thu, 14 Mar 2024 19:34:11 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 36da1ad73dabdb05bba4a95d47f2b1a49627b38f
Author: Troy Figiel <troy@troyfigiel.com>
AuthorDate: Sun Jan 21 22:12:47 2024 +0100

    gnu: Add python-zodbpickle.
    
    * gnu/packages/python-web.scm (python-zodbpickle): New variable.
    
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
 gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]