1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/py-websocket-client/Makefile
Li-Wen Hsu 98d3b9a3f2 www/py-websocket-client: Update to 0.58.0
PR:		254563
Submitted by:	takefu@airport.fm
Approved by:	maintainer timeout
2021-04-09 10:26:53 +08:00

30 lines
705 B
Makefile

# Created by: Alfred Perlstein <alfred@freebsd.org>
PORTNAME= websocket-client
PORTVERSION= 0.58.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
# Newer version is called "websocket_client"
# but to keep compat with old portname we fixup
# "-" to "_" here.
DISTNAME= ${PORTNAME:S/-/_/g}-${DISTVERSION}
MAINTAINER= alfred@FreeBSD.org
COMMENT= Websocket client for python
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>