From 7a5b944eb5bc9df149cca4eb018e58e106084fbb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Nov 2015 22:33:31 +0200 Subject: [PATCH] gnu: Add python-futures. * gnu/packages/python.scm (python-futures, python2-futures): New variables. --- gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cda995c440..8e0019eb43 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -7084,3 +7084,29 @@ Python at your fingertips, in Lisp form.") (define-public python2-hy (package-with-python2 python-hy)) + +(define-public python-futures + (package + (name "python-futures") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "futures" version)) + (sha256 + (base32 + "1vcb34dqhzkhbq1957vdjszhhm5y3j9ba88dgwhqx2zynhmk9qig")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/agronholm/pythonfutures") + (synopsis + "Backport of the concurrent.futures package from Python 3.2") + (description + "The concurrent.futures module provides a high-level interface for +asynchronously executing callables. This package backports the +concurrent.futures package from Python 3.2") + (license bsd-3))) + +(define-public python2-futures + (package-with-python2 python-futures))