pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-websocket: make build and limit to python 2.7
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <tk%giga.or.at@localhost>
Pushed By: wiz
Date: Sat Apr 3 17:49:13 2021 +0200
Changeset: 7b1f1a19e6bc8829c018ade7c4b639cc6fed9ea5
Modified Files:
py-websocket/Makefile
py-websocket/PLIST
Log Message:
py-websocket: make build and limit to python 2.7
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7b1f1a19e6bc8829c018ade7c4b639cc6fed9ea5
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-websocket/Makefile | 8 ++++----
py-websocket/PLIST | 3 ++-
2 files changed, 6 insertions(+), 5 deletions(-)
diffs:
diff --git a/py-websocket/Makefile b/py-websocket/Makefile
index 7a9c85bc8b..5006489939 100644
--- a/py-websocket/Makefile
+++ b/py-websocket/Makefile
@@ -12,14 +12,14 @@ HOMEPAGE= http://code.google.com/p/pywebsocket/
COMMENT= WebSocket server and extension for Apache HTTP Server for testing
LICENSE= modified-bsd
-WRKSRC= ${WRKDIR}/pywebsocket-0.7.9/src
+WRKSRC= ${WRKDIR}/pywebsocket-pywebsocket-0.7.9/src
-USE_LANGUAGES= # none
+PYTHON_VERSIONS_ACCEPTED= 27
-PYDISTUTILSPKG= yes
+USE_LANGUAGES= # none
do-test:
${RUN} cd ${WRKSRC}/test ${SETENV} ${TEST_ENV} ${PYTHONBIN} run_all.py;
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-websocket/PLIST b/py-websocket/PLIST
index e23fa765c4..708e15eab1 100644
--- a/py-websocket/PLIST
+++ b/py-websocket/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2014/03/19 22:03:31 jihbed Exp $
+@comment $NetBSD$
+${PYSITELIB}/mod_${EGG_FILE}
${PYSITELIB}/mod_pywebsocket/__init__.py
${PYSITELIB}/mod_pywebsocket/__init__.pyc
${PYSITELIB}/mod_pywebsocket/__init__.pyo
Home |
Main Index |
Thread Index |
Old Index