guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 6ff03751e4bd02ec1facf80aeaf0f666520e052f
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 26 10:24:33 2025 +0100

    gnu: python-rfc6555: Update to 0.1.0.
    
    * gnu/packages/python-xyz.scm (python-rfc6555): Update to 0.1.0.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Replace <#:phases> by <#:test-flags>.
    [native-inputs]: Add python-setuptools.
    
    Change-Id: Id1244155bffb5996c4c275cb99266bc320948857
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 58 +++++++++++++++++++--------------------------
 1 file changed, 25 insertions(+), 33 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index efa42e9e40..0ce85ba667 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25445,39 +25445,31 @@ in pure Python.")
 
 ;; The latest commit contains fixes for building with both python3 and python2.
 (define-public python-rfc6555
-  (let ((commit "1a181b432312731f6742a5eb558dae4761d32361")
-        (revision "1"))
-    (package
-      (name "python-rfc6555")
-      (version (git-version "0.0.0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                       (url "https://github.com/sethmlarson/rfc6555";)
-                       (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "1bxl17j9vs69cshcqnlwamr03hnykxqnwz3mdgi6x3s2k4q18npp"))))
-      (build-system python-build-system)
-      (arguments
-       '(#:phases
-         (modify-phases %standard-phases
-           (replace 'check
-             (lambda* (#:key tests? #:allow-other-keys)
-               (if tests?
-                 ;; Other tests require network access.
-                 (invoke "pytest" "tests/test_ipv6.py")
-                 #t))))))
-      (native-inputs
-       (list python-pytest))
-      (home-page "https://pypi.org/project/rfc6555/";)
-      (synopsis "Python implementation of RFC 6555")
-      (description
-       "Python implementation of the Happy Eyeballs Algorithm described in RFC
-     6555.  Provided with a single file and dead-simple API to allow easy 
vendoring
-     and integration into other projects.")
-      (license license:asl2.0))))
+  (package
+    (name "python-rfc6555")
+    (version "0.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/sethmlarson/rfc6555";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0cynzrs3l6ywmkpcpx9m36604dav64sk3rk1s12hj49qqyx20v1f"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; Other tests require network access.
+      #:test-flags #~(list "tests/test_ipv6.py")))
+    (native-inputs (list python-pytest python-setuptools))
+    (home-page "https://pypi.org/project/rfc6555/";)
+    (synopsis "Python implementation of RFC 6555")
+    (description
+     "Python implementation of the Happy Eyeballs Algorithm described in RFC
+6555.  Provided with a single file and dead-simple API to allow easy vendoring
+and integration into other projects.")
+    (license license:asl2.0)))
 
 (define-public python-sacn
   (package

Reply via email to