guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit aaf427f33938095f6788e5366d5d519bf1fe8b3b
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Jun 11 14:27:21 2026 +0100

    gnu: python-pyserial: Update to 3.5-0.a5c48d4.
    
    * gnu/packages/python-xyz.scm (python-pyserial): Update to
    a5c48d445fbc1943d4fabf8d9090a50fda3172fd commit.
    [source]: Switch to git-fetch.
    [native-inputs]: Remove python-wheel; add python-pyfakefs.
    
    Change-Id: I5fa9a84f0ddb63a7f6c0cab59053ba25243515d4
---
 gnu/packages/python-xyz.scm | 28 ++++++++++++++++++----------
 1 file changed, 18 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ed9f619fbf..02813b6aa2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23758,19 +23758,27 @@ etc.")
 (define-public python-pyserial
   (package
     (name "python-pyserial")
-    (version "3.5")
+    ;; 3.5 (2020-11-23), use the latest commit as upstream stopped publishing
+    ;; releases on PyPI or tagging new versions.
+    (properties '((commit . "a5c48d445fbc1943d4fabf8d9090a50fda3172fd")
+                  (revision . "0")))
+    (version (git-version "3.5"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "pyserial" version))
-        (sha256
-          (base32
-            "1nyd4m4mnrz8scbfqn4zpq8gnbl4x42w5zz62vcgpzqd2waf0xrw"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/pyserial/pyserial";)
+             (commit (assoc-ref properties 'commit))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1mfqs5g4qgp6lll859hy3i4gz7nn95g057s80k01jn2mza12swjp"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest
-           python-setuptools
-           python-wheel))
+     (list python-pyfakefs
+           python-pytest
+           python-setuptools))
     (home-page "https://github.com/pyserial/pyserial";)
     (synopsis "Python Serial Port Bindings")
     (description

Reply via email to