summaryrefslogtreecommitdiff
path: root/comms/py-serial
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-03-22 22:57:33 +0000
committerrillig <rillig@pkgsrc.org>2020-03-22 22:57:33 +0000
commit2b28dc0747c1a0fa395bbde3aab5c1b0225ab744 (patch)
treede88b5b76d0a565cb1e310c07ebee1dfad814a6e /comms/py-serial
parenta9d1ecb1abec9e325aa12bf4c232419454973f3e (diff)
downloadpkgsrc-2b28dc0747c1a0fa395bbde3aab5c1b0225ab744.tar.gz
comms/py-serial: fix nonexistent files in SUBST block
Diffstat (limited to 'comms/py-serial')
-rw-r--r--comms/py-serial/Makefile29
1 files changed, 5 insertions, 24 deletions
diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile
index 84465d4f6de..7c0a0ab1e64 100644
--- a/comms/py-serial/Makefile
+++ b/comms/py-serial/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2017/07/31 13:11:27 adam Exp $
+# $NetBSD: Makefile,v 1.8 2020/03/22 22:57:33 rillig Exp $
DISTNAME= pyserial-3.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
+PKGREVISION= 1
CATEGORIES= comms python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyserial/}
@@ -10,31 +11,11 @@ HOMEPAGE= https://github.com/pyserial/pyserial
COMMENT= Python Serial Port Extension
LICENSE= modified-bsd
-CONFLICTS+= ${PYPKGPREFIX}-pyserial-[0-9]*
+CONFLICTS+= ${PYPKGPREFIX}-pyserial-[0-9]*
-USE_LANGUAGES= # none
+USE_LANGUAGES= # none
-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
+REPLACE_PYTHON= serial/*.py serial/*/*.py
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} miniterm.py miniterm${PYVERSSUFFIX} || ${TRUE}