guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: Add python-multiprocessing-on-dill.


From: guix-commits
Subject: 05/09: gnu: Add python-multiprocessing-on-dill.
Date: Thu, 16 Jun 2022 09:27:10 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 21e9e67c77ba9b9aac7957e0a3befcfcc508a386
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jun 16 15:16:08 2022 +0200

    gnu: Add python-multiprocessing-on-dill.
    
    * gnu/packages/python-xyz.scm (python-multiprocessing-on-dill): New 
variable.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0cd811c9bb..e6bd8c4832 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22191,6 +22191,34 @@ which supports the spawning of processes using the API 
of the standard
 library's @code{threading} module.")
     (license license:bsd-3)))
 
+(define-public python-multiprocessing-on-dill
+  (package
+    (name "python-multiprocessing-on-dill")
+    (version "3.5.0a4")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "multiprocessing_on_dill" version))
+              (sha256
+               (base32
+                "1rs5a3hx1fcpfsxxkl5kx6g06c82wqjqgdqyny5l1ggl1wq0rmfn"))))
+    (build-system python-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv")))))))
+    (propagated-inputs (list python-dill))
+    (native-inputs (list python-check-manifest python-pytest python-wheel))
+    (home-page "https://github.com/sixty-north/multiprocessing_on_dill";)
+    (synopsis "Multiprocessing using dill instead of pickle")
+    (description
+     "This package provides a friendly fork of multiprocessing which uses dill
+instead of pickle.")
+    (license license:psfl)))
+
 (define-public python-toolrack
   (package
     (name "python-toolrack")



reply via email to

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