All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] python-gunicorn: new package
@ 2017-01-30 10:40 Lionel Flandrin
  2017-01-30 10:40 ` [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
  2017-01-30 11:31 ` [Buildroot] [PATCH 1/2] python-gunicorn: new package Yegor Yefremov
  0 siblings, 2 replies; 11+ messages in thread
From: Lionel Flandrin @ 2017-01-30 10:40 UTC (permalink / raw)
  To: buildroot

Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
server is broadly compatible with various web frameworks, simply
implemented, light on server resource usage, and fairly speedy.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
---
 package/Config.in                            |  1 +
 package/python-gunicorn/Config.in            | 15 +++++++++++++++
 package/python-gunicorn/python-gunicorn.hash |  3 +++
 package/python-gunicorn/python-gunicorn.mk   | 14 ++++++++++++++
 4 files changed, 33 insertions(+)
 create mode 100644 package/python-gunicorn/Config.in
 create mode 100644 package/python-gunicorn/python-gunicorn.hash
 create mode 100644 package/python-gunicorn/python-gunicorn.mk

diff --git a/package/Config.in b/package/Config.in
index 6a3a1a7c7..c68d84889 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -696,6 +696,7 @@ menu "External python modules"
 	source "package/python-flup/Config.in"
 	source "package/python-futures/Config.in"
 	source "package/python-gobject/Config.in"
+	source "package/python-gunicorn/Config.in"
 	source "package/python-html5lib/Config.in"
 	source "package/python-httplib2/Config.in"
 	source "package/python-humanize/Config.in"
diff --git a/package/python-gunicorn/Config.in b/package/python-gunicorn/Config.in
new file mode 100644
index 000000000..d675c03e0
--- /dev/null
+++ b/package/python-gunicorn/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_PYTHON_GUNICORN
+	bool "python-gunicorn"
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS
+	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
+	help
+	  Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for
+	  UNIX. It?s a pre-fork worker model ported from Ruby?s
+	  Unicorn project. The Gunicorn server is broadly compatible
+	  with various web frameworks, simply implemented, light on
+	  server resource usage, and fairly speedy.
+
+	  http://gunicorn.org/
diff --git a/package/python-gunicorn/python-gunicorn.hash b/package/python-gunicorn/python-gunicorn.hash
new file mode 100644
index 000000000..a282bc995
--- /dev/null
+++ b/package/python-gunicorn/python-gunicorn.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
+md5	338e5e8a83ea0f0625f768dba4597530  gunicorn-19.6.0.tar.gz
+sha256	813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618  gunicorn-19.6.0.tar.gz
diff --git a/package/python-gunicorn/python-gunicorn.mk b/package/python-gunicorn/python-gunicorn.mk
new file mode 100644
index 000000000..c33b753db
--- /dev/null
+++ b/package/python-gunicorn/python-gunicorn.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-gunicorn
+#
+################################################################################
+
+PYTHON_GUNICORN_VERSION = 19.6.0
+PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
+PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
+PYTHON_GUNICORN_SETUP_TYPE = setuptools
+PYTHON_GUNICORN_LICENSE = BSD-3c
+PYTHON_GUNICORN_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
-- 
2.11.0

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

