summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-19 16:51:18 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:34 +0100
commit97cd1a6acf389d2fa0beebc2d282047cb7469c4f (patch)
tree1e1c0bd46c381d7e44a0f95a88a924f53f3cef8f /gnu
parent3694fcfd28cf247aec1bc459551ebc7905ef7bb9 (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-web.scm25
1 files changed, 10 insertions, 15 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e6e8959e7af..1aed9e587bf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3453,32 +3453,27 @@ high-speed transfers via libcurl and frequently outperforms alternatives.")
(define-public python-url-normalize
(package
(name "python-url-normalize")
- (version "1.4.3")
+ (version "2.2.1")
(source
(origin
(method git-fetch) ; no tests in PyPI release
(uri (git-reference
- (url "https://github.com/niksite/url-normalize")
- (commit version)))
+ (url "https://github.com/niksite/url-normalize")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "09nac5nh94x0n4bfazjfxk96b20mfsx6r1fnvqv85gkzs0rwqkaq"))))
+ (base32 "1yhsf4sk6l6nznpnqigisbfz690a4g342dsk2n6dggh7q4l3amk4"))))
(build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(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")))))))
+ #:test-flags #~(list "--ignore=tests/test_cli.py")))
(native-inputs
- (list python-poetry-core
- python-pytest
- python-pytest-flakes
+ (list python-pytest
python-pytest-cov
- python-pytest-socket))
+ python-pytest-socket
+ python-setuptools))
+ (propagated-inputs
+ (list python-idna))
(home-page "https://github.com/niksite/url-normalize")
(synopsis "URL normalization for Python")
(description