python-webpy: add new package
authorYegor Yefremov <yegorslists@googlemail.com>
Wed, 12 Nov 2014 00:27:04 +0000 (01:27 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 17 Nov 2014 16:06:54 +0000 (17:06 +0100)
[Peter: drop redundant python|python3 dependency]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/Config.in
package/python-webpy/Config.in [new file with mode: 0644]
package/python-webpy/python-webpy.mk [new file with mode: 0644]

index 92af9424f0ed0bce5100ef0e595a5fbd9087560d..1d132af4630df5abfbb38d49645170699f76cd66 100644 (file)
@@ -527,6 +527,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"
        source "package/python-werkzeug/Config.in"
 endmenu
 endif
diff --git a/package/python-webpy/Config.in b/package/python-webpy/Config.in
new file mode 100644 (file)
index 0000000..1e90892
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_WEBPY
+       bool "python-webpy"
+       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 (file)
index 0000000..ef5b6b3
--- /dev/null
@@ -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))