aboutsummaryrefslogtreecommitdiff
path: root/net/py-pynsq/Makefile
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2016-02-25 13:48:06 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2016-02-25 13:48:06 +0000
commitc51087fa15ed451246d2078c464da6c767a76960 (patch)
tree6dfbd07349a7ac2ff48734f059f435f9916df162 /net/py-pynsq/Makefile
parent4cef6ede8f261263b8e54fbbae97edf6e5a69763 (diff)
downloadports-c51087fa15ed451246d2078c464da6c767a76960.tar.gz
ports-c51087fa15ed451246d2078c464da6c767a76960.zip
Notes
Diffstat (limited to 'net/py-pynsq/Makefile')
-rw-r--r--net/py-pynsq/Makefile30
1 files changed, 13 insertions, 17 deletions
diff --git a/net/py-pynsq/Makefile b/net/py-pynsq/Makefile
index dd21a70d1050..9ea9c3a76773 100644
--- a/net/py-pynsq/Makefile
+++ b/net/py-pynsq/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= pynsq
-PORTVERSION= 0.5.1
+PORTVERSION= 0.6.9
DISTVERSIONPREFIX= v
-PORTREVISION= 1
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,27 +11,24 @@ MAINTAINER= koobs@FreeBSD.org
COMMENT= Official Python client library for NSQ
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:${PORTSDIR}/www/py-tornado
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>0:${PORTSDIR}/www/py-tornado \
- ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
- ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock \
+ ${PYTHON_PKGNAMEPREFIX}python-snappy>0:${PORTSDIR}/archivers/py-python-snappy \
+ ${PYTHON_PKGNAMEPREFIX}simplejson>0:${PORTSDIR}/devel/py-simplejson
-OPTIONS_DEFINE= TESTS
-TESTS_DESC= Install tools to run test suite
-
-USES= python
-USE_PYTHON= distutils autoplist
+USES= python:-2.7
USE_GITHUB= yes
-GH_ACCOUNT= bitly
+USE_PYTHON= distutils autoplist
-.include <bsd.port.options.mk>
+GH_ACCOUNT= bitly
-.if ${PORT_OPTIONS:MTESTS}
-BUILD_DEPENDS:= ${TEST_DEPENDS}
-.endif
+NO_ARCH= yes
-regression-test: build
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+# test_reader requires nsqd(8)
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -a "--ignore=tests/test_reader.py"
.include <bsd.port.mk>