gnu: python-url-normalize: Update to 2.2.1.

* gnu/packages/python-web.scm (python-url-normalize): Update to 2.2.1.
[propagated-inputs]: Add python-idna.
[native-inputs]: Remove python-poetry-core and python-pytest-flakes; add
python-setuptools.

Change-Id: I444015c75241c6284ee190c19b8135191226abda
This commit is contained in:
Sharlatan Hellseher 2025-09-19 16:51:18 +01:00
parent 3694fcfd28
commit 97cd1a6acf
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3453,32 +3453,27 @@ high-speed transfers via libcurl and frequently outperforms alternatives.")
(define-public python-url-normalize (define-public python-url-normalize
(package (package
(name "python-url-normalize") (name "python-url-normalize")
(version "1.4.3") (version "2.2.1")
(source (source
(origin (origin
(method git-fetch) ; no tests in PyPI release (method git-fetch) ; no tests in PyPI release
(uri (git-reference (uri (git-reference
(url "https://github.com/niksite/url-normalize") (url "https://github.com/niksite/url-normalize")
(commit version))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "09nac5nh94x0n4bfazjfxk96b20mfsx6r1fnvqv85gkzs0rwqkaq")))) (base32 "1yhsf4sk6l6nznpnqigisbfz690a4g342dsk2n6dggh7q4l3amk4"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list (list
#:phases #:test-flags #~(list "--ignore=tests/test_cli.py")))
#~(modify-phases %standard-phases
(add-after 'unpack 'use-poetry-core
(lambda _
;; Patch to use the core poetry API.
(substitute* "pyproject.toml"
(("poetry.masonry.api") "poetry.core.masonry.api")))))))
(native-inputs (native-inputs
(list python-poetry-core (list python-pytest
python-pytest
python-pytest-flakes
python-pytest-cov python-pytest-cov
python-pytest-socket)) python-pytest-socket
python-setuptools))
(propagated-inputs
(list python-idna))
(home-page "https://github.com/niksite/url-normalize") (home-page "https://github.com/niksite/url-normalize")
(synopsis "URL normalization for Python") (synopsis "URL normalization for Python")
(description (description