summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-03-03 17:04:56 -0500
committerLeo Famulari <leo@famulari.name>2016-03-13 18:52:30 -0400
commited07b08d937a8f1f3f982f3fc825e5319c156503 (patch)
tree95bed3e849e0b5f4d809311b5d45cbe8b1362fd0 /gnu/packages/python.scm
parentd3b29319b195e3b94c468469cb2f29c2a9c859e6 (diff)
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.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm17
1 files changed, 10 insertions, 7 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 271e15789ee..9730219e7d5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1133,9 +1133,9 @@ Python 3.3+.")
1133 (package-with-python2 python-simplejson)) 1133 (package-with-python2 python-simplejson))
1134 1134
1135 1135
1136(define-public python2-pyicu 1136(define-public python-pyicu
1137 (package 1137 (package
1138 (name "python2-pyicu") 1138 (name "python-pyicu")
1139 (version "1.9.2") 1139 (version "1.9.2")
1140 (source 1140 (source
1141 (origin 1141 (origin
@@ -1148,15 +1148,18 @@ Python 3.3+.")
1148 (build-system python-build-system) 1148 (build-system python-build-system)
1149 (inputs 1149 (inputs
1150 `(("icu4c" ,icu4c))) 1150 `(("icu4c" ,icu4c)))
1151 (arguments
1152 `(#:python ,python-2 ; Python 3 works also, but needs special care for
1153 ; linking with libpython3.3m
1154 #:tests? #f)) ; no check target
1155 (home-page "http://pyicu.osafoundation.org/") 1151 (home-page "http://pyicu.osafoundation.org/")
1156 (synopsis "Python extension wrapping the ICU C++ API") 1152 (synopsis "Python extension wrapping the ICU C++ API")
1157 (description 1153 (description
1158 "PyICU is a python extension wrapping the ICU C++ API.") 1154 "PyICU is a python extension wrapping the ICU C++ API.")
1159 (license x11))) 1155 (license x11)
1156 (properties `((python2-variant . ,(delay python2-pyicu))))))
1157
1158(define-public python2-pyicu
1159 (package
1160 (inherit (package-with-python2
1161 (strip-python2-variant python-pyicu)))
1162 (native-inputs `(("python2-setuptools" ,python2-setuptools)))))
1160 1163
1161(define-public python2-dogtail 1164(define-public python2-dogtail
1162 ;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and 1165 ;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and