gnu: python-rfc3986: Update to 2.0.0.

* gnu/packages/python-xyz.scm (python-rfc3986): Update to 2.0.0.
  [build-system]: Use pyproject.
  [native-inputs]: Add python-setuptools.

Change-Id: I7adcfe876d56cf152eeed27519268dddaf4fbfe5
This commit is contained in:
Sharlatan Hellseher 2025-08-04 22:09:49 +01:00
parent 6033ef97f5
commit 3c4b23c23e
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -26931,22 +26931,16 @@ conversion: Gamut A, B, and C.")
(define-public python-rfc3986
(package
(name "python-rfc3986")
(version "1.4.0")
(source (origin
(version "2.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "rfc3986" version))
(sha256
(base32
"17dvx15m3r49bmif5zlli8kzjd6bys6psixzbp14sd5367d9h8qi"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda _
(invoke "pytest" "-v"))))))
(base32 "0716rg74cpmhi9f77ypnwcdsyfjplsgk1rnnmadq5zabpnfwzalp"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest))
(list python-pytest python-setuptools))
(home-page "https://rfc3986.readthedocs.io/")
(synopsis "Parse and validate URI references")
(description