ports/net/py-zeroconf/Makefile
Mateusz Piotrowski bebd598be2 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
  f22f421e4e)
- Improve package description

PR:		236019
Reviewed by:	mat
Approved by:	mat (mentor), maintainer timeout (2 weeks)
Differential Revision:	https://reviews.freebsd.org/D19269
2019-03-11 10:20:26 +00:00

32 lines
784 B
Makefile

# Created by: John Hixson <jhixson@gmail.com>
# $FreeBSD$
PORTNAME= zeroconf
PORTVERSION= 0.21.3
PORTREVISION= 3
CATEGORIES= net python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jhixson@FreeBSD.org
COMMENT= Pure python implementation of multicast DNS service discovery
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
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
USE_GITHUB= yes
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>