mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
ec1df832c8
commit
69b3eff2a2
1 changed files with 10 additions and 13 deletions
|
@ -23139,20 +23139,17 @@ etc.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nyd4m4mnrz8scbfqn4zpq8gnbl4x42w5zz62vcgpzqd2waf0xrw"))))
|
"1nyd4m4mnrz8scbfqn4zpq8gnbl4x42w5zz62vcgpzqd2waf0xrw"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs
|
||||||
'(#:tests? #f)) ; FIXME: 3/49 tests are failing.
|
(list python-pytest
|
||||||
;; #:phases
|
python-setuptools
|
||||||
;; (modify-phases %standard-phases
|
python-wheel))
|
||||||
;; (replace 'check
|
(home-page "https://github.com/pyserial/pyserial")
|
||||||
;; (lambda _
|
|
||||||
;; (zero? (system* "python" "test/run_all_tests.py" "loop://")))))))
|
|
||||||
(home-page
|
|
||||||
"https://github.com/pyserial/pyserial")
|
|
||||||
(synopsis "Python Serial Port Bindings")
|
(synopsis "Python Serial Port Bindings")
|
||||||
(description "@code{pyserial} provide serial port bindings for Python. It
|
(description
|
||||||
supports different byte sizes, stop bits, parity and flow control with RTS/CTS
|
"@code{pyserial} provide serial port bindings for Python. It supports
|
||||||
and/or Xon/Xoff. The port is accessed in RAW mode.")
|
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)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python-pyserial-asyncio
|
(define-public python-pyserial-asyncio
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue