From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Add joblib. Date: Thu, 8 Oct 2015 10:45:39 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk6q7-0002KA-TL for guix-devel@gnu.org; Thu, 08 Oct 2015 04:46:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zk6pj-0006Ky-KV for guix-devel@gnu.org; Thu, 08 Oct 2015 04:46:15 -0400 Received: from sinope.bbbm.mdc-berlin.de ([141.80.25.23]:52431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zk6pj-0006Jq-7H for guix-devel@gnu.org; Thu, 08 Oct 2015 04:45:51 -0400 Received: from localhost (localhost [127.0.0.1]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP id 713372809B7 for ; Thu, 8 Oct 2015 10:45:48 +0200 (CEST) Received: from sinope.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SPDrlK2lEj6U for ; Thu, 8 Oct 2015 10:45:42 +0200 (CEST) Received: from HTCAONE.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by sinope.bbbm.mdc-berlin.de (Postfix) with ESMTP for ; Thu, 8 Oct 2015 10:45:42 +0200 (CEST) Content-Disposition: inline; filename="0001-gnu-Add-python-joblib.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 >From 848f0f327e1cef97977d695c01480abd1c215bc3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 7 Oct 2015 13:01:36 +0200 Subject: [PATCH] gnu: Add python-joblib. * gnu/packages/python.scm (python-joblib, python2-joblib): New variables. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 267aebb..46fcb4a 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -2246,6 +2246,33 @@ written in pure Python.") (define-public python2-jinja2 (package-with-python2 python-jinja2)) +(define-public python-joblib + (package + (name "python-joblib") + (version "0.9.0b4") + (source (origin + (method url-fetch) + (uri (string-append "https://pypi.python.org/packages/source/" + "j/joblib/joblib-" version ".tar.gz")) + (sha256 + (base32 + "1dvw3f8jgj6h0fxkghbgyclvdzc7l0ig7n0vis70awb5kczb9bs3")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools) + ("python-nose" ,python-nose))) + (home-page "http://pythonhosted.org/joblib/") + (synopsis "Using Python functions as pipeline jobs") + (description + "Joblib is a set of tools to provide lightweight pipelining in Python. +In particular, joblib offers: transparent disk-caching of the output values +and lazy re-evaluation (memoize pattern), easy simple parallel computing +logging and tracing of the execution.") + (license bsd-3))) + +(define-public python2-joblib + (package-with-python2 python-joblib)) + (define-public python-docutils (package (name "python-docutils") -- 2.1.0