pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-websocket-client py-websocket-client: fix depen...
details: https://anonhg.NetBSD.org/pkgsrc/rev/68d890a2445a
branches: trunk
changeset: 379140:68d890a2445a
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu May 12 06:44:20 2022 +0000
description:
py-websocket-client: fix dependenciess/test_dependencies
diffstat:
www/py-websocket-client/Makefile | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r c9a28d741313 -r 68d890a2445a www/py-websocket-client/Makefile
--- a/www/py-websocket-client/Makefile Thu May 12 06:10:40 2022 +0000
+++ b/www/py-websocket-client/Makefile Thu May 12 06:44:20 2022 +0000
@@ -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 @@
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