jung 9b9b8cec59 import net/py-zeroconf
ok danj

$ cat pkg/DESCR
This is fork of pyzeroconf, Multicast DNS Service Discovery for Python,
originally by Paul Scott-Murphy (https://github.com/paulsm/pyzeroconf),
modified by William McBrine (https://github.com/wmcbrine/pyzeroconf).

The original William McBrine's fork note:

   This fork is used in all of my TiVo-related projects: HME for Python (and
   therefore HME/VLC), Network Remote, Remote Proxy, and pyTivo.  Before this,
   I was tracking the changes for zeroconf.py in three separate repos.
   I figured I should have an authoritative source.

Although I make changes based on my experience with TiVos, I expect that
they're generally applicable. This version also includes patches found on the
now-defunct (?) Launchpad repo of pyzeroconf, and elsewhere around the net --
not always well-documented, sorry.  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
2018-01-19 22:23:58 +00:00

34 lines
602 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/01/19 22:23:58 jung Exp $
COMMENT = pure Python Multicast DNS Service Discovery Library
MODPY_EGG_VERSION = 0.19.1
DISTNAME = zeroconf-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = net
MAINTAINER = Joerg Jung <jung@openbsd.org>
# LGPLv2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
net/py-netifaces${MODPY_FLAVOR}
.if ! ${FLAVOR:Mpython3}
RUN_DEPENDS+= devel/py-enum34
.endif
NO_TEST = Yes
.include <bsd.port.mk>