pkgsrc/comms/py-serial/Makefile
adam d851f08377 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
2020-11-26 11:05:22 +00:00

27 lines
706 B
Makefile

# $NetBSD: Makefile,v 1.9 2020/11/26 11:05:22 adam Exp $
DISTNAME= pyserial-3.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
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
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"