[Buildroot] [PATCH v2] python-cherrypy: new package

Frank Hunleth fhunleth at troodon-software.com
Thu Feb 5 14:34:28 UTC 2015


Signed-off-by: Frank Hunleth <fhunleth at troodon-software.com>
---
Changes v1 -> v2:
  - removed depends statement in Config.in per Yegor's comment
    that it wasn't needed if it runs on both Python 2 and 3.

 package/Config.in                          |  1 +
 package/python-cherrypy/Config.in          |  6 ++++++
 package/python-cherrypy/python-cherrypy.mk | 14 ++++++++++++++
 3 files changed, 21 insertions(+)
 create mode 100644 package/python-cherrypy/Config.in
 create mode 100644 package/python-cherrypy/python-cherrypy.mk

diff --git a/package/Config.in b/package/Config.in
index fe3d3d0..a5d1be5 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -510,6 +510,7 @@ menu "external python modules"
 	source "package/python-certifi/Config.in"
 	source "package/python-cffi/Config.in"
 	source "package/python-cheetah/Config.in"
+	source "package/python-cherrypy/Config.in"
 	source "package/python-coherence/Config.in"
 	source "package/python-configobj/Config.in"
 	source "package/python-configshell-fb/Config.in"
diff --git a/package/python-cherrypy/Config.in b/package/python-cherrypy/Config.in
new file mode 100644
index 0000000..e48d601
--- /dev/null
+++ b/package/python-cherrypy/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_CHERRYPY
+	bool "python-cherrypy"
+	help
+	  A minimalist web framework
+
+	  http://www.cherrypy.org
diff --git a/package/python-cherrypy/python-cherrypy.mk b/package/python-cherrypy/python-cherrypy.mk
new file mode 100644
index 0000000..a08b21a
--- /dev/null
+++ b/package/python-cherrypy/python-cherrypy.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-cherrypy
+#
+################################################################################
+
+PYTHON_CHERRYPY_VERSION = 3.6.0
+PYTHON_CHERRYPY_SOURCE = CherryPy-$(PYTHON_CHERRYPY_VERSION).tar.gz
+PYTHON_CHERRYPY_SITE = http://pypi.python.org/packages/source/C/CherryPy
+PYTHON_CHERRYPY_LICENSE = BSD-3c
+PYTHON_CHERRYPY_LICENSE_FILES = LICENSE.txt
+PYTHON_CHERRYPY_SETUP_TYPE = distutils
+
+$(eval $(python-package))
--
1.9.1



More information about the buildroot mailing list