Mercurial > gub
changeset 291:748005224052
extra paranoia: return if using cvs
author | hanwen <hanwen@xs4all.nl> |
---|---|
date | Sun, 18 Dec 2005 18:22:18 +0100 |
parents | 1e198b48da99 |
children | ce9481609e28 |
files | specs/framework.py specs/gub.py specs/xpm.py |
diffstat | 3 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/specs/framework.py Sun Dec 18 18:11:13 2005 +0100 +++ b/specs/framework.py Sun Dec 18 18:22:18 2005 +0100 @@ -388,7 +388,8 @@ def install_command (self): return LilyPond.install_command (self) \ + gub.join_lines (''' HELP2MAN_GROFFS=''') - + def untar (self): + pass class Gettext (gub.Target_package): def configure_command (self): return gub.Target_package.configure_command (self) \
--- a/specs/gub.py Sun Dec 18 18:11:13 2005 +0100 +++ b/specs/gub.py Sun Dec 18 18:22:18 2005 +0100 @@ -374,7 +374,11 @@ stamp = self.stamp_file () self.system ('''rm -rf %(srcdir)s %(builddir)s %(install_root)s %(stamp)s ''', locals ()) + def untar (self): + if self.download == self.cvs: + return + tarball = self.settings.downloaddir + '/' + self.file_name () if not os.path.exists (tarball): raise 'no such file: ' + tarball
--- a/specs/xpm.py Sun Dec 18 18:11:13 2005 +0100 +++ b/specs/xpm.py Sun Dec 18 18:22:18 2005 +0100 @@ -14,6 +14,11 @@ compression_flag = 'z' return compression_flag + +# TODO: +# +# use (G)DBM or similar to maintain package database. +# class Package_manager: def __init__ (self, root): self.root = root