comparison recipes/kde/enterprise/kde_l10n.py @ 496:d85af9a6c93a

SourcePackage in kde_l10n recipe super(SourcePackager, self).determine_package_version(directory, locals()) to resolve upsteam_version variable
author Bjoern Ricks <bricks@intevation.de>
date Fri, 15 Oct 2010 15:24:45 +0000
parents 51c447a6792e
children e44c9c3f69f8
comparison
equal deleted inserted replaced
495:ca95be9d033a 496:d85af9a6c93a
67 revision = self.revision 67 revision = self.revision
68 rules_revision = self.parent.rules_revision 68 rules_revision = self.parent.rules_revision
69 pkg_revision = self.parent.pkg_revision 69 pkg_revision = self.parent.pkg_revision
70 pkg_date = self.parent.pkg_date 70 pkg_date = self.parent.pkg_date
71 71
72 return self.track.version_template % locals() 72 return super(SourcePackager, self).determine_package_version($
73 directory, locals())
73 74
74 def create_l10n_de_tarball(self, pkgbasedir, pkgbaseversion): 75 def create_l10n_de_tarball(self, pkgbasedir, pkgbaseversion):
75 logging.info("Creating kde-l10n-de tarball") 76 logging.info("Creating kde-l10n-de tarball")
76 de_tarball = os.path.join(self.work_dir, 77 de_tarball = os.path.join(self.work_dir,
77 "kde-l10n-de-" + pkgbaseversion + ".tar.bz2") 78 "kde-l10n-de-" + pkgbaseversion + ".tar.bz2")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)