36 lines
713 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/07/12 20:51:00 sthen Exp $
COMMENT = WebSocket client & server library, WAMP real-time framework
MODPY_EGG_VERSION = 19.3.3
DISTNAME = autobahn-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
REVISION = 0
CATEGORIES = www
HOMEPAGE = https://github.com/crossbario/autobahn-python
# MIT
PERMIT_PACKAGE = Yes
MODPY_PI = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
BUILD_DEPENDS = devel/py-txaio${MODPY_FLAVOR}>=18.8.1 \
devel/py-six${MODPY_FLAVOR}
.if empty (FLAVOR)
TEST_DEPENDS = devel/py-unittest2 \
devel/py-trollius
.else
# requires an update to unittest and then traceback2 and linecache2
NO_TEST = Yes
.endif
.include <bsd.port.mk>