comparison enterprise/kdei18n.py @ 55:6b5f7f7575f6

merge
author Bernhard Herzog <bh@intevation.de>
date Tue, 10 Apr 2007 12:07:39 +0200
parents 3e610233ccfe 74cd21b6400b
children fb5332a286cf
comparison
equal deleted inserted replaced
51:e1028211d34b 55:6b5f7f7575f6
48 kdepimversion = "3.5.5" 48 kdepimversion = "3.5.5"
49 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s" 49 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s"
50 return version_template % locals() 50 return version_template % locals()
51 51
52 def unpack_orig_tarball(self): 52 def unpack_orig_tarball(self):
53 orig_tarball = self.pkg_line.orig_tarball 53 orig_tarball = self.track.orig_tarball
54 run.call(cmdexpand("tar xjf $tarball -C $directory", 54 run.call(cmdexpand("tar xjf $tarball -C $directory",
55 tarball=orig_tarball, directory=self.work_dir)) 55 tarball=orig_tarball, directory=self.work_dir))
56 tarbasename = os.path.basename(orig_tarball) 56 tarbasename = os.path.basename(orig_tarball)
57 splitext = os.path.splitext 57 splitext = os.path.splitext
58 return os.path.join(self.work_dir, 58 return os.path.join(self.work_dir,
123 class RevisionPackager(treepkg.packager.RevisionPackager): 123 class RevisionPackager(treepkg.packager.RevisionPackager):
124 124
125 source_packager_cls = SourcePackager 125 source_packager_cls = SourcePackager
126 126
127 127
128 class PackageLine(treepkg.packager.PackageLine): 128 class PackageTrack(treepkg.packager.PackageTrack):
129 129
130 revision_packager_cls = RevisionPackager 130 revision_packager_cls = RevisionPackager
131 131
132 svn_external_subdirs = ["scripts", "scripts/admin"] 132 svn_external_subdirs = ["scripts", "scripts/admin"]
133 133
134 extra_config_desc = ["orig_tarball"] 134 extra_config_desc = ["orig_tarball"]
135 135
136 def __init__(self, *args, **kw): 136 def __init__(self, *args, **kw):
137 self.orig_tarball = kw.pop("orig_tarball") 137 self.orig_tarball = kw.pop("orig_tarball")
138 super(PackageLine, self).__init__(*args, **kw) 138 super(PackageTrack, self).__init__(*args, **kw)
139 139
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)