Skip to contentSkip to conversation

python-webpy: add new package

PATCH New Yegor Yefremov 2 participants 2 messages Nov 12, 2014 – Nov 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python-webpy: add new package

---
Changes:
v2: add license information

 package/Config.in                    |  1 +
 package/python-webpy/Config.in       |  8 ++++++++
 package/python-webpy/python-webpy.mk | 13 +++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/python-webpy/Config.in
 create mode 100644 package/python-webpy/python-webpy.mk
package/Config.in +1 -0
index 28cf703..949c7b6 100644
@@ -523,6 +523,7 @@ menu "external python modules"
 	source "package/python-tornado/Config.in"
 	source "package/python-urwid/Config.in"
 	source "package/python-versiontools/Config.in"
+	source "package/python-webpy/Config.in"
 endmenu
 endif
 	source "package/ruby/Config.in"
package/python-webpy/Config.in new file +8 -0
new file mode 100644
index 0000000..af27888
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_WEBPY
+	bool "python-webpy"
+	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+	help
+	  web.py is a web framework for Python that is as simple as it is
+	  powerful.
+
+	  http://webpy.org/
package/python-webpy/python-webpy.mk new file +13 -0
new file mode 100644
index 0000000..ef5b6b3
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-webpy
+#
+################################################################################
+
+PYTHON_WEBPY_VERSION = 0.37
+PYTHON_WEBPY_SITE = $(call github,webpy,webpy,webpy-$(PYTHON_WEBPY_VERSION))
+PYTHON_WEBPY_SETUP_TYPE = distutils
+PYTHON_WEBPY_LICENSE = Public Domain, CherryPy License
+PYTHON_WEBPY_LICENSE_FILES = LICENSE.txt web/wsgiserver/LICENSE.txt
+
+$(eval $(python-package))
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH v2 1/1 python-webpy: add new package

Quoted 32 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yegor" == Yegor Yefremov <[email protected]> writes:

---
Changes:
v2: add license information

 package/Config.in                    |  1 +
 package/python-webpy/Config.in       |  8 ++++++++
 package/python-webpy/python-webpy.mk | 13 +++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/python-webpy/Config.in
 create mode 100644 package/python-webpy/python-webpy.mk
package/Config.in +1 -0
index 28cf703..949c7b6 100644
@@ -523,6 +523,7 @@ menu "external python modules"
 	source "package/python-tornado/Config.in"
 	source "package/python-urwid/Config.in"
 	source "package/python-versiontools/Config.in"
+	source "package/python-webpy/Config.in"
 endmenu
 endif
 	source "package/ruby/Config.in"
package/python-webpy/Config.in new file +0 -0
new file mode 100644
index 0000000..af27888

package/python-webpy/Config.in line 3

Quoted 3 lines
package/python-webpy/Config.in new file +3 -0
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_WEBPY
+	bool "python-webpy"
+	depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3

All the python modules are inside such a conditional, so it is only needed here for packages that E.G. only work with python2.

Otherwise it looks good - Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard