[jhbuild/jhdebuild] [jhdebuild] Remove unneeded functions



commit d21a4cded2d1ce4ca60de186166a97baaf1f615a
Author: John Carr <john carr unrouted co uk>
Date:   Sun May 17 21:29:41 2009 +0100

    [jhdebuild] Remove unneeded functions
---
 jhbuild/modtypes/autotools.py |   12 ------------
 jhbuild/modtypes/debian.py    |   12 ------------
 2 files changed, 0 insertions(+), 24 deletions(-)

diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 021510a..0a715d7 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -88,9 +88,6 @@ class AutogenModule(Package, DebianBasePackage):
         self.checkout(buildscript)
     do_checkout.error_phases = [PHASE_FORCE_CHECKOUT]
 
-    def skip_force_checkout(self, buildscript, last_state):
-        return False
-
     def do_force_checkout(self, buildscript):
         buildscript.set_action(_('Checking out'), self)
         self.branch.force_checkout(buildscript)
@@ -354,9 +351,6 @@ class AutogenModule(Package, DebianBasePackage):
 
         return filename[:-7] # removing .tar.gz
 
-    def skip_deb_tar_x(self, buildscript, last_state):
-        return False
-
     def do_deb_tar_x(self, buildscript):
         buildscript.set_action('Extracting tarball of', self)
         distdir = self.get_distdir(buildscript)
@@ -381,16 +375,10 @@ class AutogenModule(Package, DebianBasePackage):
     do_deb_tar_x.error_phases = []
     do_deb_tar_x.depends = [DebianBasePackage.PHASE_DEB_DIST]
 
-    def skip_force_clean(self, buildscript, last_state):
-        return False
-
     def do_force_clean(self, buildscript):
         self.do_clean(buildscript)
     do_force_clean.error_phases = []
 
-    def skip_force_distclean(self, buildscript, last_state):
-        return False
-
     do_install.depends = [PHASE_BUILD]
 
     def do_distclean(self, buildscript):
diff --git a/jhbuild/modtypes/debian.py b/jhbuild/modtypes/debian.py
index ada94b5..43e5d16 100644
--- a/jhbuild/modtypes/debian.py
+++ b/jhbuild/modtypes/debian.py
@@ -58,9 +58,6 @@ class DebianBasePackage:
                     raise SkipToEnd()
     do_deb_start.error_phases = []
 
-    def skip_deb_apt_get_update(self, buildscript, last_state):
-        return False
-
     def do_deb_apt_get_update(self, buildscript):
         if not buildscript.config.nonetwork:
             buildscript.set_action('Updating packages database for', self)
@@ -70,9 +67,6 @@ class DebianBasePackage:
                 pass
     do_deb_apt_get_update.error_phases = []
 
-    def skip_deb_build_deps(self, buildscript, last_state):
-        return False
-
     def do_deb_build_deps(self, buildscript):
         buildscript.set_action('Installing build deps for', self)
         debian_name = self.get_debian_name(buildscript)
@@ -95,9 +89,6 @@ class DebianBasePackage:
             return True
         return False
 
-    def skip_deb_debian_dir(self, buildscript, last_state):
-        return False
-
     def do_deb_debian_dir(self, buildscript):
         buildscript.set_action('Getting a debian/ directory for', self)
 
@@ -266,9 +257,6 @@ class DebianBasePackage:
             os.unlink(f)
     do_deb_dinstall.error_phases = []
 
-    def skip_deb_upgrade(self, buildscript, last_state):
-        return False
-
     def do_deb_upgrade(self, buildscript):
         buildscript.set_action('Upgrading packages', self)
         if not buildscript.config.nonetwork:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]