python-zeroconf: new package
authorYegor Yefremov <yegorslists@googlemail.com>
Fri, 31 Aug 2018 09:27:55 +0000 (11:27 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 8 Sep 2018 21:33:58 +0000 (23:33 +0200)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's LGPL-2.1+, not LGPL-2.1]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/python-zeroconf/Config.in [new file with mode: 0644]
package/python-zeroconf/python-zeroconf.hash [new file with mode: 0644]
package/python-zeroconf/python-zeroconf.mk [new file with mode: 0644]

index 0323045e572398005c3504bbfd332b760fbc03f1..fb4d3288461d8351146ffca2e7363b437f338e4c 100644 (file)
@@ -1025,6 +1025,7 @@ menu "External python modules"
        source "package/python-xlwt/Config.in"
        source "package/python-xmltodict/Config.in"
        source "package/python-yieldfrom/Config.in"
+       source "package/python-zeroconf/Config.in"
        source "package/python-zope-interface/Config.in"
 endmenu
 endif
diff --git a/package/python-zeroconf/Config.in b/package/python-zeroconf/Config.in
new file mode 100644 (file)
index 0000000..ac1acbb
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_ZEROCONF
+       bool "python-zeroconf"
+       depends on BR2_PACKAGE_PYTHON3
+       select BR2_PACKAGE_PYTHON_NETIFACES # runtime
+       help
+         Pure Python Multicast DNS Service Discovery Library
+         (Bonjour/Avahi compatible).
+
+         https://github.com/jstasiak/python-zeroconf
diff --git a/package/python-zeroconf/python-zeroconf.hash b/package/python-zeroconf/python-zeroconf.hash
new file mode 100644 (file)
index 0000000..1677aff
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/zeroconf/json
+md5    23124285dbdfcf3cb9cca11b98216cf7  zeroconf-0.20.0.tar.gz
+sha256 6e3f1e7b5871e3d1410ac29b9fb85aafc1e2d661ed596b07a6f84559a475efcb  zeroconf-0.20.0.tar.gz
+# Locally computed sha256 checksums
+sha256 bb117c0fbd7f57f64170b690285d7df07c2371b578e3b3cd3aa2e1155ef461a0  COPYING
diff --git a/package/python-zeroconf/python-zeroconf.mk b/package/python-zeroconf/python-zeroconf.mk
new file mode 100644 (file)
index 0000000..7000a0d
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-zeroconf
+#
+################################################################################
+
+PYTHON_ZEROCONF_VERSION = 0.20.0
+PYTHON_ZEROCONF_SOURCE = zeroconf-$(PYTHON_ZEROCONF_VERSION).tar.gz
+PYTHON_ZEROCONF_SITE = https://files.pythonhosted.org/packages/20/d7/418ff6c684ace0f5855ec56c66cfa99ec50443c41693b91e9abcccfa096c
+PYTHON_ZEROCONF_SETUP_TYPE = setuptools
+PYTHON_ZEROCONF_LICENSE = LGPL-2.1+
+PYTHON_ZEROCONF_LICENSE_FILES = COPYING
+
+$(eval $(python-package))