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 97fa837bac
commit ec1b81af08
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 (define-public python-mimeparse
(package (package
(name "python-mimeparse") (name "python-mimeparse")
(version "1.6.0") (version "2.0.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-mimeparse" version)) (uri (pypi-uri "python_mimeparse" version))
(sha256 (sha256
(base32 (base32 "00xk5jir6dm4r3qm8dg8vh8lhq00f35zaryn3gina958gb7rv6jv"))))
"0y2g6cl660bpz11srgqyvvm8gmywpgyx8g0xfvbiyr0af0yv1r3n")))) (build-system pyproject-build-system)
(build-system python-build-system) (native-inputs
(arguments (list python-pytest
'(#:phases python-setuptools))
(modify-phases %standard-phases (home-page "https://github.com/falconry/python-mimeparse")
(replace 'check
(lambda _
(invoke "./mimeparse_test.py"))))))
(home-page
"https://github.com/dbtsai/python-mimeparse")
(synopsis "Python library for parsing MIME types") (synopsis "Python library for parsing MIME types")
(description (description
"Mimeparse provides basic functions for parsing MIME type names and "Mimeparse provides basic functions for parsing MIME type names and