diff options
author | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-16 15:53:09 +0000 |
---|---|---|
committer | lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> | 2011-06-16 15:53:09 +0000 |
commit | da9cad1b6b32d565c350fea8091c4cedcb13b5c1 (patch) | |
tree | 68a759b8f6c8d36d94af3cea6d05cb449b87c25e | |
parent | a6ba6fe510b0e92e8dfe382637cd840b3d3cc0c6 (diff) |
utils/external_packages.py: remove gwt incubator
external_packages.py hold a number of classes that represent autotest's
dependencies. Remove the one that represents gwt incubator so that it's
not installed by build_externals.py
Signed-off-by: Cleber Rosa <crosa@redhat.com>
git-svn-id: svn://test.kernel.org/autotest/trunk@5424 592f7852-d20e-0410-864c-8624ca9c26a4
-rw-r--r--[-rwxr-xr-x] | utils/external_packages.py | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/utils/external_packages.py b/utils/external_packages.py index 34d62b6a..06fd05cb 100755..100644 --- a/utils/external_packages.py +++ b/utils/external_packages.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# # Please keep this code python 2.4 compatible and stand alone. import logging, os, shutil, sys, tempfile, time, urllib2 @@ -720,35 +718,3 @@ class GwtPackage(ExternalPackage): os.rename(extracted_dir, target_dir) return True - -# This requires GWT to already be installed, so it must be declared after -# GwtPackage -class GwtIncubatorPackage(ExternalPackage): - version = '20101117-r1766' - local_filename = 'gwt-incubator-%s.jar' % version - symlink_name = 'gwt-incubator.jar' - urls = ('http://google-web-toolkit-incubator.googlecode.com/files/' - + local_filename,) - hex_sum = '3aa16d4c7c00edad4719092669d820a34e10ef0a' - module_name = None # Not a Python module - - - def is_needed(self, install_dir): - gwt_dir = os.path.join(install_dir, GwtPackage.name) - return not os.path.exists(os.path.join(gwt_dir, self.local_filename)) - - - def _build_and_install(self, install_dir): - dest = os.path.join(install_dir, GwtPackage.name, self.local_filename) - shutil.copyfile(self.verified_package, dest) - - symlink_path = os.path.join( - install_dir, GwtPackage.name, self.symlink_name) - if os.path.exists(symlink_path): - os.remove(symlink_path) - os.symlink(dest, symlink_path) - return True - - -if __name__ == '__main__': - sys.exit(main()) |