Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2019 08:22:27 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r501839 - head/www/py-websocket-client
Message-ID:  <201905170822.x4H8MRgW081754@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905170822.x4H8MRgW081754>