svn commit: r495339 - head/net/py-zeroconf
Mateusz Piotrowski
0mp at FreeBSD.org
Mon Mar 11 10:20:28 UTC 2019
Author: 0mp
Date: Mon Mar 11 10:20:26 2019
New Revision: 495339
URL: https://svnweb.freebsd.org/changeset/ports/495339
Log:
net/py-zeroconf: Update dependencies and add tests
- Set LICENSE_FILE
- Add tests
- One test (test_lots_of_names) is disabled now as it fails
- Remove six from dependencies (support for Python 2 was dropped in
https://github.com/jstasiak/python-zeroconf/commit/f22f421e4e6bf1ca7671b1eb540ba09fbf1e04b1)
- Improve package description
PR: 236019
Reviewed by: mat
Approved by: mat (mentor), maintainer timeout (2 weeks)
Differential Revision: https://reviews.freebsd.org/D19269
Modified:
head/net/py-zeroconf/Makefile
head/net/py-zeroconf/pkg-descr
Modified: head/net/py-zeroconf/Makefile
==============================================================================
--- head/net/py-zeroconf/Makefile Mon Mar 11 10:20:02 2019 (r495338)
+++ head/net/py-zeroconf/Makefile Mon Mar 11 10:20:26 2019 (r495339)
@@ -3,7 +3,7 @@
PORTNAME= zeroconf
PORTVERSION= 0.21.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,9 +11,10 @@ MAINTAINER= jhixson at FreeBSD.org
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_ACCOUNT= jstasiak
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 <bsd.port.mk>
Modified: head/net/py-zeroconf/pkg-descr
==============================================================================
--- head/net/py-zeroconf/pkg-descr Mon Mar 11 10:20:02 2019 (r495338)
+++ head/net/py-zeroconf/pkg-descr Mon Mar 11 10:20:26 2019 (r495339)
@@ -1,3 +1,7 @@
-A pure python implementation of multicast DNS service discovery
+A pure Python implementation of multicast DNS service discovery.
+
+Compatible with:
+- Bonjour
+- Avahi
WWW: https://github.com/jstasiak/python-zeroconf
More information about the svn-ports-all
mailing list