All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH-next v2] python-zeroconf: new package
@ 2018-08-31  9:27 yegorslists at googlemail.com
  2018-09-08 21:36 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: yegorslists at googlemail.com @ 2018-08-31  9:27 UTC (permalink / raw)
  To: buildroot

From: Yegor Yefremov <yegorslists@googlemail.com>

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes v1 -> v2:
	- add Python 3 only restiction

 package/Config.in                            |  1 +
 package/python-zeroconf/Config.in            |  9 +++++++++
 package/python-zeroconf/python-zeroconf.hash |  5 +++++
 package/python-zeroconf/python-zeroconf.mk   | 14 ++++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/python-zeroconf/Config.in
 create mode 100644 package/python-zeroconf/python-zeroconf.hash
 create mode 100644 package/python-zeroconf/python-zeroconf.mk

diff --git a/package/Config.in b/package/Config.in
index 66f303ec58..db9a54974c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000000..ac1acbbd8c
--- /dev/null
+++ b/package/python-zeroconf/Config.in
@@ -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
index 0000000000..1677affa11
--- /dev/null
+++ b/package/python-zeroconf/python-zeroconf.hash
@@ -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
index 0000000000..b7a30326a9
--- /dev/null
+++ b/package/python-zeroconf/python-zeroconf.mk
@@ -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))
-- 
2.17.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH-next v2] python-zeroconf: new package
  2018-08-31  9:27 [Buildroot] [PATCH-next v2] python-zeroconf: new package yegorslists at googlemail.com
@ 2018-09-08 21:36 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-09-08 21:36 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 31 Aug 2018 11:27:55 +0200, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
> 
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

I've applied to master, but I had to fix the license.

> +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

The source code says:

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

So the license is LGPL-2.1+, not LGPL-2.1.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-08 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-31  9:27 [Buildroot] [PATCH-next v2] python-zeroconf: new package yegorslists at googlemail.com
2018-09-08 21:36 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.