All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/6] package/python-colorama: new package
@ 2019-05-31 17:16 Matt Weber
  2019-05-31 17:16 ` [Buildroot] [PATCH 2/6] package/python-iptables: " Matt Weber
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Matt Weber @ 2019-05-31 17:16 UTC (permalink / raw)
  To: buildroot

This package provides a simple cross-platform API for printing
colored terminal text.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 DEVELOPERS                                   |  1 +
 package/Config.in                            |  1 +
 package/python-colorama/Config.in            |  6 ++++++
 package/python-colorama/python-colorama.hash |  5 +++++
 package/python-colorama/python-colorama.mk   | 14 ++++++++++++++
 5 files changed, 27 insertions(+)
 create mode 100644 package/python-colorama/Config.in
 create mode 100644 package/python-colorama/python-colorama.hash
 create mode 100644 package/python-colorama/python-colorama.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 1149fcb508..ddab99c9de 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1518,6 +1518,7 @@ F:	package/policycoreutils/
 F:	package/proftpd/
 F:	package/protobuf-c/
 F:	package/protobuf/
+F:	package/python-colorama/
 F:	package/python-flask-cors/
 F:	package/python-ipy/
 F:	package/python-posix-ipc/
diff --git a/package/Config.in b/package/Config.in
index f592e74a99..0c784eac0e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -849,6 +849,7 @@ menu "External python modules"
 	source "package/python-cherrypy/Config.in"
 	source "package/python-click/Config.in"
 	source "package/python-coherence/Config.in"
+	source "package/python-colorama/Config.in"
 	source "package/python-configobj/Config.in"
 	source "package/python-configshell-fb/Config.in"
 	source "package/python-constantly/Config.in"
diff --git a/package/python-colorama/Config.in b/package/python-colorama/Config.in
new file mode 100644
index 0000000000..911effb3d3
--- /dev/null
+++ b/package/python-colorama/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_COLORAMA
+	bool "python-colorama"
+	help
+	  Cross-platform colored terminal text.
+
+	  https://github.com/tartley/colorama
diff --git a/package/python-colorama/python-colorama.hash b/package/python-colorama/python-colorama.hash
new file mode 100644
index 0000000000..06f61f80af
--- /dev/null
+++ b/package/python-colorama/python-colorama.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/colorama/json
+md5	f927529cd1735f6f50ee2c61628e9c1f  colorama-0.4.1.tar.gz
+sha256	05eed71e2e327246ad6b38c540c4a3117230b19679b875190486ddd2d721422d  colorama-0.4.1.tar.gz
+# Locally computed sha256 checksums
+sha256	cac35c02686e5d04a5a7140bfb3b36e73aed496656e891102e428886d7930318  LICENSE.txt
diff --git a/package/python-colorama/python-colorama.mk b/package/python-colorama/python-colorama.mk
new file mode 100644
index 0000000000..2f4bc5e1f1
--- /dev/null
+++ b/package/python-colorama/python-colorama.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-colorama
+#
+################################################################################
+
+PYTHON_COLORAMA_VERSION = 0.4.1
+PYTHON_COLORAMA_SOURCE = colorama-$(PYTHON_COLORAMA_VERSION).tar.gz
+PYTHON_COLORAMA_SITE = https://files.pythonhosted.org/packages/76/53/e785891dce0e2f2b9f4b4ff5bc6062a53332ed28833c7afede841f46a5db
+PYTHON_COLORAMA_SETUP_TYPE = setuptools
+PYTHON_COLORAMA_LICENSE = BSD-3-Clause
+PYTHON_COLORAMA_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
-- 
2.17.1

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

* [Buildroot] [PATCH 2/6] package/python-iptables: new package
  2019-05-31 17:16 [Buildroot] [PATCH 1/6] package/python-colorama: new package Matt Weber
@ 2019-05-31 17:16 ` Matt Weber
  2019-06-20 20:03   ` Thomas Petazzoni
  2019-05-31 17:16 ` [Buildroot] [PATCH 3/6] package/python-pycairo: " Matt Weber
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: Matt Weber @ 2019-05-31 17:16 UTC (permalink / raw)
  To: buildroot

