pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/py-serial comms/py-serial: fix nonexistent files...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fcf54ffab7d6
branches:  trunk
changeset: 425646:fcf54ffab7d6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Mar 22 22:57:33 2020 +0000

description:
comms/py-serial: fix nonexistent files in SUBST block

diffstat:

 comms/py-serial/Makefile |  31 ++++++-------------------------
 1 files changed, 6 insertions(+), 25 deletions(-)

diffs (49 lines):

diff -r f426b436b275 -r fcf54ffab7d6 comms/py-serial/Makefile
--- a/comms/py-serial/Makefile  Sun Mar 22 22:50:52 2020 +0000
+++ b/comms/py-serial/Makefile  Sun Mar 22 22:57:33 2020 +0000
@@ -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 @@
 COMMENT=       Python Serial Port Extension
 LICENSE=       modified-bsd
 
-CONFLICTS+=            ${PYPKGPREFIX}-pyserial-[0-9]*
-
-USE_LANGUAGES=         # none
+CONFLICTS+=    ${PYPKGPREFIX}-pyserial-[0-9]*
 
-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
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON=        serial/*.py serial/*/*.py
 
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && ${MV} miniterm.py miniterm${PYVERSSUFFIX} || ${TRUE}



Home | Main Index | Thread Index | Old Index