guix-commits
[Top][All Lists]
Advanced

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

04/19: gnu: Add python2-execnet.


From: Christopher Allan Webber
Subject: 04/19: gnu: Add python2-execnet.
Date: Sat, 20 Feb 2016 02:13:22 +0000

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

commit 4b69b4de2f871824237b91513cec4f2427b2db34
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 0c05ba7..cd9ce6b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6891,7 +6891,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]