gnu: python-mimeparse: Update to 2.0.0.

The project changed maintainer, home page permament redirects from
<https://github.com/dbtsai/python-mimeparse> to
<https://github.com/falconry/python-mimeparse>.

See: <https://github.com/falconry/python-mimeparse/releases/tag/2.0.0rc1>.

* gnu/packages/python-xyz.scm (python-mimeparse): Update to 2.0.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-pytest and python-setuptools.
  [home-page]: Fix URL redirection.

Change-Id: I35244d43156861cfb723d21d74f51498f18daf0a
This commit is contained in:
Sharlatan Hellseher 2025-08-10 10:26:37 +01:00
parent 7d1bc5df62
commit c372872dab
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -6731,23 +6731,18 @@ automatic tab-completion, color support, logging to @code{std}, etc.")
(define-public python-mimeparse
(package
(name "python-mimeparse")
(version "1.6.0")
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python-mimeparse" version))
(uri (pypi-uri "python_mimeparse" version))
(sha256
(base32
"0y2g6cl660bpz11srgqyvvm8gmywpgyx8g0xfvbiyr0af0yv1r3n"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "./mimeparse_test.py"))))))
(home-page
"https://github.com/dbtsai/python-mimeparse")
(base32 "00xk5jir6dm4r3qm8dg8vh8lhq00f35zaryn3gina958gb7rv6jv"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest
python-setuptools))
(home-page "https://github.com/falconry/python-mimeparse")
(synopsis "Python library for parsing MIME types")
(description
"Mimeparse provides basic functions for parsing MIME type names and