mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: python-parsedatetime: Update to 2.1.
* gnu/packages/python.scm (parsedatetime): Update to 2.1. [native-inputs]: Remove python-setuptools, add python-nose, python-pyicu. [properties]: Define python2-variant. (python2-parsedatetime): Build with 'strip-python2-variant'. [native-inputs]: Add python2-setuptools.
This commit is contained in:
parent
394b8060b1
commit
eebf6f01e4
1 changed files with 12 additions and 7 deletions
|
@ -951,27 +951,32 @@ (define-public python2-dateutil
|
|||
(define-public python-parsedatetime
|
||||
(package
|
||||
(name "python-parsedatetime")
|
||||
(version "1.5")
|
||||
(version "2.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://pypi.python.org/packages/source/p/"
|
||||
"parsedatetime/parsedatetime-" version ".tar.gz"))
|
||||
(uri (pypi-uri "parsedatetime" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1as0mm4ql3z0324nc9bys2s1ngh507i317p16b79rx86wlmvx9ix"))))
|
||||
"0bdgyw6y3v7bcxlx0p50s8drxsh5bb5cy2afccqr3j90amvpii8p"))))
|
||||
(build-system python-build-system)
|
||||
(native-inputs
|
||||
`(("python-setuptools" ,python-setuptools)))
|
||||
`(("python-nose" ,python-nose)
|
||||
("python-pyicu" ,python-pyicu)))
|
||||
(home-page "http://github.com/bear/parsedatetime/")
|
||||
(synopsis
|
||||
"Parse human-readable date/time text")
|
||||
(description
|
||||
"Parse human-readable date/time text.")
|
||||
(license asl2.0)))
|
||||
(license asl2.0)
|
||||
(properties `((python2-variant . ,(delay python2-parsedatetime))))))
|
||||
|
||||
(define-public python2-parsedatetime
|
||||
(package-with-python2 python-parsedatetime))
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-parsedatetime))))
|
||||
(package
|
||||
(inherit base)
|
||||
(native-inputs `(("python2-setuptools" ,python2-setuptools)
|
||||
,@(package-native-inputs base))))))
|
||||
|
||||
(define-public python-pandas
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue