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 <[email protected]>
---
 utils/external_packages.py |   29 -----------------------------
 1 files changed, 0 insertions(+), 29 deletions(-)

diff --git a/utils/external_packages.py b/utils/external_packages.py
index 34d62b6..7857a69 100755
--- a/utils/external_packages.py
+++ b/utils/external_packages.py
@@ -721,34 +721,5 @@ class GwtPackage(ExternalPackage):
         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())
-- 
1.7.4.4

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to