sharlatan pushed a commit to branch python-team
in repository guix.
commit efed8a094f9768607f2c60cb18a717b8e4d1cb27
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Nov 30 14:41:24 2024 +0000
gnu: python-pyserial: Enable tests.
* gnu/packages/python-xyz.scm (python-pyserial): Enable tests, improve
package style.
[build-system]: Swap to pyproject-build-system.
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: I826c7de11642f037ed4e6bc3eaa92dd2ef4d9500
---
gnu/packages/python-xyz.scm | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5431d97485..f6f760da65 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23052,20 +23052,17 @@ etc.")
(sha256
(base32
"1nyd4m4mnrz8scbfqn4zpq8gnbl4x42w5zz62vcgpzqd2waf0xrw"))))
- (build-system python-build-system)
- (arguments
- '(#:tests? #f)) ; FIXME: 3/49 tests are failing.
- ;; #:phases
- ;; (modify-phases %standard-phases
- ;; (replace 'check
- ;; (lambda _
- ;; (zero? (system* "python" "test/run_all_tests.py"
"loop://")))))))
- (home-page
- "https://github.com/pyserial/pyserial")
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-setuptools
+ python-wheel))
+ (home-page "https://github.com/pyserial/pyserial")
(synopsis "Python Serial Port Bindings")
- (description "@code{pyserial} provide serial port bindings for Python. It
- supports different byte sizes, stop bits, parity and flow control with
RTS/CTS
- and/or Xon/Xoff. The port is accessed in RAW mode.")
+ (description
+ "@code{pyserial} provide serial port bindings for Python. It supports
+different byte sizes, stop bits, parity and flow control with RTS/CTS and/or
+Xon/Xoff. The port is accessed in RAW mode.")
(license license:bsd-3)))
(define-public python-pyserial-asyncio