guix_mirror_bot pushed a commit to branch master
in repository guix.

commit fdd6de5c4b4dd7bb6700cf663b5a8a5f2b85fce6
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Dec 28 22:07:36 2025 +0100

    gnu: pproxy: Update to 2.7.9.
    
    * gnu/packages/networking.scm (pproxy): Update to 2.7.9.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Improve style.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Ie0142017f57ab06ad3f28983131a590d5b52522b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/networking.scm | 41 ++++++++++++++++++++++-------------------
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index a2e1202a93..f884896350 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1296,26 +1296,29 @@ useful for making transparent firewalls.")
 (define-public pproxy
   (package
     (name "pproxy")
-    (version "2.7.8")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "pproxy" version))
-              (sha256
-               (base32
-                "1j4nv72i77i2j5nl9ymzpk4m98qih3naihfrqjghrc9b7g0krdzs"))))
-    (build-system python-build-system)
+    (version "2.7.9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference (url "https://github.com/qwj/python-proxy";)
+                           (commit version)))
+       (file-name (git-file-name name version))
+       (sha256 (base32 
"0crr6b9v5fvy2js1fqjngj3axr962p1yayrxsnf3fpzdc99mnv0d"))))
+    (build-system pyproject-build-system)
     (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (replace 'check
-                 (lambda* (#:key tests? #:allow-other-keys)
-                   (when tests?
-                     (with-directory-excursion "tests"
-                       (for-each (lambda (file)
-                                   (invoke "python" file))
-                                 ;; XXX: The api_ tests require network access
-                                 ;; so we only run the cipher tests for now.
-                                 (find-files "." "^cipher_.*\\.py$")))))))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (with-directory-excursion "tests"
+                  (for-each (lambda (file)
+                              (invoke "python" file))
+                            ;; XXX: The api_ tests require network access
+                            ;; so we only run the cipher tests for now.
+                            (find-files "." "^cipher_.*\\.py$")))))))))
+    (native-inputs (list python-setuptools))
     (inputs
      (list python-asyncssh
            python-daemon

Reply via email to