summaryrefslogtreecommitdiffstats
path: root/package/python-webob
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2018-05-23 13:32:36 +0200
committerPeter Korsgaard <peter@korsgaard.com>2018-05-25 18:03:51 +0200
commitc1bf88ba10f458650aff2dcccb613b68db60b945 (patch)
tree4e7675892aff675fb208f7a97c2fe47ff6459840 /package/python-webob
parentc75955baff986e61d320693edffb6a735d4aedcd (diff)
downloadbuildroot-c1bf88ba10f458650aff2dcccb613b68db60b945.tar.gz
buildroot-c1bf88ba10f458650aff2dcccb613b68db60b945.zip
package: add python-webob
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-webob')
-rw-r--r--package/python-webob/Config.in9
-rw-r--r--package/python-webob/python-webob.hash5
-rw-r--r--package/python-webob/python-webob.mk14
3 files changed, 28 insertions, 0 deletions
diff --git a/package/python-webob/Config.in b/package/python-webob/Config.in
new file mode 100644
index 0000000000..fe77723f95
--- /dev/null
+++ b/package/python-webob/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_WEBOB
+ bool "python-webob"
+ select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime
+ select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime
+ help
+ WSGI request and response object.
+
+ http://webob.org/
diff --git a/package/python-webob/python-webob.hash b/package/python-webob/python-webob.hash
new file mode 100644
index 0000000000..41e8af34fe
--- /dev/null
+++ b/package/python-webob/python-webob.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/WebOb/json
+md5 afea95e4f08330a0529ae33137caf4f0 WebOb-1.8.1.tar.gz
+sha256 54f35073d2fdcddd7a98c2a1dedeede49739150737164a787220f30283139ba6 WebOb-1.8.1.tar.gz
+# Locally computed sha256 checksums
+sha256 27bc4919e7e9e6b6cda40644517ca74d32203e32fba89ef832aba1ed93e457b3 docs/license.txt
diff --git a/package/python-webob/python-webob.mk b/package/python-webob/python-webob.mk
new file mode 100644
index 0000000000..fdf4793898
--- /dev/null
+++ b/package/python-webob/python-webob.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-webob
+#
+################################################################################
+
+PYTHON_WEBOB_VERSION = 1.8.1
+PYTHON_WEBOB_SOURCE = WebOb-$(PYTHON_WEBOB_VERSION).tar.gz
+PYTHON_WEBOB_SITE = https://files.pythonhosted.org/packages/ea/93/675ec37b631c823877718164b74fc057203c8979fd771bf60f711d64550b
+PYTHON_WEBOB_SETUP_TYPE = setuptools
+PYTHON_WEBOB_LICENSE = MIT
+PYTHON_WEBOB_LICENSE_FILES = docs/license.txt
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud