GNU bug report logs - #77541
[PATCH 01/38] gnu: Add clipper2.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Fri, 4 Apr 2025 19:11:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Graves <ngraves <at> ngraves.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 77541 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [bug#77541] [PATCH 33/38] gnu: python-port-for: Update to 0.7.4.
Date: Fri,  4 Apr 2025 21:17:05 +0200
* 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.
---
 gnu/packages/python-web.scm | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 579386e5ab..e82d59037c 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7701,26 +7701,18 @@ (define-public grip
 (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
-- 
2.49.0





This bug report was last modified 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.