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

commit 16c84f9031868e4b92820d5b45b430ff9b6eaa34
Author: Christopher Allan Webber <cweb...@dustycloud.org>
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 5eaaa8c..690d0a3 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6886,7 +6886,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