From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLPFf-0003ob-IH for guix-patches@gnu.org; Wed, 23 May 2018 04:36:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLPFc-00063Y-OQ for guix-patches@gnu.org; Wed, 23 May 2018 04:36:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36874) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLPFc-00063T-Ku for guix-patches@gnu.org; Wed, 23 May 2018 04:36:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fLPFc-0005z1-Es for guix-patches@gnu.org; Wed, 23 May 2018 04:36:04 -0400 Subject: [bug#31565] [PATCH 3/5] gnu: Add python-gipc. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLPFB-0003bL-Fc for guix-patches@gnu.org; Wed, 23 May 2018 04:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLPF7-0005nZ-HY for guix-patches@gnu.org; Wed, 23 May 2018 04:35:37 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:34547) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fLPF7-0005nF-BM for guix-patches@gnu.org; Wed, 23 May 2018 04:35:33 -0400 Received: by mail-wm0-x232.google.com with SMTP id q4-v6so1460529wmq.1 for ; Wed, 23 May 2018 01:35:33 -0700 (PDT) From: Mathieu Othacehe Date: Wed, 23 May 2018 10:35:20 +0200 Message-Id: <1527064522-20775-3-git-send-email-m.othacehe@gmail.com> In-Reply-To: <1527064522-20775-1-git-send-email-m.othacehe@gmail.com> References: <1527064522-20775-1-git-send-email-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31565@debbugs.gnu.org * 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 ;;; Copyright © 2017, 2018 Adriano Peluso ;;; Copyright © 2017 Ben Sturmfels -;;; Copyright © 2017 Mathieu Othacehe +;;; Copyright © 2017, 2018 Mathieu Othacehe ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2017, 2018 Kei Kebreau @@ -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