svn commit: r501839 - head/www/py-websocket-client
Antoine Brodin
antoine at FreeBSD.org
Fri May 17 08:22:28 UTC 2019
Author: antoine
Date: Fri May 17 08:22:27 2019
New Revision: 501839
URL: https://svnweb.freebsd.org/changeset/ports/501839
Log:
Unbreak at runtime
Pointy hat: koobs
Modified:
head/www/py-websocket-client/Makefile
Modified: head/www/py-websocket-client/Makefile
==============================================================================
--- head/www/py-websocket-client/Makefile Fri May 17 08:00:59 2019 (r501838)
+++ head/www/py-websocket-client/Makefile Fri May 17 08:22:27 2019 (r501839)
@@ -3,6 +3,7 @@
PORTNAME= websocket-client
PORTVERSION= 0.56.0
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,7 +25,13 @@ USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.ssl_match_hostname>0:security/py-backports.ssl_match_hostname@${PY_FLAVOR}
+.endif
+
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list