update py-zeroconf to 0.21.3

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

update py-zeroconf to 0.21.3

Antoine Jacoutot-7
Hi.

Here's an update to py-zeroconf-0.21.3.
It's now py3 only and requires net/py-ifaddr which is attached to this mail.
Not really an issue since the only thing that depends on it is py-chromecast
which is also py3 only.

OK?


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/py-zeroconf/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile 19 Jan 2018 22:23:58 -0000 1.1.1.1
+++ Makefile 12 Mar 2019 10:29:19 -0000
@@ -2,7 +2,7 @@
 
 COMMENT = pure Python Multicast DNS Service Discovery Library
 
-MODPY_EGG_VERSION = 0.19.1
+MODPY_EGG_VERSION = 0.21.3
 DISTNAME = zeroconf-${MODPY_EGG_VERSION}
 PKGNAME = py-${DISTNAME}
 
@@ -17,17 +17,8 @@ MODULES = lang/python
 
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
+MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
 
-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
+RUN_DEPENDS = net/py-ifaddr${MODPY_FLAVOR}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/py-zeroconf/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo 19 Jan 2018 22:23:58 -0000 1.1.1.1
+++ distinfo 12 Mar 2019 10:29:19 -0000
@@ -1,2 +1,2 @@
-SHA256 (zeroconf-0.19.1.tar.gz) = Q06rjalSWucl1oQqrn5Z2exlgL3FroTzwiUkC8Z5f3o=
-SIZE (zeroconf-0.19.1.tar.gz) = 22769
+SHA256 (zeroconf-0.21.3.tar.gz) = W1Lf305mXZihe/mqUN6nqMmOJfly2cHXZg4rl4ofVxM=
+SIZE (zeroconf-0.21.3.tar.gz) = 32381
Index: patches/patch-setup_py
===================================================================
RCS file: patches/patch-setup_py
diff -N patches/patch-setup_py
--- patches/patch-setup_py 19 Jan 2018 22:23:58 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-setup_py,v 1.1.1.1 2018/01/19 22:23:58 jung Exp $
-
-py-enum34 install is handled in port Makefile
-
-Index: setup.py
---- setup.py.orig
-+++ setup.py
-@@ -55,7 +55,7 @@ setup(
-         'mDNS',
-     ],
-     install_requires=[
--        'enum-compat',
-+        #'enum-compat',
-         # netifaces 0.10.5 has a bug that results in all interfaces' netmasks
-         # to be 255.255.255.255 on Windows which breaks things. See:
-         # * https://github.com/jstasiak/python-zeroconf/issues/84
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/net/py-zeroconf/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 19 Jan 2018 22:23:58 -0000 1.1.1.1
+++ pkg/PLIST 12 Mar 2019 10:29:19 -0000
@@ -5,7 +5,6 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/zeroconf-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
 lib/python${MODPY_VERSION}/site-packages/zeroconf-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
 lib/python${MODPY_VERSION}/site-packages/zeroconf-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/not-zip-safe
-lib/python${MODPY_VERSION}/site-packages/zeroconf-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/pbr.json
 lib/python${MODPY_VERSION}/site-packages/zeroconf-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 lib/python${MODPY_VERSION}/site-packages/zeroconf-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/zeroconf.py



--
Antoine

py-ifaddr.tgz (1K) Download Attachment