guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/18: gnu: Add python2-execnet.


From: Christopher Allan Webber
Subject: 03/18: gnu: Add python2-execnet.
Date: Sat, 20 Feb 2016 02:51:11 +0000

cwebber pushed a commit to branch wip-mediagoblin
in repository guix.

commit ca0527ce8bf80743866d89ff6354f22f782ac913
Author: Christopher Allan Webber <address@hidden>
Date:   Sat Feb 13 18:11:05 2016 -0800

    gnu: Add python2-execnet.
    
    * gnu/packages/python.scm (python2-execnet): New variable.
---
 gnu/packages/python.scm |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ef91754..a5d42f5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6888,7 +6888,17 @@ minimal and fast API targetting the following uses:
 @item write scripts to administer multiple environments
 @end enumerate")
     (home-page "http://codespeak.net/execnet/";)
-    (license license:expat)))
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-execnet))))))
+
+(define-public python2-execnet
+  (let ((execnet (package-with-python2
+                  (strip-python2-variant python-execnet))))
+    (package
+      (inherit execnet)
+      (native-inputs
+       `(("python2-setuptools" ,python2-setuptools)
+         ,@(package-native-inputs execnet))))))
 
 ;;; The software provided by this package was integrated into pytest 2.8.
 (define-public python-pytest-cache



reply via email to

[Prev in Thread] Current Thread [Next in Thread]