diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-04-04 21:17:05 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-16 11:46:29 +0200 |
commit | d7817735b259708591cf3696b2286b7872d9b5c4 (patch) | |
tree | 880387a571dfa5345d2ed9cc1fb352a4847ae1a1 | |
parent | 8021ffb34c5003edbbe1461185fa2e244270b71f (diff) | |
download | guix-d7817735b259708591cf3696b2286b7872d9b5c4.tar.gz guix-d7817735b259708591cf3696b2286b7872d9b5c4.zip |
gnu: python-port-for: Update to 0.7.4.
* gnu/packages/python-web.scm (python-port-for): Update to 0.7.4.
[build-system]: Switch to pyproject.
[native-inputs]: Remove python-mock. Add python-setuptools,
python-wheel.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/python-web.scm | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 9b4a5955d8..a8fe9e1a73 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7736,26 +7736,18 @@ without requiring a page refresh.") (define-public python-port-for (package (name "python-port-for") - (version "0.4") + (version "0.7.4") (source (origin (method url-fetch) - (uri (pypi-uri "port-for" version)) + (uri (pypi-uri "port_for" version)) (sha256 - (base32 - "1pncxlj25ggw99r0ijfbkq70gd7cbhqdx5ivsxy4jdp0z14cpda7")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'use-urllib3 - (lambda _ - (substitute* "port_for/_download_ranges.py" - (("urllib2") "urllib3"))))))) + (base32 "13826s2d4hzzmv69wws6a7ryhminclv2bqaw6cpl929gnbki6xzw")))) + (build-system pyproject-build-system) (propagated-inputs (list python-urllib3)) (native-inputs - (list python-mock)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/kmike/port-for/") (synopsis "TCP localhost port finder and association manager") (description |