Index: net/py-zeroconf/Makefile =================================================================== --- net/py-zeroconf/Makefile +++ net/py-zeroconf/Makefile @@ -3,7 +3,7 @@ PORTNAME= zeroconf PORTVERSION= 0.21.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,9 +11,10 @@ COMMENT= Pure python implementation of multicast DNS service discovery LICENSE= LGPL21+ +LICENSE_FILE= ${WRKSRC}/COPYING -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}ifaddr>=0.1.6:net/py-ifaddr@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ifaddr>=0.1.6:net/py-ifaddr@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} USES= python:3.5+ USE_PYTHON= autoplist concurrent distutils @@ -22,5 +23,9 @@ GH_PROJECT= python-zeroconf NO_ARCH= yes +TEST_TARGET= test + +pre-test: + ${REINPLACE_CMD} -e 's|nosetests|nosetests-${PYTHON_VER} --exclude=test_lots_of_names|g' ${WRKSRC}/Makefile .include Index: net/py-zeroconf/pkg-descr =================================================================== --- net/py-zeroconf/pkg-descr +++ net/py-zeroconf/pkg-descr @@ -1,3 +1,14 @@ -A pure python implementation of multicast DNS service discovery +A pure Python implementation of multicast DNS service discovery. + +Compatible with: +- Bonjour +- Avahi + +Compared to some other Zeroconf/Bonjour/Avahi Python packages, python-zeroconf: +- isn't tied to Bonjour or Avahi +- doesn't use D-Bus +- doesn't force you to use particular event loop or Twisted +- is pip-installable +- has PyPI distribution WWW: https://github.com/jstasiak/python-zeroconf