This package provides Python bindings for iptables.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 DEVELOPERS                                   |  1 +
 package/Config.in                            |  1 +
 package/python-iptables/Config.in            |  7 +++++++
 package/python-iptables/python-iptables.hash |  3 +++
 package/python-iptables/python-iptables.mk   | 12 ++++++++++++
 5 files changed, 24 insertions(+)
 create mode 100644 package/python-iptables/Config.in
 create mode 100644 package/python-iptables/python-iptables.hash
 create mode 100644 package/python-iptables/python-iptables.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index ddab99c9de..0aa5b1754d 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1520,6 +1520,7 @@ F:	package/protobuf-c/
 F:	package/protobuf/
 F:	package/python-colorama/
 F:	package/python-flask-cors/
+F:	package/python-iptables/
 F:	package/python-ipy/
 F:	package/python-posix-ipc/
 F:	package/python-pypcap/
diff --git a/package/Config.in b/package/Config.in
index 0c784eac0e..13b43ec0dd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -909,6 +909,7 @@ menu "External python modules"
 	source "package/python-iowait/Config.in"
 	source "package/python-ipaddr/Config.in"
 	source "package/python-ipaddress/Config.in"
+	source "package/python-iptables/Config.in"
 	source "package/python-ipy/Config.in"
 	source "package/python-ipython/Config.in"
 	source "package/python-ipython-genutils/Config.in"
diff --git a/package/python-iptables/Config.in b/package/python-iptables/Config.in
new file mode 100644
index 0000000000..e55359963e
--- /dev/null
+++ b/package/python-iptables/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_IPTABLES
+	bool "python-iptables"
+	select BR2_PACKAGE_IPTABLES # runtime dependency
+	help
+	  Python bindings for iptables.
+
+	  https://github.com/ldx/python-iptables
diff --git a/package/python-iptables/python-iptables.hash b/package/python-iptables/python-iptables.hash
new file mode 100644
index 0000000000..fffc38bae7
--- /dev/null
+++ b/package/python-iptables/python-iptables.hash
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/python-iptables/json
+md5	3761a77c28ca0adc69f4e0e11af2f321  python-iptables-0.13.0.tar.gz
+sha256	53b09257467681d7ea547cd3140eccd8c70effb3748af4b56ffed2f6011189e7  python-iptables-0.13.0.tar.gz
diff --git a/package/python-iptables/python-iptables.mk b/package/python-iptables/python-iptables.mk
new file mode 100644
index 0000000000..c431c457cc
--- /dev/null
+++ b/package/python-iptables/python-iptables.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# python-iptables
+#
+################################################################################
+
+PYTHON_IPTABLES_VERSION = 0.13.0
+PYTHON_IPTABLES_SITE = https://files.pythonhosted.org/packages/6e/3a/866f5b1bccc6a4d94811f84304d700da14518ff55b80e08ff2241b3221bf
+PYTHON_IPTABLES_SETUP_TYPE = setuptools
+PYTHON_IPTABLES_LICENSE = Apache-2.0
+
+$(eval $(python-package))
-- 
2.17.1

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

* [Buildroot] [PATCH 3/6] package/python-pycairo: new package
  2019-05-31 17:16 [Buildroot] [PATCH 1/6] package/python-colorama: new package Matt Weber
  2019-05-31 17:16 ` [Buildroot] [PATCH 2/6] package/python-iptables: " Matt Weber
@ 2019-05-31 17:16 ` Matt Weber
  2019-06-20 20:17   ` Thomas Petazzoni
  2019-05-31 17:16 ` [Buildroot] [PATCH 4/6] package/python-tinyrpc: " Matt Weber
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: Matt Weber @ 2019-05-31 17:16 UTC (permalink / raw)
  To: buildroot

A Python module providing bindings for the cairo graphics library.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-pycairo/Config.in           |  7 +++++++
 package/python-pycairo/python-pycairo.hash |  5 +++++
 package/python-pycairo/python-pycairo.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-pycairo/Config.in
 create mode 100644 package/python-pycairo/python-pycairo.hash
 create mode 100644 package/python-pycairo/python-pycairo.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 0aa5b1754d..e4c25e1877 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1523,6 +1523,7 @@ F:	package/python-flask-cors/
 F:	package/python-iptables/
 F:	package/python-ipy/
 F:	package/python-posix-ipc/
+F:	package/python-pycairo/
 F:	package/python-pypcap/
 F:	package/python-pyrex/
 F:	package/raptor/
