From e500011ab8eb69cb0191f25340ea285a3ac3baf7 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Nov 2015 22:33:31 +0200 Subject: [PATCH 2/9] gnu: Add python2-futures. * gnu/packages/python.scm (python2-futures): New variable. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 164907e..cf34f21 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6623,3 +6623,26 @@ the standard library.") (define-public python2-contextlib2 (package-with-python2 python-contextlib2)) + +(define-public python2-futures + (package + (name "python2-futures") + (version "3.0.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "futures" version)) + (sha256 + (base32 + "1vcb34dqhzkhbq1957vdjszhhm5y3j9ba88dgwhqx2zynhmk9qig")))) + (build-system python-build-system) + (arguments + `(#:python ,python-2)) + (native-inputs + `(("python2-setuptools" ,python2-setuptools))) + (home-page "https://github.com/agronholm/pythonfutures") + (synopsis + "Backport of the concurrent.futures package from Python 3.2") + (description + "Backport of the concurrent.futures package from Python 3.2") + (license bsd-3))) -- 2.6.4