gnu: python-mimeparse: Update to 1.6.0.
* gnu/packages/python.scm (python-mimeparse): Update to 1.6.0. [phases]: Enable tests with a custom check phase.
This commit is contained in:
parent
614f49c49a
commit
0731fc1ce7
1 changed files with 7 additions and 3 deletions
|
@ -1699,7 +1699,7 @@ software.")
|
||||||
(define-public python-mimeparse
|
(define-public python-mimeparse
|
||||||
(package
|
(package
|
||||||
(name "python-mimeparse")
|
(name "python-mimeparse")
|
||||||
(version "0.1.4")
|
(version "1.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -1708,10 +1708,14 @@ software.")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1hyxg09kaj02ri0rmwjqi86wk4nd1akvv7n0dx77azz76wga4s9w"))))
|
"0y2g6cl660bpz11srgqyvvm8gmywpgyx8g0xfvbiyr0af0yv1r3n"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f)) ; no setup.py test command
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "./mimeparse_test.py"))))))
|
||||||
(home-page
|
(home-page
|
||||||
"https://github.com/dbtsai/python-mimeparse")
|
"https://github.com/dbtsai/python-mimeparse")
|
||||||
(synopsis "Python library for parsing MIME types")
|
(synopsis "Python library for parsing MIME types")
|
||||||
|
|
Reference in a new issue