From: Peter Korsgaard Date: Tue, 25 Nov 2014 18:11:43 +0000 (+0100) Subject: package: add python-httplib2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8ce24077b68b1fa5422154ae18ed0541be5352e;p=buildroot.git package: add python-httplib2 [Thomas: fix the license, it is MIT, not BSD-3c.] Signed-off-by: Peter Korsgaard Signed-off-by: Thomas Petazzoni --- diff --git a/package/Config.in b/package/Config.in index a8128ff876..6875d8b388 100644 --- a/package/Config.in +++ b/package/Config.in @@ -493,6 +493,7 @@ menu "external python modules" source "package/python-dpkt/Config.in" source "package/python-flask/Config.in" source "package/python-flup/Config.in" + source "package/python-httplib2/Config.in" source "package/python-id3/Config.in" source "package/python-ipy/Config.in" source "package/python-ipython/Config.in" diff --git a/package/python-httplib2/Config.in b/package/python-httplib2/Config.in new file mode 100644 index 0000000000..e42f5132b7 --- /dev/null +++ b/package/python-httplib2/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_HTTPLIB2 + bool "python-httplib2" + select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON + select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 + help + httplib2 is a comprehensive HTTP client library, httplib2.py + supports many features left out of other HTTP libraries. + + https://pypi.python.org/pypi/httplib2 diff --git a/package/python-httplib2/python-httplib2.hash b/package/python-httplib2/python-httplib2.hash new file mode 100644 index 0000000000..6b128d3472 --- /dev/null +++ b/package/python-httplib2/python-httplib2.hash @@ -0,0 +1,3 @@ +# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=09d8e8016911fc40e2e4c58f1aa3ec24, sha256 locally computed +md5 09d8e8016911fc40e2e4c58f1aa3ec24 httplib2-0.9.tar.gz +sha256 39ea8c6a6d9f595c177a16134fc49a990ad8d382758cbf469c8659662f2f51ab httplib2-0.9.tar.gz diff --git a/package/python-httplib2/python-httplib2.mk b/package/python-httplib2/python-httplib2.mk new file mode 100644 index 0000000000..ec5c4763e5 --- /dev/null +++ b/package/python-httplib2/python-httplib2.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-httplib2 +# +################################################################################ + +PYTHON_HTTPLIB2_VERSION = 0.9 +PYTHON_HTTPLIB2_SOURCE = httplib2-$(PYTHON_HTTPLIB2_VERSION).tar.gz +PYTHON_HTTPLIB2_SITE = http://pypi.python.org/packages/source/h/httplib2 +PYTHON_HTTPLIB2_SETUP_TYPE = setuptools +PYTHON_HTTPLIB2_LICENSE = MIT +PYTHON_HTTPLIB2_LICENSE_FILES = PKG-INFO + +$(eval $(python-package))