guix-commits
[Top][All Lists]
Advanced

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

05/06: gnu: python-cython: Define 'python2-variant'.


From: Ludovic Courtès
Subject: 05/06: gnu: python-cython: Define 'python2-variant'.
Date: Sun, 07 Feb 2016 22:46:11 +0000

civodul pushed a commit to branch master
in repository guix.

commit 48b311b1b3ba7d34b5d8825a23ea89e5091d2a95
Author: Ludovic Courtès <address@hidden>
Date:   Sun Feb 7 22:55:45 2016 +0100

    gnu: python-cython: Define 'python2-variant'.
    
    * gnu/packages/python.scm (python-cython)[properties]: New field.
    (python2-cython): Use 'strip-python2-variant'.
---
 gnu/packages/python.scm |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b135ab7..702a333 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2013 Nikita Karetnikov <address@hidden>
-;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès <address@hidden>
 ;;; Copyright © 2013, 2014, 2015 Andreas Enge <address@hidden>
 ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
 ;;; Copyright © 2014 Eric Bavier <address@hidden>
@@ -2940,10 +2940,12 @@ is designed to have a low barrier to entry.")
     (description "Cython is an optimising static compiler for both the Python
 programming language and the extended Cython programming language.  It makes
 writing C extensions for Python as easy as Python itself.")
-    (license asl2.0)))
+    (license asl2.0)
+    (properties `((python2-variant . ,(delay python2-cython))))))
 
 (define-public python2-cython
-  (package (inherit (package-with-python2 python-cython))
+  (package (inherit (package-with-python2
+                     (strip-python2-variant python-cython)))
     (name "python2-cython")
     (inputs
      `(("python-2" ,python-2))))) ; this is not automatically changed



reply via email to

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