* [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn
  2017-01-30 10:40 [Buildroot] [PATCH 1/2] python-gunicorn: new package Lionel Flandrin
@ 2017-01-30 10:40 ` Lionel Flandrin
  2017-01-30 11:31 ` [Buildroot] [PATCH 1/2] python-gunicorn: new package Yegor Yefremov
  1 sibling, 0 replies; 11+ messages in thread
From: Lionel Flandrin @ 2017-01-30 10:40 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
---
 DEVELOPERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/DEVELOPERS b/DEVELOPERS
index b6e0c63c1..f9da7ee80 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -922,8 +922,9 @@ F:	boot/afboot-stm32/
 
 N:	Lionel Flandrin <lionel@svkt.org>
 F:	package/python-babel/
-F:	package/python-flask-babel/
 F:	package/python-flask/
+F:	package/python-flask-babel/
+F:	package/python-gunicorn/
 
 N:	Lionel Orry <lionel.orry@gmail.com>
 F:	package/mongrel2/
-- 
2.11.0

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

* [Buildroot] [PATCH 1/2] python-gunicorn: new package
  2017-01-30 10:40 [Buildroot] [PATCH 1/2] python-gunicorn: new package Lionel Flandrin
  2017-01-30 10:40 ` [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
@ 2017-01-30 11:31 ` Yegor Yefremov
       [not found]   ` <20170130121749.vqutrxs5aljdyopx@ed>
  1 sibling, 1 reply; 11+ messages in thread
From: Yegor Yefremov @ 2017-01-30 11:31 UTC (permalink / raw)
  To: buildroot

Hi Lionel,

On Mon, Jan 30, 2017 at 11:40 AM, Lionel Flandrin <lionel@svkt.org> wrote:
> Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
> pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
> server is broadly compatible with various web frameworks, simply
> implemented, light on server resource usage, and fairly speedy.
>
> Signed-off-by: Lionel Flandrin <lionel@svkt.org>
> ---
>  package/Config.in                            |  1 +
>  package/python-gunicorn/Config.in            | 15 +++++++++++++++
>  package/python-gunicorn/python-gunicorn.hash |  3 +++
>  package/python-gunicorn/python-gunicorn.mk   | 14 ++++++++++++++
>  4 files changed, 33 insertions(+)
>  create mode 100644 package/python-gunicorn/Config.in
>  create mode 100644 package/python-gunicorn/python-gunicorn.hash
>  create mode 100644 package/python-gunicorn/python-gunicorn.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 6a3a1a7c7..c68d84889 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -696,6 +696,7 @@ menu "External python modules"
>         source "package/python-flup/Config.in"
>         source "package/python-futures/Config.in"
>         source "package/python-gobject/Config.in"
> +       source "package/python-gunicorn/Config.in"
>         source "package/python-html5lib/Config.in"
>         source "package/python-httplib2/Config.in"
>         source "package/python-humanize/Config.in"
> diff --git a/package/python-gunicorn/Config.in b/package/python-gunicorn/Config.in
> new file mode 100644
> index 000000000..d675c03e0
> --- /dev/null
> +++ b/package/python-gunicorn/Config.in
> @@ -0,0 +1,15 @@
> +config BR2_PACKAGE_PYTHON_GUNICORN
> +       bool "python-gunicorn"
> +       select BR2_PACKAGE_PYTHON_SETUPTOOLS

is setuptools package really needed at runtime?

> +       select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
> +       select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3

what module requires zlib? I see no related imports

> +       select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
> +       select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
> +       help
> +         Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for
> +         UNIX. It?s a pre-fork worker model ported from Ruby?s
> +         Unicorn project. The Gunicorn server is broadly compatible
> +         with various web frameworks, simply implemented, light on
> +         server resource usage, and fairly speedy.
> +
> +         http://gunicorn.org/
> diff --git a/package/python-gunicorn/python-gunicorn.hash b/package/python-gunicorn/python-gunicorn.hash
> new file mode 100644
> index 000000000..a282bc995
> --- /dev/null
> +++ b/package/python-gunicorn/python-gunicorn.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
> +md5    338e5e8a83ea0f0625f768dba4597530  gunicorn-19.6.0.tar.gz
> +sha256 813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618  gunicorn-19.6.0.tar.gz
> diff --git a/package/python-gunicorn/python-gunicorn.mk b/package/python-gunicorn/python-gunicorn.mk
> new file mode 100644
> index 000000000..c33b753db
> --- /dev/null
> +++ b/package/python-gunicorn/python-gunicorn.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-gunicorn
> +#
> +################################################################################
> +
> +PYTHON_GUNICORN_VERSION = 19.6.0
> +PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
> +PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
> +PYTHON_GUNICORN_SETUP_TYPE = setuptools
> +PYTHON_GUNICORN_LICENSE = BSD-3c

licence is MIT and not BSD-3c

Yegor

> +PYTHON_GUNICORN_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
> --
> 2.11.0
>

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

* [Buildroot] [PATCH 1/2] python-gunicorn: new package
       [not found]   ` <20170130121749.vqutrxs5aljdyopx@ed>
@ 2017-01-30 12:20     ` Lionel Flandrin
  2017-01-30 12:20       ` [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
                         ` (2 more replies)
  2017-01-30 13:00     ` [Buildroot] [PATCH " Yegor Yefremov
  1 sibling, 3 replies; 11+ messages in thread
From: Lionel Flandrin @ 2017-01-30 12:20 UTC (permalink / raw)
  To: buildroot

Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
server is broadly compatible with various web frameworks, simply
implemented, light on server resource usage, and fairly speedy.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
---
 package/Config.in                            |  1 +
 package/python-gunicorn/Config.in            | 13 +++++++++++++
 package/python-gunicorn/python-gunicorn.hash |  3 +++
 package/python-gunicorn/python-gunicorn.mk   | 14 ++++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/python-gunicorn/Config.in
 create mode 100644 package/python-gunicorn/python-gunicorn.hash
 create mode 100644 package/python-gunicorn/python-gunicorn.mk

diff --git a/package/Config.in b/package/Config.in
index 6a3a1a7c7..c68d84889 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -696,6 +696,7 @@ menu "External python modules"
 	source "package/python-flup/Config.in"
 	source "package/python-futures/Config.in"
 	source "package/python-gobject/Config.in"
+	source "package/python-gunicorn/Config.in"
 	source "package/python-html5lib/Config.in"
 	source "package/python-httplib2/Config.in"
 	source "package/python-humanize/Config.in"
diff --git a/package/python-gunicorn/Config.in b/package/python-gunicorn/Config.in
new file mode 100644
index 000000000..9c6084c57
--- /dev/null
+++ b/package/python-gunicorn/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_GUNICORN
+	bool "python-gunicorn"
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS
+	select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
+	select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
+	help
+	  Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for
+	  UNIX. It?s a pre-fork worker model ported from Ruby?s
+	  Unicorn project. The Gunicorn server is broadly compatible
+	  with various web frameworks, simply implemented, light on
+	  server resource usage, and fairly speedy.
+
+	  http://gunicorn.org/
diff --git a/package/python-gunicorn/python-gunicorn.hash b/package/python-gunicorn/python-gunicorn.hash
new file mode 100644
index 000000000..a282bc995
--- /dev/null
+++ b/package/python-gunicorn/python-gunicorn.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
+md5	338e5e8a83ea0f0625f768dba4597530  gunicorn-19.6.0.tar.gz
+sha256	813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618  gunicorn-19.6.0.tar.gz
diff --git a/package/python-gunicorn/python-gunicorn.mk b/package/python-gunicorn/python-gunicorn.mk
new file mode 100644
index 000000000..426e80973
--- /dev/null
+++ b/package/python-gunicorn/python-gunicorn.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-gunicorn
+#
+################################################################################
+
+PYTHON_GUNICORN_VERSION = 19.6.0
+PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
+PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
+PYTHON_GUNICORN_SETUP_TYPE = setuptools
+PYTHON_GUNICORN_LICENSE = MIT
+PYTHON_GUNICORN_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
-- 
2.11.0

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

* [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn
  2017-01-30 12:20     ` Lionel Flandrin
@ 2017-01-30 12:20       ` Lionel Flandrin
  2017-01-30 12:59       ` [Buildroot] [PATCH 1/2] python-gunicorn: new package Yegor Yefremov
  2017-01-30 14:11       ` [Buildroot] [PATCH v3 " Lionel Flandrin
  2 siblings, 0 replies; 11+ messages in thread
From: Lionel Flandrin @ 2017-01-30 12:20 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
---
 DEVELOPERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/DEVELOPERS b/DEVELOPERS
index b6e0c63c1..f9da7ee80 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -922,8 +922,9 @@ F:	boot/afboot-stm32/
 
 N:	Lionel Flandrin <lionel@svkt.org>
 F:	package/python-babel/
-F:	package/python-flask-babel/
 F:	package/python-flask/
+F:	package/python-flask-babel/
+F:	package/python-gunicorn/
 
 N:	Lionel Orry <lionel.orry@gmail.com>
 F:	package/mongrel2/
-- 
2.11.0

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

* [Buildroot] [PATCH 1/2] python-gunicorn: new package
  2017-01-30 12:20     ` Lionel Flandrin
  2017-01-30 12:20       ` [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
@ 2017-01-30 12:59       ` Yegor Yefremov
  2017-01-30 14:11       ` [Buildroot] [PATCH v3 " Lionel Flandrin
  2 siblings, 0 replies; 11+ messages in thread
From: Yegor Yefremov @ 2017-01-30 12:59 UTC (permalink / raw)
  To: buildroot

On Mon, Jan 30, 2017 at 1:20 PM, Lionel Flandrin <lionel@svkt.org> wrote:
> Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
> pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
> server is broadly compatible with various web frameworks, simply
> implemented, light on server resource usage, and fairly speedy.
>
> Signed-off-by: Lionel Flandrin <lionel@svkt.org>
> ---
>  package/Config.in                            |  1 +
>  package/python-gunicorn/Config.in            | 13 +++++++++++++
>  package/python-gunicorn/python-gunicorn.hash |  3 +++
>  package/python-gunicorn/python-gunicorn.mk   | 14 ++++++++++++++
>  4 files changed, 31 insertions(+)
>  create mode 100644 package/python-gunicorn/Config.in
>  create mode 100644 package/python-gunicorn/python-gunicorn.hash
>  create mode 100644 package/python-gunicorn/python-gunicorn.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 6a3a1a7c7..c68d84889 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -696,6 +696,7 @@ menu "External python modules"
>         source "package/python-flup/Config.in"
>         source "package/python-futures/Config.in"
>         source "package/python-gobject/Config.in"
> +       source "package/python-gunicorn/Config.in"
>         source "package/python-html5lib/Config.in"
>         source "package/python-httplib2/Config.in"
>         source "package/python-humanize/Config.in"
> diff --git a/package/python-gunicorn/Config.in b/package/python-gunicorn/Config.in
> new file mode 100644
> index 000000000..9c6084c57
> --- /dev/null
> +++ b/package/python-gunicorn/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_PYTHON_GUNICORN
> +       bool "python-gunicorn"
> +       select BR2_PACKAGE_PYTHON_SETUPTOOLS
> +       select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
> +       select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3

# runtime tags are missing

other than that looks good to me

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

If you'Re going to send v3 please add change history as desribed in [1]

[1] http://nightly.buildroot.org/manual.html#submitting-patches

Yegor

> +       help
> +         Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for
> +         UNIX. It?s a pre-fork worker model ported from Ruby?s
> +         Unicorn project. The Gunicorn server is broadly compatible
> +         with various web frameworks, simply implemented, light on
> +         server resource usage, and fairly speedy.
> +
> +         http://gunicorn.org/
> diff --git a/package/python-gunicorn/python-gunicorn.hash b/package/python-gunicorn/python-gunicorn.hash
> new file mode 100644
> index 000000000..a282bc995
> --- /dev/null
> +++ b/package/python-gunicorn/python-gunicorn.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
> +md5    338e5e8a83ea0f0625f768dba4597530  gunicorn-19.6.0.tar.gz
> +sha256 813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618  gunicorn-19.6.0.tar.gz
> diff --git a/package/python-gunicorn/python-gunicorn.mk b/package/python-gunicorn/python-gunicorn.mk
> new file mode 100644
> index 000000000..426e80973
> --- /dev/null
> +++ b/package/python-gunicorn/python-gunicorn.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-gunicorn
> +#
> +################################################################################
> +
> +PYTHON_GUNICORN_VERSION = 19.6.0
> +PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
> +PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
> +PYTHON_GUNICORN_SETUP_TYPE = setuptools
> +PYTHON_GUNICORN_LICENSE = MIT
> +PYTHON_GUNICORN_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
> --
> 2.11.0
>

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

* [Buildroot] [PATCH 1/2] python-gunicorn: new package
       [not found]   ` <20170130121749.vqutrxs5aljdyopx@ed>
  2017-01-30 12:20     ` Lionel Flandrin
@ 2017-01-30 13:00     ` Yegor Yefremov
  1 sibling, 0 replies; 11+ messages in thread
From: Yegor Yefremov @ 2017-01-30 13:00 UTC (permalink / raw)
  To: buildroot

On Mon, Jan 30, 2017 at 1:17 PM, Lionel Flandrin <lflandrin@ereca.fr> wrote:
> On Mon, Jan 30, 2017 at 12:31:06PM +0100, Yegor Yefremov wrote:
>> Hi Lionel,
>
> Hello Yegor,
>
>> On Mon, Jan 30, 2017 at 11:40 AM, Lionel Flandrin <lionel@svkt.org> wrote:
>> > Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
>> > pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
>> > server is broadly compatible with various web frameworks, simply
>> > implemented, light on server resource usage, and fairly speedy.
>> >
>> > Signed-off-by: Lionel Flandrin <lionel@svkt.org>
>> > ---
>> >  package/Config.in                            |  1 +
>> >  package/python-gunicorn/Config.in            | 15 +++++++++++++++
>> >  package/python-gunicorn/python-gunicorn.hash |  3 +++
>> >  package/python-gunicorn/python-gunicorn.mk   | 14 ++++++++++++++
>> >  4 files changed, 33 insertions(+)
>> >  create mode 100644 package/python-gunicorn/Config.in
>> >  create mode 100644 package/python-gunicorn/python-gunicorn.hash
>> >  create mode 100644 package/python-gunicorn/python-gunicorn.mk
>> >
>> > diff --git a/package/Config.in b/package/Config.in
>> > index 6a3a1a7c7..c68d84889 100644
>> > --- a/package/Config.in
>> > +++ b/package/Config.in
>> > @@ -696,6 +696,7 @@ menu "External python modules"
>> >         source "package/python-flup/Config.in"
>> >         source "package/python-futures/Config.in"
>> >         source "package/python-gobject/Config.in"
>> > +       source "package/python-gunicorn/Config.in"
>> >         source "package/python-html5lib/Config.in"
>> >         source "package/python-httplib2/Config.in"
>> >         source "package/python-humanize/Config.in"
>> > diff --git a/package/python-gunicorn/Config.in b/package/python-gunicorn/Config.in
>> > new file mode 100644
>> > index 000000000..d675c03e0
>> > --- /dev/null
>> > +++ b/package/python-gunicorn/Config.in
>> > @@ -0,0 +1,15 @@
>> > +config BR2_PACKAGE_PYTHON_GUNICORN
>> > +       bool "python-gunicorn"
>> > +       select BR2_PACKAGE_PYTHON_SETUPTOOLS
>>
>> is setuptools package really needed at runtime?
>
> It uses pkg_resources which I believe is part of setuptools:
>
> https://github.com/benoitc/gunicorn/blob/master/gunicorn/util.py#L13

OK. I see it now.

Yegor

>> > +       select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
>> > +       select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
>>
>> what module requires zlib? I see no related imports
>
> I assumed it needed it for some reason. Looks like I was wrong.
>
>> > +       select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON
>> > +       select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3
>> > +       help
>> > +         Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for
>> > +         UNIX. It?s a pre-fork worker model ported from Ruby?s
>> > +         Unicorn project. The Gunicorn server is broadly compatible
>> > +         with various web frameworks, simply implemented, light on
>> > +         server resource usage, and fairly speedy.
>> > +
>> > +         http://gunicorn.org/
>> > diff --git a/package/python-gunicorn/python-gunicorn.hash b/package/python-gunicorn/python-gunicorn.hash
>> > new file mode 100644
>> > index 000000000..a282bc995
>> > --- /dev/null
>> > +++ b/package/python-gunicorn/python-gunicorn.hash
>> > @@ -0,0 +1,3 @@
>> > +# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
>> > +md5    338e5e8a83ea0f0625f768dba4597530  gunicorn-19.6.0.tar.gz
>> > +sha256 813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618  gunicorn-19.6.0.tar.gz
>> > diff --git a/package/python-gunicorn/python-gunicorn.mk b/package/python-gunicorn/python-gunicorn.mk
>> > new file mode 100644
>> > index 000000000..c33b753db
>> > --- /dev/null
>> > +++ b/package/python-gunicorn/python-gunicorn.mk
>> > @@ -0,0 +1,14 @@
>> > +################################################################################
>> > +#
>> > +# python-gunicorn
>> > +#
>> > +################################################################################
>> > +
>> > +PYTHON_GUNICORN_VERSION = 19.6.0
>> > +PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
>> > +PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
>> > +PYTHON_GUNICORN_SETUP_TYPE = setuptools
>> > +PYTHON_GUNICORN_LICENSE = BSD-3c
>>
>> licence is MIT and not BSD-3c
>
> Good catch. I'll add the _LICENSE_FILES while I'm at it.
>
>> Yegor
>>
>> > +PYTHON_GUNICORN_LICENSE_FILES = LICENSE
>> > +
>> > +$(eval $(python-package))
>> > --
>> > 2.11.0
>> >
>
> --
> Lionel Flandrin

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

* [Buildroot] [PATCH v3 1/2] python-gunicorn: new package
  2017-01-30 12:20     ` Lionel Flandrin
  2017-01-30 12:20       ` [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
  2017-01-30 12:59       ` [Buildroot] [PATCH 1/2] python-gunicorn: new package Yegor Yefremov
@ 2017-01-30 14:11       ` Lionel Flandrin
  2017-01-30 14:11         ` [Buildroot] [PATCH v3 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
                           ` (2 more replies)
  2 siblings, 3 replies; 11+ messages in thread
From: Lionel Flandrin @ 2017-01-30 14:11 UTC (permalink / raw)
  To: buildroot

Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
server is broadly compatible with various web frameworks, simply
implemented, light on server resource usage, and fairly speedy.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>

---
Changes v1 -> v2:
  - Remove ZLIB dependency
  - Change license to MIT

Changes v2 -> v3:
  - Add # runtime tags
---
 package/Config.in                            |  1 +
 package/python-gunicorn/Config.in            | 13 +++++++++++++
 package/python-gunicorn/python-gunicorn.hash |  3 +++
 package/python-gunicorn/python-gunicorn.mk   | 14 ++++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/python-gunicorn/Config.in
 create mode 100644 package/python-gunicorn/python-gunicorn.hash
 create mode 100644 package/python-gunicorn/python-gunicorn.mk

diff --git a/package/Config.in b/package/Config.in
index 6a3a1a7c7..c68d84889 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -696,6 +696,7 @@ menu "External python modules"
 	source "package/python-flup/Config.in"
 	source "package/python-futures/Config.in"
 	source "package/python-gobject/Config.in"
+	source "package/python-gunicorn/Config.in"
 	source "package/python-html5lib/Config.in"
 	source "package/python-httplib2/Config.in"
 	source "package/python-humanize/Config.in"
diff --git a/package/python-gunicorn/Config.in b/package/python-gunicorn/Config.in
new file mode 100644
index 000000000..79cda3eaa
--- /dev/null
+++ b/package/python-gunicorn/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_PYTHON_GUNICORN
+	bool "python-gunicorn"
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
+	select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
+	help
+	  Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for
+	  UNIX. It?s a pre-fork worker model ported from Ruby?s
+	  Unicorn project. The Gunicorn server is broadly compatible
+	  with various web frameworks, simply implemented, light on
+	  server resource usage, and fairly speedy.
+
+	  http://gunicorn.org/
diff --git a/package/python-gunicorn/python-gunicorn.hash b/package/python-gunicorn/python-gunicorn.hash
new file mode 100644
index 000000000..a282bc995
--- /dev/null
+++ b/package/python-gunicorn/python-gunicorn.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
+md5	338e5e8a83ea0f0625f768dba4597530  gunicorn-19.6.0.tar.gz
+sha256	813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618  gunicorn-19.6.0.tar.gz
diff --git a/package/python-gunicorn/python-gunicorn.mk b/package/python-gunicorn/python-gunicorn.mk
new file mode 100644
index 000000000..426e80973
--- /dev/null
+++ b/package/python-gunicorn/python-gunicorn.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-gunicorn
+#
+################################################################################
+
+PYTHON_GUNICORN_VERSION = 19.6.0
+PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
+PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
+PYTHON_GUNICORN_SETUP_TYPE = setuptools
+PYTHON_GUNICORN_LICENSE = MIT
+PYTHON_GUNICORN_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
-- 
2.11.0

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

* [Buildroot] [PATCH v3 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn
  2017-01-30 14:11       ` [Buildroot] [PATCH v3 " Lionel Flandrin
@ 2017-01-30 14:11         ` Lionel Flandrin
  2017-01-30 14:50         ` [Buildroot] [PATCH v3 1/2] python-gunicorn: new package Yegor Yefremov
  2017-02-05 22:04         ` Thomas Petazzoni
  2 siblings, 0 replies; 11+ messages in thread
From: Lionel Flandrin @ 2017-01-30 14:11 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
---
 DEVELOPERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/DEVELOPERS b/DEVELOPERS
index b6e0c63c1..f9da7ee80 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -922,8 +922,9 @@ F:	boot/afboot-stm32/
 
 N:	Lionel Flandrin <lionel@svkt.org>
 F:	package/python-babel/
-F:	package/python-flask-babel/
 F:	package/python-flask/
+F:	package/python-flask-babel/
+F:	package/python-gunicorn/
 
 N:	Lionel Orry <lionel.orry@gmail.com>
 F:	package/mongrel2/
-- 
2.11.0

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

* [Buildroot] [PATCH v3 1/2] python-gunicorn: new package
  2017-01-30 14:11       ` [Buildroot] [PATCH v3 " Lionel Flandrin
  2017-01-30 14:11         ` [Buildroot] [PATCH v3 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
@ 2017-01-30 14:50         ` Yegor Yefremov
  2017-02-05 22:04         ` Thomas Petazzoni
  2 siblings, 0 replies; 11+ messages in thread
From: Yegor Yefremov @ 2017-01-30 14:50 UTC (permalink / raw)
  To: buildroot

On Mon, Jan 30, 2017 at 3:11 PM, Lionel Flandrin <lionel@svkt.org> wrote:
> Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
> pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
> server is broadly compatible with various web frameworks, simply
> implemented, light on server resource usage, and fairly speedy.
>
> Signed-off-by: Lionel Flandrin <lionel@svkt.org>

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>

Thanks.

Yegor

> ---
> Changes v1 -> v2:
>   - Remove ZLIB dependency
>   - Change license to MIT
>
> Changes v2 -> v3:
>   - Add # runtime tags
> ---
>  package/Config.in                            |  1 +
>  package/python-gunicorn/Config.in            | 13 +++++++++++++
>  package/python-gunicorn/python-gunicorn.hash |  3 +++
>  package/python-gunicorn/python-gunicorn.mk   | 14 ++++++++++++++
>  4 files changed, 31 insertions(+)
>  create mode 100644 package/python-gunicorn/Config.in
>  create mode 100644 package/python-gunicorn/python-gunicorn.hash
>  create mode 100644 package/python-gunicorn/python-gunicorn.mk
>
> diff --git a/package/Config.in b/package/Config.in
> index 6a3a1a7c7..c68d84889 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -696,6 +696,7 @@ menu "External python modules"
>         source "package/python-flup/Config.in"
>         source "package/python-futures/Config.in"
>         source "package/python-gobject/Config.in"
> +       source "package/python-gunicorn/Config.in"
>         source "package/python-html5lib/Config.in"
>         source "package/python-httplib2/Config.in"
>         source "package/python-humanize/Config.in"
> diff --git a/package/python-gunicorn/Config.in b/package/python-gunicorn/Config.in
> new file mode 100644
> index 000000000..79cda3eaa
> --- /dev/null
> +++ b/package/python-gunicorn/Config.in
> @@ -0,0 +1,13 @@
> +config BR2_PACKAGE_PYTHON_GUNICORN
> +       bool "python-gunicorn"
> +       select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
> +       select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime
> +       select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime
> +       help
> +         Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for
> +         UNIX. It?s a pre-fork worker model ported from Ruby?s
> +         Unicorn project. The Gunicorn server is broadly compatible
> +         with various web frameworks, simply implemented, light on
> +         server resource usage, and fairly speedy.
> +
> +         http://gunicorn.org/
> diff --git a/package/python-gunicorn/python-gunicorn.hash b/package/python-gunicorn/python-gunicorn.hash
> new file mode 100644
> index 000000000..a282bc995
> --- /dev/null
> +++ b/package/python-gunicorn/python-gunicorn.hash
> @@ -0,0 +1,3 @@
> +# md5 from https://pypi.python.org/pypi/gunicorn/json, sha256 locally computed
> +md5    338e5e8a83ea0f0625f768dba4597530  gunicorn-19.6.0.tar.gz
> +sha256 813f6916d18a4c8e90efde72f419308b357692f81333cb1125f80013d22fb618  gunicorn-19.6.0.tar.gz
> diff --git a/package/python-gunicorn/python-gunicorn.mk b/package/python-gunicorn/python-gunicorn.mk
> new file mode 100644
> index 000000000..426e80973
> --- /dev/null
> +++ b/package/python-gunicorn/python-gunicorn.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-gunicorn
> +#
> +################################################################################
> +
> +PYTHON_GUNICORN_VERSION = 19.6.0
> +PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz
> +PYTHON_GUNICORN_SITE = https://pypi.python.org/packages/84/ce/7ea5396efad1cef682bbc4068e72a0276341d9d9d0f501da609fab9fcb80
> +PYTHON_GUNICORN_SETUP_TYPE = setuptools
> +PYTHON_GUNICORN_LICENSE = MIT
> +PYTHON_GUNICORN_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
> --
> 2.11.0
>

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

* [Buildroot] [PATCH v3 1/2] python-gunicorn: new package
  2017-01-30 14:11       ` [Buildroot] [PATCH v3 " Lionel Flandrin
  2017-01-30 14:11         ` [Buildroot] [PATCH v3 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
  2017-01-30 14:50         ` [Buildroot] [PATCH v3 1/2] python-gunicorn: new package Yegor Yefremov
@ 2017-02-05 22:04         ` Thomas Petazzoni
  2 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2017-02-05 22:04 UTC (permalink / raw)
  To: buildroot

Hello,

On Mon, 30 Jan 2017 15:11:17 +0100, Lionel Flandrin wrote:
> Gunicorn ?Green Unicorn? is a Python WSGI HTTP Server for UNIX. It?s a
> pre-fork worker model ported from Ruby?s Unicorn project. The Gunicorn
> server is broadly compatible with various web frameworks, simply
> implemented, light on server resource usage, and fairly speedy.
> 
> Signed-off-by: Lionel Flandrin <lionel@svkt.org>
> 
> ---
> Changes v1 -> v2:
>   - Remove ZLIB dependency
>   - Change license to MIT

Both patches applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2017-02-05 22:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30 10:40 [Buildroot] [PATCH 1/2] python-gunicorn: new package Lionel Flandrin
2017-01-30 10:40 ` [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
2017-01-30 11:31 ` [Buildroot] [PATCH 1/2] python-gunicorn: new package Yegor Yefremov
     [not found]   ` <20170130121749.vqutrxs5aljdyopx@ed>
2017-01-30 12:20     ` Lionel Flandrin
2017-01-30 12:20       ` [Buildroot] [PATCH 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
2017-01-30 12:59       ` [Buildroot] [PATCH 1/2] python-gunicorn: new package Yegor Yefremov
2017-01-30 14:11       ` [Buildroot] [PATCH v3 " Lionel Flandrin
2017-01-30 14:11         ` [Buildroot] [PATCH v3 2/2] DEVELOPERS: Add Lionel Flandrin to package/python-gunicorn Lionel Flandrin
2017-01-30 14:50         ` [Buildroot] [PATCH v3 1/2] python-gunicorn: new package Yegor Yefremov
2017-02-05 22:04         ` Thomas Petazzoni
2017-01-30 13:00     ` [Buildroot] [PATCH " Yegor Yefremov

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.