~ruther/guix-local

69b3eff2a212f4d8a8a4bf6177cb8b74d4f56f11 — Sharlatan Hellseher 1 year, 5 months ago ec1df83
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
1 files changed, 10 insertions(+), 13 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +10 -13
@@ 23139,20 23139,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