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.
This commit is contained in:
		
							parent
							
								
									d3b29319b1
								
							
						
					
					
						commit
						ed07b08d93
					
				
					 1 changed files with 10 additions and 7 deletions
				
			
		| 
						 | 
					@ -1133,9 +1133,9 @@ Python 3.3+.")
 | 
				
			||||||
  (package-with-python2 python-simplejson))
 | 
					  (package-with-python2 python-simplejson))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public python2-pyicu
 | 
					(define-public python-pyicu
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python2-pyicu")
 | 
					    (name "python-pyicu")
 | 
				
			||||||
    (version "1.9.2")
 | 
					    (version "1.9.2")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
| 
						 | 
					@ -1148,15 +1148,18 @@ Python 3.3+.")
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("icu4c" ,icu4c)))
 | 
					     `(("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/")
 | 
					    (home-page "http://pyicu.osafoundation.org/")
 | 
				
			||||||
    (synopsis "Python extension wrapping the ICU C++ API")
 | 
					    (synopsis "Python extension wrapping the ICU C++ API")
 | 
				
			||||||
    (description
 | 
					    (description
 | 
				
			||||||
     "PyICU is a python extension wrapping the ICU C++ API.")
 | 
					     "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
 | 
					(define-public python2-dogtail
 | 
				
			||||||
  ;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and
 | 
					  ;; Python 2 only, as it leads to "TabError: inconsistent use of tabs and
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue