gnu: python-dateutil-2: Update to 2.5.2.
* gnu/packages/python.scm (python-dateutil-2): Update to 2.5.2. [inputs]: Remove python-setuptools. [properties]: Define python2-dateutil-2. (python2-dateutil-2): Build with 'strip-python2-variant'. [inputs]: Add python2-setuptools.
This commit is contained in:
parent
13f3ff3522
commit
394b8060b1
|
@ -897,28 +897,31 @@ Python file, so it can be easily copied into your project.")
|
||||||
(define-public python-dateutil-2
|
(define-public python-dateutil-2
|
||||||
(package
|
(package
|
||||||
(name "python-dateutil")
|
(name "python-dateutil")
|
||||||
(version "2.4.2")
|
(version "2.5.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://pypi.python.org/packages/source/p/"
|
(uri (pypi-uri "python-dateutil" version))
|
||||||
name "/" name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ggbm2z72p0nwjqgvpw8s5bqzwayqiqv2iws0x2a605m3mf4959y"))))
|
"0jrfpcgvgya6hs45dhrd9yiqgdgz9qp9aa07zsw8gqgn8zphff86"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("python-setuptools" ,python-setuptools)
|
`(("python-six" ,python-six)))
|
||||||
("python-six" ,python-six)))
|
|
||||||
(home-page "http://labix.org/python-dateutil")
|
(home-page "http://labix.org/python-dateutil")
|
||||||
(synopsis "Extensions to the standard datetime module")
|
(synopsis "Extensions to the standard datetime module")
|
||||||
(description
|
(description
|
||||||
"The dateutil module provides powerful extensions to the standard
|
"The dateutil module provides powerful extensions to the standard
|
||||||
datetime module, available in Python 2.3+.")
|
datetime module, available in Python 2.3+.")
|
||||||
(license bsd-3)))
|
(license bsd-3)
|
||||||
|
(properties `((python2-variant . ,(delay python2-dateutil-2))))))
|
||||||
|
|
||||||
(define-public python2-dateutil-2
|
(define-public python2-dateutil-2
|
||||||
(package-with-python2 python-dateutil-2))
|
(let ((base (package-with-python2 (strip-python2-variant python-dateutil-2))))
|
||||||
|
(package
|
||||||
|
(inherit base)
|
||||||
|
(inputs `(("python2-setuptools" ,python2-setuptools)
|
||||||
|
,@(package-inputs base))))))
|
||||||
|
|
||||||
(define-public python-dateutil
|
(define-public python-dateutil
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in New Issue