summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-06-16 09:27:57 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-06-20 21:54:27 +0200
commitc63404c6bea2c85b8aa7f2c2cbcf561fe29a50d0 (patch)
treed5d99f1b9f9bf4e9a1d26d67eb76052c87b0f34a
parente677a54f55fd440a835b7da5f2e2430151dc22d9 (diff)
downloadbuildroot-c63404c6bea2c85b8aa7f2c2cbcf561fe29a50d0.tar.gz
buildroot-c63404c6bea2c85b8aa7f2c2cbcf561fe29a50d0.zip
python-cheroot: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-cheroot/Config.in8
-rw-r--r--package/python-cheroot/python-cheroot.hash3
-rw-r--r--package/python-cheroot/python-cheroot.mk15
4 files changed, 27 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index b852dd61fd..6bad95dfbd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -696,6 +696,7 @@ menu "External python modules"
source "package/python-characteristic/Config.in"
source "package/python-chardet/Config.in"
source "package/python-cheetah/Config.in"
+ source "package/python-cheroot/Config.in"
source "package/python-cherrypy/Config.in"
source "package/python-click/Config.in"
source "package/python-coherence/Config.in"
diff --git a/package/python-cheroot/Config.in b/package/python-cheroot/Config.in
new file mode 100644
index 0000000000..bb85f7bdc7
--- /dev/null
+++ b/package/python-cheroot/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_CHEROOT
+ bool "python-cheroot"
+ select BR2_PACKAGE_PYTHON_SIX # runtime
+ help
+ Cheroot is the high-performance, pure-Python
+ HTTP server used by CherryPy.
+
+ https://github.com/cherrypy/cheroot
diff --git a/package/python-cheroot/python-cheroot.hash b/package/python-cheroot/python-cheroot.hash
new file mode 100644
index 0000000000..348b82d1ca
--- /dev/null
+++ b/package/python-cheroot/python-cheroot.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/cheroot/json, sha256 locally computed
+md5 e5503b0e67bdba29c6585965e7f42099 cheroot-5.5.0.tar.gz
+sha256 59e349f91b9230930f7078646bb92b3a5b0f9cf19a6ff949777409fd289a1eba cheroot-5.5.0.tar.gz
diff --git a/package/python-cheroot/python-cheroot.mk b/package/python-cheroot/python-cheroot.mk
new file mode 100644
index 0000000000..3f4b6893d5
--- /dev/null
+++ b/package/python-cheroot/python-cheroot.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-cheroot
+#
+################################################################################
+
+PYTHON_CHEROOT_VERSION = 5.5.0
+PYTHON_CHEROOT_SOURCE = cheroot-$(PYTHON_CHEROOT_VERSION).tar.gz
+PYTHON_CHEROOT_SITE = https://pypi.python.org/packages/a5/43/f8a461762dc62e9f273d4944fb8c140757c11a29c91c91d3fbd5fafb1570
+PYTHON_CHEROOT_LICENSE = BSD-3-Clause
+PYTHON_CHEROOT_LICENSE_FILES = LICENSE.md
+PYTHON_CHEROOT_SETUP_TYPE = setuptools
+PYTHON_CHEROOT_DEPENDENCIES = host-python-setuptools-scm
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud