guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add python-gipc.


From: Mathieu Othacehe
Subject: 03/05: gnu: Add python-gipc.
Date: Fri, 25 May 2018 04:38:08 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit b5a9f49b495a810d4ffb9bbd24054acbeaab894e
Author: Mathieu Othacehe <address@hidden>
Date:   Wed May 23 10:09:26 2018 +0200

    gnu: Add python-gipc.
    
    * gnu/packages/python.scm (python-gipc): New variable,
    (python2-gipc): new variable.
---
 gnu/packages/python.scm | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 31310ce..50bfc8d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -38,7 +38,7 @@
 ;;; Copyright © 2017 Frederick M. Muriithi <address@hidden>
 ;;; Copyright © 2017, 2018 Adriano Peluso <address@hidden>
 ;;; Copyright © 2017 Ben Sturmfels <address@hidden>
-;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
+;;; Copyright © 2017, 2018 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2017 José Miguel Sánchez García <address@hidden>
 ;;; Copyright © 2017 Roel Janssen <address@hidden>
 ;;; Copyright © 2017, 2018 Kei Kebreau <address@hidden>
@@ -13339,3 +13339,30 @@ Glob2 currently based on the glob code from Python 
3.3.1.")
 
 (define-public python2-glob2
   (package-with-python2 python-glob2))
+
+(define-public python-gipc
+  (package
+    (name "python-gipc")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "gipc" version ".zip"))
+       (sha256
+        (base32
+         "0pd9by719qh882hqs6xpby61sn1x5h98hms5p2p8yqnycrf1s0h2"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("unzip" ,unzip)))
+    (propagated-inputs
+     `(("python-gevent" ,python-gevent)))
+    (home-page "http://gehrcke.de/gipc";)
+    (synopsis "Child process management in the context of gevent")
+    (description "Usage of Python's multiprocessing package in a
+gevent-powered application may raise problems.  With @code{gipc},
+process-based child processes can safely be created anywhere within a
+gevent-powered application.")
+    (license license:expat)))
+
+(define-public python2-gipc
+  (package-with-python2 python-gipc))



reply via email to

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