diff --git a/package/Config.in b/package/Config.in
index 13b43ec0dd..d89bbbb4bc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -980,6 +980,7 @@ menu "External python modules"
 	source "package/python-pyasn-modules/Config.in"
 	source "package/python-pyasn1/Config.in"
 	source "package/python-pyasn1-modules/Config.in"
+	source "package/python-pycairo/Config.in"
 	source "package/python-pycares/Config.in"
 	source "package/python-pycli/Config.in"
 	source "package/python-pycparser/Config.in"
diff --git a/package/python-pycairo/Config.in b/package/python-pycairo/Config.in
new file mode 100644
index 0000000000..2d44dec85e
--- /dev/null
+++ b/package/python-pycairo/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYCAIRO
+	bool "python-pycairo"
+	select on BR2_PACKAGE_CAIRO # runtime dependency
+	help
+	  Python interface for cairo.
+
+	  https://pycairo.readthedocs.io
diff --git a/package/python-pycairo/python-pycairo.hash b/package/python-pycairo/python-pycairo.hash
new file mode 100644
index 0000000000..6da73c04d3
--- /dev/null
+++ b/package/python-pycairo/python-pycairo.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pycairo/json
+md5	7610da8a40a7bed548991aa3416431d1  pycairo-1.18.1.tar.gz
+sha256	70172e58b6bad7572a3518c26729b074acdde15e6fee6cbab6d3528ad552b786  pycairo-1.18.1.tar.gz
+# Locally computed sha256 checksums
+sha256	22c7747e2decb1b26e395b45dbaeb627784ef7fdbf2b80ac09a26a560277e58a  COPYING
diff --git a/package/python-pycairo/python-pycairo.mk b/package/python-pycairo/python-pycairo.mk
new file mode 100644
index 0000000000..be03d58e82
--- /dev/null
+++ b/package/python-pycairo/python-pycairo.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pycairo
+#
+################################################################################
+
+PYTHON_PYCAIRO_VERSION = 1.18.1
+PYTHON_PYCAIRO_SOURCE = pycairo-$(PYTHON_PYCAIRO_VERSION).tar.gz
+PYTHON_PYCAIRO_SITE = https://files.pythonhosted.org/packages/48/20/5e83af98eb897935bf7dc39455e892ba866feebb9b7c3b392982866f9958
+PYTHON_PYCAIRO_SETUP_TYPE = setuptools
+PYTHON_PYCAIRO_LICENSE = LGPL-2.0, MPL-1.1
+PYTHON_PYCAIRO_LICENSE_FILES = COPYING
+
+$(eval $(python-package))
-- 
2.17.1

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

* [Buildroot] [PATCH 4/6] package/python-tinyrpc: new package
  2019-05-31 17:16 [Buildroot] [PATCH 1/6] package/python-colorama: new package Matt Weber
  2019-05-31 17:16 ` [Buildroot] [PATCH 2/6] package/python-iptables: " Matt Weber
  2019-05-31 17:16 ` [Buildroot] [PATCH 3/6] package/python-pycairo: " Matt Weber
