mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
98d3b9a3f2
PR: 254563 Submitted by: takefu@airport.fm Approved by: maintainer timeout
30 lines
705 B
Makefile
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>
|