guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: Split python2-pyicu into python-pyicu and python2-pyicu.


From: Leo Famulari
Subject: 03/05: gnu: Split python2-pyicu into python-pyicu and python2-pyicu.
Date: Sun, 13 Mar 2016 22:52:49 +0000

lfam pushed a commit to branch master
in repository guix.

commit ed07b08d937a8f1f3f982f3fc825e5319c156503
Author: Leo Famulari <address@hidden>
Date:   Thu Mar 3 17:04:56 2016 -0500

    gnu: Split python2-pyicu into python-pyicu and python2-pyicu.
    
    * gnu/packages/python.scm (python2-pyicu): Split variable into...
    (python-pyicu, python2-pyicu): ...both Python variants.
    (python-pyicu)[arguments]: Enable tests.
---
 gnu/packages/python.scm |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 271e157..9730219 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1133,9 +1133,9 @@ Python 3.3+.")
   (package-with-python2 python-simplejson))
 
 
-(define-public python2-pyicu
+(define-public python-pyicu
   (package
-    (name "python2-pyicu")
+    (name "python-pyicu")
     (version "1.9.2")
     (source
      (origin
@@ -1148,15 +1148,18 @@ Python 3.3+.")
     (build-system python-build-system)
     (inputs
      `(("icu4c" ,icu4c)))
-    (arguments
-     `(#:python ,python-2 ; Python 3 works also, but needs special care for
-                          ; linking with libpython3.3m
-       #:tests? #f)) ; no check target
     (home-page "http://pyicu.osafoundation.org/";)
     (synopsis "Python extension wrapping the ICU C++ API")
     (description
      "PyICU is a python extension wrapping the ICU C++ API.")
-    (license x11)))
+    (license x11)
+    (properties `((python2-variant . ,(delay python2-pyicu))))))
+
+(define-public python2-pyicu
+  (package
+    (inherit (package-with-python2
+              (strip-python2-variant python-pyicu)))
+    (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
 
 (define-public python2-dogtail
   ;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and



reply via email to

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