[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31565] [PATCH 3/5] gnu: Add python-gipc.
From: |
Mathieu Othacehe |
Subject: |
[bug#31565] [PATCH 3/5] gnu: Add python-gipc. |
Date: |
Wed, 23 May 2018 10:35:20 +0200 |
* gnu/packages/python.scm (python-gipc): New variable,
(python2-gipc): new variable.
---
gnu/packages/python.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 31310ce..7919f45 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,29 @@ 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)
+ ("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))
--
2.7.4