guix-commits
[Top][All Lists]
Advanced

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

03/19: gnu: Add python2-apipkg.


From: Christopher Allan Webber
Subject: 03/19: gnu: Add python2-apipkg.
Date: Sat, 20 Feb 2016 02:12:52 +0000

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

commit c7d8d270ea3fbdd7d1ea6db66e0cd955b438bab3
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 9dbe911..0c05ba7 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6855,7 +6855,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)))
+    (native-inputs
+     `(("python2-setuptools" ,python2-setuptools)))))
 
 (define-public python-execnet
   (package



reply via email to

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