From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Allan Webber Subject: [PATCH 15/18] gnu: Add python-billiard. Date: Mon, 15 Feb 2016 15:32:49 -0800 Message-ID: <8760xpsg66.fsf@dustycloud.org> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVSdS-0006mM-Uv for guix-devel@gnu.org; Mon, 15 Feb 2016 18:32:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVSdO-00019u-Nf for guix-devel@gnu.org; Mon, 15 Feb 2016 18:32:54 -0500 Received: from dustycloud.org ([50.116.34.160]:39482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVSdO-00019q-JS for guix-devel@gnu.org; Mon, 15 Feb 2016 18:32:50 -0500 Received: from oolong (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 402D426676 for ; Mon, 15 Feb 2016 18:32:50 -0500 (EST) Content-Disposition: inline; filename=0015-gnu-Add-python-billiard.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From 510854b320de72804575b18c77d1b30670408e6e Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 14 Feb 2016 15:49:47 -0800 Subject: [PATCH 15/18] gnu: Add python-billiard. * gnu/packages/python.scm (python-billiard, python2-billiard): New variables. --- gnu/packages/python.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 2bc45ae..ad1698b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7971,3 +7971,38 @@ RabbitMQ messaging server is the most popular implementation.") (inputs `(("python2-setuptools" ,python2-setuptools) ("python2-unittest2" ,python2-unittest2) ,@(package-inputs kombu)))))) + +(define-public python-billiard + (package + (name "python-billiard") + (version "3.3.0.22") + (source + (origin + (method url-fetch) + (uri (pypi-uri "billiard" version)) + (sha256 + (base32 + "0zp7h6a58alrb3mwdw61jds07395j4j0mj6iqsb8czrihw9ih5nj")))) + (build-system python-build-system) + (native-inputs + `(("python-nose" ,python-nose))) + (home-page "http://github.com/celery/billiard") + (synopsis + "Python multiprocessing fork with improvements and bugfixes") + (description + "billiard is a fork of the Python 2.7 multiprocessing package. The +multiprocessing package itself is a renamed and updated version of R Oudkerk's +pyprocessing package. This standalone variant is intended to be compatible with +Python 2.4 and 2.5, and will draw its fixes/improvements from python-trunk.") + (license bsd-3) + (properties `((python2-variant . ,(delay python2-billiard)))))) + +(define-public python2-billiard + (let ((billiard (package-with-python2 + (strip-python2-variant python-billiard)))) + (package + (inherit billiard) + (native-inputs `(("python2-setuptools" ,python2-setuptools) + ("python2-unittest2" ,python2-unittest2) + ("python2-mock" ,python2-mock) + ,@(package-native-inputs billiard)))))) -- 2.6.3