Update to 2.7. Fix PKGNAME.

Version 2.7      2013-10-17
---------------------------
- Win32: setRTS and setDTR can be called before the port is opened and it will
  set the initial state on port open.
- Posix: add platform specific method: outWaiting (already present for Win32)
- Posix: rename flowControl to setXON to match name on Win32, add
  flowControlOut function
- rfc2217: zero polls value (baudrate, data size, stop bits, parity) (Erik
  Lundh)
- Posix: [Patch pyserial:28] Accept any speed on Linux [update]
- Posix: [Patch pyserial:29] PosixSerial.read() should "ignore" errno.EINTR
- OSX: [Patch pyserial:27] Scan by VendorID/Product ID for USB Serial devices
- Ensure working with bytes in write() calls

Bugfixes:

- [Bug 3540332] SerialException not returned
- [Bug pyserial:145] Error in socket_connection.py
- [Bug pyserial:135] reading from socket with timeout=None causes TypeError
- [Bug pyserial:130] setup.py should not append py3k to package name
- [Bug pyserial:117] no error on lost conn w/socket://

Bugfixes (posix):

- [Patch 3462364] Fix: NameError: global name 'base' is not defined
- list_ports and device() for BSD updated (Anders Langworthy)
- [Bug 3518380] python3.2 -m serial.tools.list_ports error
- [Bug pyserial:137] Patch to add non-standard baudrates to Cygwin
- [Bug pyserial:141] open: Pass errno from IOError to SerialException
- [Bug pyserial:125] Undefined 'base' on list_ports_posix.py, function usb_lsusb
- [Bug pyserial:151] Serial.write() without a timeout uses 100% CPU on POSIX
- [Patch pyserial:30] [PATCH 1/1] serial.Serial() should not raise IOError.

Bugfixes (win32):

- [Bug 3444941] ctypes.WinError() unicode error
- [Bug 3550043] on Windows in tools global name 'GetLastError' is not defined
- [Bug pyserial:146] flush() does nothing in windows (despite docs)
- [Bug pyserial:144] com0com ports ignored due to missing "friendly name"
- [Bug pyserial:152] Cannot configure port, some setting was wrong. Can leave
  port handle open but port not accessible
This commit is contained in:
wiz 2014-01-19 09:49:55 +00:00
parent ce9e72c17b
commit 9338553153
3 changed files with 20 additions and 9 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.2 2014/01/04 19:07:06 wiz Exp $
# $NetBSD: Makefile,v 1.3 2014/01/19 09:49:55 wiz Exp $
DISTNAME= pyserial-2.6
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
DISTNAME= pyserial-2.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= comms python
MASTER_SITES= http://pypi.python.org/packages/source/p/pyserial/
@ -11,6 +10,10 @@ HOMEPAGE= http://pyserial.sourceforge.net/
COMMENT= Python Serial Port Extension
LICENSE= python-software-foundation
#PYTHON_VERSIONS_INCOMPATIBLE= 33
CONFLICTS+= ${PYPKGPREFIX}-pyserial-[0-9]*
USE_LANGUAGES= # none
REPLACE_PYTHON+= serial/__init__.py
@ -23,6 +26,8 @@ REPLACE_PYTHON+= serial/serialwin32.py
REPLACE_PYTHON+= serial/sermsdos.py
REPLACE_PYTHON+= serial/tools/__init__.py
REPLACE_PYTHON+= serial/tools/list_ports.py
REPLACE_PYTHON+= serial/tools/list_ports_linux.py
REPLACE_PYTHON+= serial/tools/list_ports_osx.py
REPLACE_PYTHON+= serial/tools/list_ports_posix.py
REPLACE_PYTHON+= serial/tools/list_ports_windows.py
REPLACE_PYTHON+= serial/tools/miniterm.py

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.1 2012/12/09 15:26:33 tsarna Exp $
@comment $NetBSD: PLIST,v 1.2 2014/01/19 09:49:55 wiz Exp $
bin/miniterm.py
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/serial/__init__.py
@ -31,6 +31,12 @@ ${PYSITELIB}/serial/tools/__init__.pyo
${PYSITELIB}/serial/tools/list_ports.py
${PYSITELIB}/serial/tools/list_ports.pyc
${PYSITELIB}/serial/tools/list_ports.pyo
${PYSITELIB}/serial/tools/list_ports_linux.py
${PYSITELIB}/serial/tools/list_ports_linux.pyc
${PYSITELIB}/serial/tools/list_ports_linux.pyo
${PYSITELIB}/serial/tools/list_ports_osx.py
${PYSITELIB}/serial/tools/list_ports_osx.pyc
${PYSITELIB}/serial/tools/list_ports_osx.pyo
${PYSITELIB}/serial/tools/list_ports_posix.py
${PYSITELIB}/serial/tools/list_ports_posix.pyc
${PYSITELIB}/serial/tools/list_ports_posix.pyo

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1 2012/12/09 15:26:34 tsarna Exp $
$NetBSD: distinfo,v 1.2 2014/01/19 09:49:55 wiz Exp $
SHA1 (pyserial-2.6.tar.gz) = 39e6d9a37b826c48eab6959591a174135fc2873c
RMD160 (pyserial-2.6.tar.gz) = a544cb4ac0dad2c7f93855f1db1be102cdb1e9cc
Size (pyserial-2.6.tar.gz) = 116289 bytes
SHA1 (pyserial-2.7.tar.gz) = f15694b1bea9e4369c1931dc5cf09e37e5c562cf
RMD160 (pyserial-2.7.tar.gz) = b86758d74e8f3cd61430bf7d76db496ae732f257
Size (pyserial-2.7.tar.gz) = 122081 bytes