guix_mirror_bot pushed a commit to branch master
in repository guix.

commit decaa5830f27c30e8868cc2c0293d0f629c98b89
Author: Nicolas Graves <[email protected]>
AuthorDate: Sat Oct 25 14:20:33 2025 +0200

    gnu: python-pyserial-asyncio: Switch to pyproject.
    
    * gnu/packages/python-xyz.scm (python-pyserial-asyncio):
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:test-backend>: Set it.
    [native-inputs]: Add python-setuptools.
    [description]: Improve style.
    
    Change-Id: I6ef81091ee58124764fa99be4118d91d06733270
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7509eff135..e9cbd25225 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22626,16 +22626,21 @@ Xon/Xoff.  The port is accessed in RAW mode.")
     (version "0.6")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "pyserial-asyncio" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pyserial/pyserial-asyncio";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0bx3syngmq2j9mh81byzka1x4ilw8ac9mbx52zn7b7ayw0ijj0xn"))))
-    (build-system python-build-system)
+        (base32 "0c8kzy2a4awsh580qrniwq0vyydlsvicjw79r270sqflxmjlns6n"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:test-backend #~'unittest))
+    (native-inputs (list python-setuptools))
     (propagated-inputs (list python-pyserial))
     (home-page "https://github.com/pyserial/pyserial-asyncio";)
     (synopsis "Pyserial asynchronous I/O extension")
-    (description "This package extends Pyserial with asynchronous I/O
-     support.")
+    (description
+     "This package extends Pyserial with asynchronous I/O support.")
     (license license:bsd-3)))
 
 (define-public python-pymemcache

Reply via email to