[Buildroot] [PATCH v2] python-webpy: add new package

Yegor Yefremov yegorslists at googlemail.com
Wed Nov 12 00:27:04 UTC 2014


Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
---
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

diff --git a/package/Config.in b/package/Config.in
index 28cf703..949c7b6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-webpy/Config.in b/package/python-webpy/Config.in
new file mode 100644
index 0000000..af27888
--- /dev/null
+++ b/package/python-webpy/Config.in
@@ -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/
diff --git a/package/python-webpy/python-webpy.mk b/package/python-webpy/python-webpy.mk
new file mode 100644
index 0000000..ef5b6b3
--- /dev/null
+++ b/package/python-webpy/python-webpy.mk
@@ -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))
-- 
1.8.3.2



More information about the buildroot mailing list