pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-websocket-client
Module Name: pkgsrc
Committed By: wiz
Date: Thu May 12 06:44:20 UTC 2022
Modified Files:
pkgsrc/www/py-websocket-client: Makefile
Log Message:
py-websocket-client: fix dependenciess/test_dependencies
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/www/py-websocket-client/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-websocket-client/Makefile
diff -u pkgsrc/www/py-websocket-client/Makefile:1.15 pkgsrc/www/py-websocket-client/Makefile:1.16
--- pkgsrc/www/py-websocket-client/Makefile:1.15 Wed May 11 17:57:24 2022
+++ pkgsrc/www/py-websocket-client/Makefile Thu May 12 06:44:20 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.15 2022/05/11 17:57:24 bouyer Exp $
+# $NetBSD: Makefile,v 1.16 2022/05/12 06:44:20 wiz Exp $
DISTNAME= websocket-client-1.3.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/websocket-client/}
@@ -11,12 +11,16 @@ HOMEPAGE= https://github.com/websocket-c
COMMENT= WebSocket client module
LICENSE= apache-2.0
-DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-websockets-[0-9]*:../../www/py-websockets
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} wsdump wsdump-${PYVERSSUFFIX} || ${TRUE}
Home |
Main Index |
Thread Index |
Old Index