@ 2019-05-31 17:16 ` Matt Weber
  2019-06-20 20:19   ` Thomas Petazzoni
  2019-05-31 17:16 ` [Buildroot] [PATCH 5/6] package/python-txdbus: " Matt Weber
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: Matt Weber @ 2019-05-31 17:16 UTC (permalink / raw)
  To: buildroot

A protocol neutral RPC library that supports JSON-RPC and zmq.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-tinyrpc/Config.in           |  9 +++++++++
 package/python-tinyrpc/python-tinyrpc.hash |  5 +++++
 package/python-tinyrpc/python-tinyrpc.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)
 create mode 100644 package/python-tinyrpc/Config.in
 create mode 100644 package/python-tinyrpc/python-tinyrpc.hash
 create mode 100644 package/python-tinyrpc/python-tinyrpc.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index e4c25e1877..b53e98259f 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1526,6 +1526,7 @@ F:	package/python-posix-ipc/
 F:	package/python-pycairo/
 F:	package/python-pypcap/
 F:	package/python-pyrex/
+F:	package/python-tinyrpc/
 F:	package/raptor/
 F:	package/rcw/
 F:	package/rng-tools/
diff --git a/package/Config.in b/package/Config.in
index d89bbbb4bc..0080cdd625 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1070,6 +1070,7 @@ menu "External python modules"
 	source "package/python-terminaltables/Config.in"
 	source "package/python-texttable/Config.in"
 	source "package/python-thrift/Config.in"
+	source "package/python-tinyrpc/Config.in"
 	source "package/python-tomako/Config.in"
 	source "package/python-toml/Config.in"
 	source "package/python-tornado/Config.in"
diff --git a/package/python-tinyrpc/Config.in b/package/python-tinyrpc/Config.in
new file mode 100644
index 0000000000..3c643c754a
--- /dev/null
+++ b/package/python-tinyrpc/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_TINYRPC
+	bool "python-tinyrpc"
+	select BR2_PACKAGE_PYTHON_SIX # runtime
+	help
+	  A small, modular, transport and protocol neutral RPC
+	  library that, among other things, supports JSON-RPC and
+	  zmq.
+
+	  http://github.com/mbr/tinyrpc
diff --git a/package/python-tinyrpc/python-tinyrpc.hash b/package/python-tinyrpc/python-tinyrpc.hash
new file mode 100644
index 0000000000..dcaa479866
--- /dev/null
+++ b/package/python-tinyrpc/python-tinyrpc.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/tinyrpc/json
+md5	ee8fd20fb4879d4ec96500e50333b6cf  tinyrpc-1.0.1.tar.gz
+sha256	4572c9d63b056b5eb24bae5e0894115fe6b5c3fa314851d9df439c7d3f8e9d2b  tinyrpc-1.0.1.tar.gz
+# Locally computed sha256 checksums
+sha256	587f1ea174824613f4a7e0d7fb95fda000a7f58ca17df12416e014c9ee82e619  LICENSE
diff --git a/package/python-tinyrpc/python-tinyrpc.mk b/package/python-tinyrpc/python-tinyrpc.mk
new file mode 100644
index 0000000000..9ab039f955
--- /dev/null
+++ b/package/python-tinyrpc/python-tinyrpc.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-tinyrpc
+#
+################################################################################
+
+PYTHON_TINYRPC_VERSION = 1.0.1
+PYTHON_TINYRPC_SOURCE = tinyrpc-$(PYTHON_TINYRPC_VERSION).tar.gz
+PYTHON_TINYRPC_SITE = https://files.pythonhosted.org/packages/1f/f9/d2f9aa8238fc4f3f92e3912b3768c67e3b74257fdf47da2db391354be285
+PYTHON_TINYRPC_SETUP_TYPE = setuptools
+PYTHON_TINYRPC_LICENSE = MIT
+PYTHON_TINYRPC_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
-- 
2.17.1

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

* [Buildroot] [PATCH 5/6] package/python-txdbus: new package
  2019-05-31 17:16 [Buildroot] [PATCH 1/6] package/python-colorama: new package Matt Weber
                   ` (2 preceding siblings ...)
  2019-05-31 17:16 ` [Buildroot] [PATCH 4/6] package/python-tinyrpc: " Matt Weber
@ 2019-05-31 17:16 ` Matt Weber
  2019-06-20 20:23   ` Thomas Petazzoni
  2019-05-31 17:16 ` [Buildroot] [PATCH 6/6] package/python-wsgiref: " Matt Weber
  2019-06-20 20:02 ` [Buildroot] [PATCH 1/6] package/python-colorama: " Thomas Petazzoni
  5 siblings, 1 reply; 13+ messages in thread
From: Matt Weber @ 2019-05-31 17:16 UTC (permalink / raw)
  To: buildroot

Implements a native Python implementation of DBus for Twisted.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 DEVELOPERS                               |  1 +
 package/Config.in                        |  1 +
 package/python-txdbus/Config.in          |  9 +++++++++
 package/python-txdbus/python-txdbus.hash |  3 +++
 package/python-txdbus/python-txdbus.mk   | 13 +++++++++++++
 5 files changed, 27 insertions(+)
 create mode 100644 package/python-txdbus/Config.in
 create mode 100644 package/python-txdbus/python-txdbus.hash
 create mode 100644 package/python-txdbus/python-txdbus.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index b53e98259f..3ca48deff6 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1527,6 +1527,7 @@ F:	package/python-pycairo/
 F:	package/python-pypcap/
 F:	package/python-pyrex/
 F:	package/python-tinyrpc/
+F:	package/python-txdbus/
 F:	package/raptor/
 F:	package/rcw/
 F:	package/rng-tools/
diff --git a/package/Config.in b/package/Config.in
index 0080cdd625..e68defd5f4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1078,6 +1078,7 @@ menu "External python modules"
 	source "package/python-treq/Config.in"
 	source "package/python-twisted/Config.in"
 	source "package/python-txaio/Config.in"
+	source "package/python-txdbus/Config.in"
 	source "package/python-txtorcon/Config.in"
 	source "package/python-typepy/Config.in"
 	source "package/python-typing/Config.in"
diff --git a/package/python-txdbus/Config.in b/package/python-txdbus/Config.in
new file mode 100644
index 0000000000..f38bbf93f0
--- /dev/null
+++ b/package/python-txdbus/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_TXDBUS
+	bool "python-txdbus"
+	select BR2_PACKAGE_PYTHON_TWISTED # runtime
+	select BR2_PACKAGE_PYTHON_SIX # runtime
+	help
+	  A native Python implementation of the DBus protocol for
+	  Twisted applications.
+
+	  https://github.com/cocagne/txdbus
diff --git a/package/python-txdbus/python-txdbus.hash b/package/python-txdbus/python-txdbus.hash
new file mode 100644
index 0000000000..38760fada6
--- /dev/null
+++ b/package/python-txdbus/python-txdbus.hash
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/txdbus/json
+md5	f17c9204c7f56365c297ba68e6840900  txdbus-1.1.0.tar.gz
+sha256	6ff57f42c58d935956024b3c6824c1019db7d233d0af86aa0573b73b63b0817c  txdbus-1.1.0.tar.gz
diff --git a/package/python-txdbus/python-txdbus.mk b/package/python-txdbus/python-txdbus.mk
new file mode 100644
index 0000000000..08429baac8
--- /dev/null
+++ b/package/python-txdbus/python-txdbus.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-txdbus
+#
+################################################################################
+
+PYTHON_TXDBUS_VERSION = 1.1.0
+PYTHON_TXDBUS_SOURCE = txdbus-$(PYTHON_TXDBUS_VERSION).tar.gz
+PYTHON_TXDBUS_SITE = https://files.pythonhosted.org/packages/8e/7c/0b8726b82943ae99dc71b8fe20e2e0beb7feb4ef61105865021a64f08b16
+PYTHON_TXDBUS_SETUP_TYPE = setuptools
+PYTHON_TXDBUS_LICENSE = MIT
+
+$(eval $(python-package))
-- 
2.17.1

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

* [Buildroot] [PATCH 6/6] package/python-wsgiref: new package
  2019-05-31 17:16 [Buildroot] [PATCH 1/6] package/python-colorama: new package Matt Weber
                   ` (3 preceding siblings ...)
  2019-05-31 17:16 ` [Buildroot] [PATCH 5/6] package/python-txdbus: " Matt Weber
@ 2019-05-31 17:16 ` Matt Weber
  2019-06-20 20:25   ` Thomas Petazzoni
  2019-06-20 20:02 ` [Buildroot] [PATCH 1/6] package/python-colorama: " Thomas Petazzoni
  5 siblings, 1 reply; 13+ messages in thread
