guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Add python2-apipkg.


From: Christopher Allan Webber
Subject: 03/05: gnu: Add python2-apipkg.
Date: Sun, 14 Feb 2016 02:12:10 +0000

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

commit 2166a765a042b859bb88aef15643dcc2b04b69dd
Author: Christopher Allan Webber <address@hidden>
Date:   Sat Feb 13 18:04:18 2016 -0800

    gnu: Add python2-apipkg.
    
    * gnu/packages/python.scm (python2-apipkg): New variable.
---
 gnu/packages/python.scm |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index c72c693..bd65a09 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6819,7 +6819,15 @@ applications.")
 package and greatly reduce the number of imports for your users.  It is a small
 pure Python module that works on virtually all Python versions.")
     (home-page "https://bitbucket.org/hpk42/apipkg";)
-    (license license:expat)))
+    (license license:expat)
+    (properties `((python2-variant . ,(delay python2-apipkg))))))
+
+(define-public python2-apipkg
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-apipkg)))
+    (inputs
+     `(("python2-setuptools" ,python2-setuptools)))))
 
 (define-public python-execnet
   (package



reply via email to

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