mirror of
https://git.freebsd.org/ports.git
synced 2025-06-22 13:10:31 -04:00
FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight
31 lines
785 B
Makefile
31 lines
785 B
Makefile
# Created by: Alfred Perlstein <alfred@freebsd.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= websocket-client
|
|
PORTVERSION= 0.47.0
|
|
PORTREVISION= 1
|
|
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= ISCL
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
.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
|
|
|
|
.include <bsd.port.post.mk>
|