Mercurial > treepkg
comparison enterprise/kdei18n.py @ 9:16689c948bbc
Rename the instance variable plant to pkg_line in some classes
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Fri, 09 Mar 2007 15:02:41 +0100 |
parents | 574506a022f6 |
children | f7f89548a2a6 |
comparison
equal
deleted
inserted
replaced
8:574506a022f6 | 9:16689c948bbc |
---|---|
47 kdepimversion = "3.5.5" | 47 kdepimversion = "3.5.5" |
48 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s" | 48 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s" |
49 return version_template % locals() | 49 return version_template % locals() |
50 | 50 |
51 def unpack_orig_tarball(self): | 51 def unpack_orig_tarball(self): |
52 orig_tarball = self.plant.orig_tarball | 52 orig_tarball = self.pkg_line.orig_tarball |
53 run.call(["tar", "xjf", orig_tarball, "-C", self.work_dir]) | 53 run.call(["tar", "xjf", orig_tarball, "-C", self.work_dir]) |
54 tarbasename = os.path.basename(orig_tarball) | 54 tarbasename = os.path.basename(orig_tarball) |
55 splitext = os.path.splitext | 55 splitext = os.path.splitext |
56 return os.path.join(self.work_dir, | 56 return os.path.join(self.work_dir, |
57 splitext(splitext(tarbasename)[0])[0]) | 57 splitext(splitext(tarbasename)[0])[0]) |