Mercurial > treepkg
comparison recipes/kde_enterprise_3_5/base.py @ 276:f3dee156e3e3
Add pkgbaseversion parameter to the prepare_sources_for_tarball method
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Thu, 07 May 2009 16:01:10 +0000 |
parents | c0cbd133b607 |
children | d2382953b2c8 |
comparison
equal
deleted
inserted
replaced
275:c0cbd133b607 | 276:f3dee156e3e3 |
---|---|
26 | 26 |
27 def determine_package_version(self, directory): | 27 def determine_package_version(self, directory): |
28 enterprise_version = self.enterprise_version | 28 enterprise_version = self.enterprise_version |
29 return self.track.version_template % locals() | 29 return self.track.version_template % locals() |
30 | 30 |
31 def prepare_sources_for_tarball(self, pkgbasedir): | 31 def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion): |
32 self.update_version_numbers(pkgbasedir) | 32 self.update_version_numbers(pkgbasedir) |
33 | 33 |
34 def update_version_numbers(self, pkgbasedir): | 34 def update_version_numbers(self, pkgbasedir): |
35 """Updates the version numbers in the code in pkgbasedir. | 35 """Updates the version numbers in the code in pkgbasedir. |
36 The default implementation does nothing. Derived classes should | 36 The default implementation does nothing. Derived classes should |