Skip to contentSkip to conversation

python: new module flup

PATCH New oli vogt 2 participants 4 messages May 25, 2014 – Jul 29, 2014

lore
Share & tools
lore

oli vogt

author
#0 lore raw

PATCH 1/3 python: new module flup

This module is useful to implement a fastCGI webserver Tested with ARM and Python 2.7.6

---
 package/Config.in                  |  1 +
 package/python-flup/Config.in      |  9 +++++++++
 package/python-flup/python-flup.mk | 15 +++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/python-flup/Config.in
 create mode 100644 package/python-flup/python-flup.mk
package/Config.in +1 -0
index 3bc8d24..9c61485 100644
@@ -445,6 +445,7 @@ source "package/python-configobj/Config.in"
 source "package/python-crc16/Config.in"
 source "package/python-dialog/Config.in"
 source "package/python-dpkt/Config.in"
+source "package/python-flup/Config.in"
 source "package/python-id3/Config.in"
 source "package/python-ipy/Config.in"
 source "package/python-json-schema-validator/Config.in"
package/python-flup/Config.in new file +9 -0
new file mode 100644
index 0000000..2c21323
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_FLUP
+	bool "python-flup"
+	depends on BR2_PACKAGE_PYTHON
+	help
+	  flup provides of a collection of WSGI modules for Python.
+	  It allows a webserver to use scgi-mod and fastcgi-mod
+	  with python.
+
+	  https://pypi.python.org/pypi/flup
package/python-flup/python-flup.mk new file +15 -0
new file mode 100644
index 0000000..4f021d5
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-flup
+#
+################################################################################
+
+PYTHON_FLUP_VERSION = 1.0.3.dev-20110405
+PYTHON_FLUP_SOURCE = flup-$(PYTHON_FLUP_VERSION).tar.gz
+PYTHON_FLUP_SITE = http://pypi.python.org/packages/source/f/flup
+
+PYTHON_FLUP_LICENSE = BSD-4c, MIT
+
+PYTHON_FLUP_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/3 python: new module flup

Dear oli vogt,

Quoted 11 lines · oli vogt

This module is useful to implement a fastCGI webserver Tested with ARM and Python 2.7.6

---
 package/Config.in                  |  1 +
 package/python-flup/Config.in      |  9 +++++++++
 package/python-flup/python-flup.mk | 15 +++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/python-flup/Config.in
 create mode 100644 package/python-flup/python-flup.mk

Thanks, applied. However, I've changed the license from 'BSD-4c, MIT' to just 'BSD-2c'. Let me know if you believe this is wrong, but it seemed to be matching what the package really uses.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
author
#2 lore raw

PATCH 1/3 python: new module flup

Dear Thomas

I added the MIT licence because:
----------
grep -inrA3 -B5 "license" *
: : : : : :
flup/server/paste_factory.py-1-# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
flup/server/paste_factory.py:2:# Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
flup/server/paste_factory.py-3- flup/server/paste_factory.py-4-from flup.server import NoDefault flup/server/paste_factory.py-5-
: : : : : :
----------

Thank you for accepting flup, I have used it happily for a while on an ARM iMX233 board. No more rebasing :-)

Regards, oli

On 28 July 2014 01:36, Thomas Petazzoni <[email protected]

Quoted 21 lines

wrote:

Dear oli vogt,

Quoted 11 lines · oli vogt

This module is useful to implement a fastCGI webserver Tested with ARM and Python 2.7.6

---
 package/Config.in                  |  1 +
 package/python-flup/Config.in      |  9 +++++++++
 package/python-flup/python-flup.mk | 15 +++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 package/python-flup/Config.in
 create mode 100644 package/python-flup/python-flup.mk

Thanks, applied. However, I've changed the license from 'BSD-4c, MIT' to just 'BSD-2c'. Let me know if you believe this is wrong, but it seemed to be matching what the package really uses.

Quoted 8 lines

Thanks,

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140728/6df22fc7/attachment.html>

#3 lore raw

PATCH 1/3 python: new module flup

Dear Oli Vogt,

Quoted 5 lines · Oli Vogt

I added the MIT licence because:
----------
grep -inrA3 -B5 "license" *
: : : : : :
flup/server/paste_factory.py-1-# (c) 2005 Ian Bicking and contributors;

Quoted 8 lines

written for Paste (http://pythonpaste.org)
flup/server/paste_factory.py:2:# Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
flup/server/paste_factory.py-3- flup/server/paste_factory.py-4-from flup.server import NoDefault flup/server/paste_factory.py-5-
: : : : : :
----------

Ok, I didn't notice this specific file. I've committed a fix that re-adds the MIT license. Thanks for reporting this.

Quoted 2 lines

Thank you for accepting flup, I have used it happily for a while on an ARM iMX233 board. No more rebasing :-)

Cool! Do not hesitate to contribute other changes if you have any.

Thanks,

Thomas

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