head 1.11; access; symbols pkgsrc-2023Q4:1.11.0.16 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.14 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.11.0.12 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.11.0.10 pkgsrc-2023Q1-base:1.11 pkgsrc-2022Q4:1.11.0.8 pkgsrc-2022Q4-base:1.11 pkgsrc-2022Q3:1.11.0.6 pkgsrc-2022Q3-base:1.11 pkgsrc-2022Q2:1.11.0.4 pkgsrc-2022Q2-base:1.11 pkgsrc-2022Q1:1.11.0.2 pkgsrc-2022Q1-base:1.11 pkgsrc-2021Q4:1.9.0.10 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.8 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.6 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.4 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.2 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.8.0.6 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.4 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.2 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.7.0.24 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.20 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.18 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.16 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.14 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.12 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.10 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.8 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.6 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.4 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.6.0.10 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.8 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.6 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.4 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.2 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.5.0.4 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.5.0.2 pkgsrc-2015Q4-base:1.5 pkgsrc-2015Q3:1.4.0.12 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.10 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.8 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.6 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.4 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.2 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.3.0.2 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.1.0.10 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.8 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.6 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.4 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.2 pkgsrc-2012Q4-base:1.1; locks; strict; comment @# @; 1.11 date 2022.01.05.15.40.58; author wiz; state Exp; branches; next 1.10; commitid FQ77UruBIUsgzsnD; 1.10 date 2022.01.04.20.52.38; author wiz; state Exp; branches; next 1.9; commitid CYyhdK9qtoffkmnD; 1.9 date 2020.11.26.11.05.22; author adam; state Exp; branches; next 1.8; commitid IhjoB9JXBKN74oxC; 1.8 date 2020.03.22.22.57.33; author rillig; state Exp; branches; next 1.7; commitid fwFlB4f3gF5J0s1C; 1.7 date 2017.07.31.13.11.27; author adam; state Exp; branches; next 1.6; commitid cTmT2NE1vMqFMn1A; 1.6 date 2016.06.08.17.43.20; author wiz; state Exp; branches; next 1.5; commitid z4yEulWexjFaJG9z; 1.5 date 2015.12.05.21.25.31; author adam; state Exp; branches; next 1.4; commitid bgA0CynThkP3WNLy; 1.4 date 2014.05.09.07.36.56; author wiz; state Exp; branches; next 1.3; commitid wfzXpL2biguCPPzx; 1.3 date 2014.01.19.09.49.55; author wiz; state Exp; branches; next 1.2; commitid 5djQVPvYuhGz6Ilx; 1.2 date 2014.01.04.19.07.06; author wiz; state Exp; branches; next 1.1; commitid 3CcoF6lIZXKzFPjx; 1.1 date 2012.12.09.15.26.32; author tsarna; state Exp; branches; next ; desc @@ 1.11 log @python: egg.mk: add USE_PKG_RESOURCES flag This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION. @ text @# $NetBSD: Makefile,v 1.10 2022/01/04 20:52:38 wiz Exp $ DISTNAME= pyserial-3.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} PKGREVISION= 2 CATEGORIES= comms python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyserial/} MAINTAINER= tsarna@@NetBSD.org HOMEPAGE= https://github.com/pyserial/pyserial COMMENT= Python Serial Port Extension LICENSE= modified-bsd CONFLICTS+= ${PYPKGPREFIX}-pyserial-[0-9]* USE_LANGUAGES= # none REPLACE_PYTHON= serial/*.py serial/*/*.py USE_PKG_RESOURCES= yes post-install: .for bin in pyserial-miniterm pyserial-ports cd ${DESTDIR}${PREFIX}/bin && \ ${MV} ${bin} ${bin}-${PYVERSSUFFIX} || ${TRUE} .endfor .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.10 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/11/26 11:05:22 adam Exp $ d5 1 a5 1 PKGREVISION= 1 d20 2 @ 1.9 log @py-serial: updated to 3.5 Version 3.5 Bugfixes: - spy: ensure bytes in write() Bugfixes (posix): - serialposix: Fix inconsistent state after exception in open() Bugfixes (win32): - win32: Fix exception for composite serial number search on Windows Bugfixes (MacOS): - list_ports_osx: kIOMasterPortDefault no longer exported on Big Sur - list_ports_osx: getting USB info on BigSur/AppleSilicon @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/03/22 22:57:33 rillig Exp $ d5 1 @ 1.8 log @comms/py-serial: fix nonexistent files in SUBST block @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2017/07/31 13:11:27 adam Exp $ d3 1 a3 1 DISTNAME= pyserial-3.4 a4 1 PKGREVISION= 1 d20 4 a23 1 cd ${DESTDIR}${PREFIX}/bin && ${MV} miniterm.py miniterm${PYVERSSUFFIX} || ${TRUE} @ 1.7 log @Version 3.4: Improvements: * miniterm: suspend function (temporarily release port, Ctrl-T s) * context manager automatically opens port on __enter__ * list_ports: add interface number to location string * protocol_socket: Retry if BlockingIOError occurs in reset_input_buffer. Bugfixes: * list_ports: option to include symlinked devices * list_ports: workaround for special characters in port names Bugfixes (posix): * allow calling cancel functions w/o error if port is closed * protocol_socket: sync error handling with posix version * posix: ignore more blocking errors and EINTR, timeout only applies to blocking I/O * fix: port_publisher typo @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2016/06/08 17:43:20 wiz Exp $ d5 1 d14 1 a14 1 CONFLICTS+= ${PYPKGPREFIX}-pyserial-[0-9]* d16 1 a16 1 USE_LANGUAGES= # none d18 1 a18 21 REPLACE_PYTHON+= serial/__init__.py REPLACE_PYTHON+= serial/rfc2217.py REPLACE_PYTHON+= serial/serialcli.py REPLACE_PYTHON+= serial/serialjava.py REPLACE_PYTHON+= serial/serialposix.py REPLACE_PYTHON+= serial/serialutil.py 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 REPLACE_PYTHON+= serial/urlhandler/__init__.py REPLACE_PYTHON+= serial/urlhandler/protocol_hwgrep.py REPLACE_PYTHON+= serial/urlhandler/protocol_loop.py REPLACE_PYTHON+= serial/urlhandler/protocol_rfc2217.py REPLACE_PYTHON+= serial/urlhandler/protocol_socket.py REPLACE_PYTHON+= serial/win32.py @ 1.6 log @Switch to MASTER_SITES_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2015/12/05 21:25:31 adam Exp $ d3 9 a11 9 DISTNAME= pyserial-2.7 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} CATEGORIES= comms python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyserial/} MAINTAINER= tsarna@@NetBSD.org HOMEPAGE= http://pyserial.sourceforge.net/ COMMENT= Python Serial Port Extension LICENSE= python-software-foundation d39 3 d43 1 a43 1 .include "../../lang/python/distutils.mk" @ 1.5 log @Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2014/05/09 07:36:56 wiz Exp $ d6 1 a6 1 MASTER_SITES= http://pypi.python.org/packages/source/p/pyserial/ @ 1.4 log @Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/01/19 09:49:55 wiz Exp $ a12 2 #PYTHON_VERSIONS_INCOMPATIBLE= 33 34 @ 1.3 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/01/04 19:07:06 wiz Exp $ d13 1 a13 1 #PYTHON_VERSIONS_INCOMPATIBLE= 33 @ 1.2 log @Fix interpreter paths in installed files. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2012/12/09 15:26:32 tsarna Exp $ d3 2 a4 3 DISTNAME= pyserial-2.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 1 d13 4 d29 2 @ 1.1 log @Add puyserial 26, which provides a uniform interface for accessing serial ports across platforms. @ text @d1 1 a1 2 # $NetBSD$ # d5 1 d14 1 a14 1 USE_LANGUAGES= #none d16 21 @