guix_mirror_bot pushed a commit to branch master
in repository guix.

commit acd77f2f2fb5bc4c5ae1660e974da7fbf51b4529
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Dec 23 19:52:55 2025 +0100

    gnu: python-siosocks: Switch to pyproject.
    
    * gnu/packages/python-web.scm (python-siosocks):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Drop them.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Ia158d6c5277672d8a5556a9af67d37bf372d8b18
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index dee5c5622e..391d17abbe 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -11610,21 +11610,22 @@ client for Python.")
   (package
     (name "python-siosocks")
     (version "0.3.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "siosocks" version))
-              (sha256
-               (base32
-                "0qqxy8wl5mrmlkblzjq9nsg0cbm5jwgj409mhnhq6gd1ypvbndms"))))
-    (build-system python-build-system)
-    (arguments
-     (list #:phases #~(modify-phases %standard-phases
-                        (replace 'check
-                          (lambda* (#:key tests? #:allow-other-keys)
-                            (when tests?
-                              (invoke "pytest" "-vvv")))))))
-    (native-inputs (list python-pytest python-pytest-asyncio python-pytest-cov
-                         python-pytest-trio))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pohmelie/siosocks";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zcib4j5bfxlryfa412wmlkk8ivsiwxrfbpij5s7ag839ii2lxa5"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-pytest-asyncio
+           python-pytest-cov
+           python-pytest-trio
+           python-setuptools))
     (propagated-inputs (list python-trio))
     (home-page "https://github.com/pohmelie/siosocks";)
     (synopsis "SOCKSv4 & SOCKSv5 TCP proxy protocol implementation in Python")

Reply via email to