From: Matt Weber @ 2019-05-31 17:16 UTC (permalink / raw)
  To: buildroot

The Web Server Gateway Interface (WSGI) package defines a
standard interface between web server software and web
applications.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-wsgiref/Config.in           |  6 ++++++
 package/python-wsgiref/python-wsgiref.hash |  3 +++
 package/python-wsgiref/python-wsgiref.mk   | 18 ++++++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/python-wsgiref/Config.in
 create mode 100644 package/python-wsgiref/python-wsgiref.hash
 create mode 100644 package/python-wsgiref/python-wsgiref.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 3ca48deff6..8545352329 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -1528,6 +1528,7 @@ F:	package/python-pypcap/
 F:	package/python-pyrex/
 F:	package/python-tinyrpc/
 F:	package/python-txdbus/
+F:	package/python-wsgiref/
 F:	package/raptor/
 F:	package/rcw/
 F:	package/rng-tools/
diff --git a/package/Config.in b/package/Config.in
index e68defd5f4..43cfcfbd73 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1103,6 +1103,7 @@ menu "External python modules"
 	source "package/python-wrapt/Config.in"
 	source "package/python-ws4py/Config.in"
 	source "package/python-wsaccel/Config.in"
+	source "package/python-wsgiref/Config.in"
 	source "package/python-wtforms/Config.in"
 	source "package/python-xlib/Config.in"
 	source "package/python-xlrd/Config.in"
