1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/py-pynsq/Makefile
Kubilay Kocak 21edbb02c8 net/py-pynsq: Update to 0.9.0b1
This beta brings Tornado > 5 support (our py-tornado port is > 5)

Changelog:

  https://github.com/nsqio/pynsq/blob/v0.9.0b1/ChangeLog.md
2019-05-05 11:06:40 +00:00

34 lines
806 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= pynsq
PORTVERSION= 0.9.0b1
DISTVERSIONPREFIX= v
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= Official Python client library for NSQ
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR} # <6
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.3.1:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-snappy>0:archivers/py-python-snappy@${PY_FLAVOR} \
nsqd:net/nsq
USES= python
USE_GITHUB= yes
USE_PYTHON= distutils autoplist
GH_ACCOUNT= nsqio
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>