Commit Graph

3 Commits

Author SHA1 Message Date
Tim Orling
9e5f9a7e2d python3-pyserial: also remove /usr/bin/__pycache__
PEP-517 packaging tries to also ship ${bindir}/__pycache__,
since we are removing all the scripts from ${bindir}, remove the cache
as well.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-02-28 08:32:19 -08:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Leon Anavi
21b2842517 python3-pyserial: Upgrade 3.4 -> 3.5
Upgrade to release 3.5:

- iAdd a backend for Silicon Labs CP2110/4 HID-to-UART bridge.
  (depends on hid module)
- Use absolute import everywhere
- win32: miniterm Working CMD.exe terminal using Windows 10 ANSI
  support
- Make ListPortInfo hashable
- threaded: "write" returns byte count
- Add bytesize and stopbits argument parser to tcp_serial_redirect
- loop: add out_waiting
- list_ports_linux: Correct "interface" property on Linux hosts
- Remove Python 3.2 and 3.3 from test
- doc updates
- miniterm: add CTRL+T Q as alternative to exit
- miniterm: suspend function key changed to CTRL-T Z
- add command line tool entries pyserial-miniterm (replaces
  miniterm.py) and pyserial-ports (runs serial.tools.list_ports).
- python -m serial opens miniterm (use w/o args and it will print
  port list too) [experimental]
- Don't open port if self.port is not set while entering context
  manager
- refactor: raise new instances for PortNotOpenError and
  SerialTimeoutException
- list_ports: set default name attribute
- fix: compare only of the same type in
  list_ports_common.ListPortInfo
- rfc2217/close(): fix race-condition
- return b'' when connection closes on rfc2217 connection
- rfc2217/close(): fix race condition
- Fixed flush_input_buffer() for situations where the remote end
  has closed the socket.
- reset_input_buffer() can hang on sockets
- examples: port_publisher python 3 fixes
- miniterm: Fix miniterm constructor exit_character and
  menu_character
- miniterm: use exclusive access for native serial ports by
  default
- miniterm: fix double use of CTRL-T + s use z for suspend instead
- examples: refactor wx example, use Bind to avoid deprecated
  warnings, IsChecked, unichr
- posix: fix PosixPollSerial with timeout=None and add cancel
  support
- option for low latency mode on linux
- Add support to xr-usb-serial ports
- posix: Don't catch the SerialException we just raised
- posix: Fix custom baud rate to not temporarily set 38400 baud
  rates on linux
- list_ports: use hardcoded path to library on osx

Following the rename of miniterm.py and the new command line tool
entry, task do_install_append has been updated accordingly.

License-Update: Update year

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-25 14:34:06 -08:00