diff --git a/package/python-wsgiref/Config.in b/package/python-wsgiref/Config.in
new file mode 100644
index 0000000000..2fde92cab0
--- /dev/null
+++ b/package/python-wsgiref/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_WSGIREF
+	bool "python-wsgiref"
+	help
+	  WSGI (PEP 333) Reference Library.
+
+	  http://cheeseshop.python.org/pypi/wsgiref
diff --git a/package/python-wsgiref/python-wsgiref.hash b/package/python-wsgiref/python-wsgiref.hash
new file mode 100644
index 0000000000..0c9a4fecd8
--- /dev/null
+++ b/package/python-wsgiref/python-wsgiref.hash
@@ -0,0 +1,3 @@
+# md5, sha256 from https://pypi.org/pypi/wsgiref/json
+md5	29b146e6ebd0f9fb119fe321f7bcf6cb  wsgiref-0.1.2.zip
+sha256	c7e610c800957046c04c8014aab8cce8f0b9f0495c8cd349e57c1f7cabf40e79  wsgiref-0.1.2.zip
diff --git a/package/python-wsgiref/python-wsgiref.mk b/package/python-wsgiref/python-wsgiref.mk
new file mode 100644
index 0000000000..e30f4c6a31
--- /dev/null
+++ b/package/python-wsgiref/python-wsgiref.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# python-wsgiref
+#
+################################################################################
+
+PYTHON_WSGIREF_VERSION = 0.1.2
+PYTHON_WSGIREF_SOURCE = wsgiref-$(PYTHON_WSGIREF_VERSION).zip
+PYTHON_WSGIREF_SITE = https://files.pythonhosted.org/packages/41/9e/309259ce8dff8c596e8c26df86dbc4e848b9249fd36797fd60be456f03fc
+PYTHON_WSGIREF_SETUP_TYPE = setuptools
+PYTHON_WSGIREF_LICENSE = PSF or ZPL
+
+define PYTHON_WSGIREF_EXTRACT_CMDS
+	$(UNZIP) -d $(@D) $(PYTHON_WSGIREF_DL_DIR)/$(PYTHON_WSGIREF_SOURCE)
+	mv $(@D)/wsgiref-$(PYTHON_WSGIREF_VERSION)/* $(@D)/
+endef
+
+$(eval $(python-package))
-- 
2.17.1

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

* [Buildroot] [PATCH 1/6] package/python-colorama: new package
  2019-05-31 17:16 [Buildroot] [PATCH 1/6] package/python-colorama: new package Matt Weber
                   ` (4 preceding siblings ...)
  2019-05-31 17:16 ` [Buildroot] [PATCH 6/6] package/python-wsgiref: " Matt Weber
@ 2019-06-20 20:02 ` Thomas Petazzoni
  5 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2019-06-20 20:02 UTC (permalink / raw)
  To: buildroot

On Fri, 31 May 2019 12:16:49 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> This package provides a simple cross-platform API for printing
> colored terminal text.
> 
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
>  DEVELOPERS                                   |  1 +
>  package/Config.in                            |  1 +
>  package/python-colorama/Config.in            |  6 ++++++
>  package/python-colorama/python-colorama.hash |  5 +++++
>  package/python-colorama/python-colorama.mk   | 14 ++++++++++++++
>  5 files changed, 27 insertions(+)
>  create mode 100644 package/python-colorama/Config.in
>  create mode 100644 package/python-colorama/python-colorama.hash
>  create mode 100644 package/python-colorama/python-colorama.mk

Applied to master, thanks.

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

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

* [Buildroot] [PATCH 2/6] package/python-iptables: new package
  2019-05-31 17:16 ` [Buildroot] [PATCH 2/6] package/python-iptables: " Matt Weber
@ 2019-06-20 20:03   ` Thomas Petazzoni
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2019-06-20 20:03 UTC (permalink / raw)
  To: buildroot

On Fri, 31 May 2019 12:16:50 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> This package provides Python bindings for iptables.
> 
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>

I have applied, after doing one change, see below.

> +PYTHON_IPTABLES_VERSION = 0.13.0
> +PYTHON_IPTABLES_SITE = https://files.pythonhosted.org/packages/6e/3a/866f5b1bccc6a4d94811f84304d700da14518ff55b80e08ff2241b3221bf
> +PYTHON_IPTABLES_SETUP_TYPE = setuptools
> +PYTHON_IPTABLES_LICENSE = Apache-2.0

The tarball does contain a license file called NOTICE, so I've added
that + its hash.

Best regards,

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

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

* [Buildroot] [PATCH 3/6] package/python-pycairo: new package
  2019-05-31 17:16 ` [Buildroot] [PATCH 3/6] package/python-pycairo: " Matt Weber
@ 2019-06-20 20:17   ` Thomas Petazzoni
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2019-06-20 20:17 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 31 May 2019 12:16:51 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> diff --git a/package/python-pycairo/Config.in b/package/python-pycairo/Config.in
> new file mode 100644
> index 0000000000..2d44dec85e
> --- /dev/null
> +++ b/package/python-pycairo/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_PYTHON_PYCAIRO
> +	bool "python-pycairo"
> +	select on BR2_PACKAGE_CAIRO # runtime dependency

"select on" is not correct, it even prevents menuconfig from starting.

Also cairo is not a runtime dependency, but a build time dependency.
With your patch applied, if you do "make python-pycairo" to just build
python-pycairo and its build dependencies, the build fails with:

>>> python-pycairo 1.18.1 Building
(cd /home/thomas/projets/buildroot/output/build/python-pycairo-1.18.1//; _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata_m_linux_arm-linux-gnueabi" PATH="/home/thomas/projets/buildroot/output/host/bin:/home/thomas/projets/buildroot/output/host/sbin:/usr/libexec/python3-sphinx:/usr/share/Modules/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/thomas/.rvm/bin:/home/thomas/sys/bin:/home/thomas/.gem/ruby/2.1.0/bin:/home/thomas/.rvm/bin:/home/thomas/.local/bin" PYTHONPATH="/home/thomas/projets/buildroot/output/target/usr/lib/python3.7/" PYTHONNOUSERSITE=1 _python_sysroot=/home/thomas/projets/buildroot/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot _python_prefix=/usr _python_exec_prefix=/usr  /home/thomas/projets/buildroot/output/host/bin/python setup.py build  )
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/cairo
copying cairo/__init__.py -> build/lib.linux-x86_64-3.7/cairo
copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.7/cairo
copying cairo/py.typed -> build/lib.linux-x86_64-3.7/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
Package 'cairo', required by 'virtual:world', not found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1.

> +PYTHON_PYCAIRO_LICENSE = LGPL-2.0, MPL-1.1

The license is LGPL-2.1 or MPL-1.1

> +PYTHON_PYCAIRO_LICENSE_FILES = COPYING

Please add COPYING-LGPL-2.1 and COPYING-MPL-1.1 to the license files.

Thanks!

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

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

* [Buildroot] [PATCH 4/6] package/python-tinyrpc: new package
  2019-05-31 17:16 ` [Buildroot] [PATCH 4/6] package/python-tinyrpc: " Matt Weber
@ 2019-06-20 20:19   ` Thomas Petazzoni
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2019-06-20 20:19 UTC (permalink / raw)
  To: buildroot

On Fri, 31 May 2019 12:16:52 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> A protocol neutral RPC library that supports JSON-RPC and zmq.
> 
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
>  DEVELOPERS                                 |  1 +
>  package/Config.in                          |  1 +
>  package/python-tinyrpc/Config.in           |  9 +++++++++
>  package/python-tinyrpc/python-tinyrpc.hash |  5 +++++
>  package/python-tinyrpc/python-tinyrpc.mk   | 14 ++++++++++++++
>  5 files changed, 30 insertions(+)
>  create mode 100644 package/python-tinyrpc/Config.in
>  create mode 100644 package/python-tinyrpc/python-tinyrpc.hash
>  create mode 100644 package/python-tinyrpc/python-tinyrpc.mk

Applied to master, thanks.

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

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

* [Buildroot] [PATCH 5/6] package/python-txdbus: new package
  2019-05-31 17:16 ` [Buildroot] [PATCH 5/6] package/python-txdbus: " Matt Weber
@ 2019-06-20 20:23   ` Thomas Petazzoni
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2019-06-20 20:23 UTC (permalink / raw)
  To: buildroot

On Fri, 31 May 2019 12:16:53 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> Implements a native Python implementation of DBus for Twisted.
> 
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
>  DEVELOPERS                               |  1 +
>  package/Config.in                        |  1 +
>  package/python-txdbus/Config.in          |  9 +++++++++
>  package/python-txdbus/python-txdbus.hash |  3 +++
>  package/python-txdbus/python-txdbus.mk   | 13 +++++++++++++
>  5 files changed, 27 insertions(+)
>  create mode 100644 package/python-txdbus/Config.in
>  create mode 100644 package/python-txdbus/python-txdbus.hash
>  create mode 100644 package/python-txdbus/python-txdbus.mk

Applied to master, thanks.

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

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

* [Buildroot] [PATCH 6/6] package/python-wsgiref: new package
  2019-05-31 17:16 ` [Buildroot] [PATCH 6/6] package/python-wsgiref: " Matt Weber
@ 2019-06-20 20:25   ` Thomas Petazzoni
  2019-06-25  9:47     ` Matthew Weber
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2019-06-20 20:25 UTC (permalink / raw)
  To: buildroot

On Fri, 31 May 2019 12:16:54 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:

> The Web Server Gateway Interface (WSGI) package defines a
> standard interface between web server software and web
> applications.
> 
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>

This module doesn't seem to be Python 3.x ready:

Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    import ez_setup
  File "/home/thomas/projets/buildroot/output/build/python-wsgiref-0.1.2/ez_setup/__init__.py", line 170
    print "Setuptools version",version,"or greater has been installed."
                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Setuptools version",version,"or greater has been installed.")?
make[1]: *** [package/pkg-generic.mk:241: /home/thomas/projets/buildroot/output/build/python-wsgiref-0.1.2/.stamp_built] Error 1

> +PYTHON_WSGIREF_LICENSE = PSF or ZPL

Neither of these are valid SPDX license codes according to
https://spdx.org/licenses/.

Could you have a look at those two issues ?

Thanks!

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

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

* [Buildroot] [PATCH 6/6] package/python-wsgiref: new package
  2019-06-20 20:25   ` Thomas Petazzoni
@ 2019-06-25  9:47     ` Matthew Weber
  0 siblings, 0 replies; 13+ messages in thread
From: Matthew Weber @ 2019-06-25  9:47 UTC (permalink / raw)
  To: buildroot

Thomas,


On Thu, Jun 20, 2019 at 3:25 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> On Fri, 31 May 2019 12:16:54 -0500
> Matt Weber <matthew.weber@rockwellcollins.com> wrote:
>
> > The Web Server Gateway Interface (WSGI) package defines a
> > standard interface between web server software and web
> > applications.
> >
> > Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
>

I've noted this patch as rejected in patchwork.  I found out the
actual codebase for this package is inside of the python/Lib/ [1] and
the pip version [2] was quite old.  Both python2 and 3 provide this
example library and helpers as part of the normal target install.

Thanks!


[1] https://github.com/python/cpython/tree/master/Lib/wsgiref
[2] https://pypi.org/project/wsgiref/#history

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

end of thread, other threads:[~2019-06-25  9:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 17:16 [Buildroot] [PATCH 1/6] package/python-colorama: new package Matt Weber
2019-05-31 17:16 ` [Buildroot] [PATCH 2/6] package/python-iptables: " Matt Weber
2019-06-20 20:03   ` Thomas Petazzoni
2019-05-31 17:16 ` [Buildroot] [PATCH 3/6] package/python-pycairo: " Matt Weber
2019-06-20 20:17   ` Thomas Petazzoni
2019-05-31 17:16 ` [Buildroot] [PATCH 4/6] package/python-tinyrpc: " Matt Weber
2019-06-20 20:19   ` Thomas Petazzoni
2019-05-31 17:16 ` [Buildroot] [PATCH 5/6] package/python-txdbus: " Matt Weber
2019-06-20 20:23   ` Thomas Petazzoni
2019-05-31 17:16 ` [Buildroot] [PATCH 6/6] package/python-wsgiref: " Matt Weber
2019-06-20 20:25   ` Thomas Petazzoni
2019-06-25  9:47     ` Matthew Weber
2019-06-20 20:02 ` [Buildroot] [PATCH 1/6] package/python-colorama: " 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.