Add httplib2 to build_externals. This is needed for the REST client.
Signed-off-by: Steve Howard <showard@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@4197 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/utils/build_externals.py b/utils/build_externals.py
index d58975e..c6bffe6 100755
--- a/utils/build_externals.py
+++ b/utils/build_externals.py
@@ -749,6 +749,17 @@
ExternalPackage._build_and_install_current_dir_setup_py)
+class Httplib2Package(ExternalPackage):
+ version = '0.6.0'
+ local_filename = 'httplib2-%s.tar.gz' % version
+ urls = ('http://httplib2.googlecode.com/files/' + local_filename,)
+ hex_sum = '995344b2704826cc0d61a266e995b328d92445a5'
+
+ _build_and_install = ExternalPackage._build_and_install_from_package
+ _build_and_install_current_dir = (
+ ExternalPackage._build_and_install_current_dir_noegg)
+
+
class GwtPackage(ExternalPackage):
"""Fetch and extract a local copy of GWT used to build the frontend."""