Info2: << Package: pyserial-py%type_pkg[python] Version: 2.0 Revision: 12 Type: python(2.2 2.3 2.4) Description: Python access to serial ports License: OSI-Approved Homepage: http://pyserial.sourceforge.net/ Maintainer: Blair Zajac # Dependencies. Depends: python%type_pkg[python] # Unpack Phase. Source: mirror:sourceforge:pyserial/pyserial-%v.zip Source-MD5: 80a26774156ba38b63b0945f2b511695 # Patch Phase. # Change CRLF line endings to LR line endings. PatchScript: find . -type f -print0 | xargs -0 perl -w -p -i -e 's/\s+$/\n/' # Compile Phase. CompileScript: %p/bin/python%type_raw[python] setup.py build # Install Phase. InstallScript: %p/bin/python%type_raw[python] setup.py install --root=%d DocFiles: CHANGES.txt LICENSE.txt README.txt # Documentation. DescDetail: << pySerial -------- This module encapsulates the access for the serial port. It provides backends for standard Python running on Windows, Linux, BSD (possibly any POSIX compliant system) and Jython. The module named "serial" automatically selects the appropriate backend. Features -------- - Same class based interface on all supported platforms. - Access to the port settings through Python properties. - Port numbering starts at zero, no need to know the platform dependent port name in the user program. - Port name can be specified if access through numbering is inappropriate. - Support for different bytesizes, stopbits, parity and flow control with RTS/CTS and/or Xon/Xoff. - Working with or without receive timeout, blocking or non-blocking. - File like API with "read" and "write" ("readline" etc. also supported). - The files in this package are 100% pure Python. They depend on non standard but common packages on Windows (win32all) and Jython (JavaComm). POSIX (Linux, BSD) uses only modules from the standard Python distribution). - The port is set up for binary transmission. No NULL byte stripping, CR-LF translation etc (which are many times enabled for POSIX). This makes this the module universally useful. << <<