Mercurial > treepkg
comparison recipes/kde_enterprise_4/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 | 2676abfc0e1d |
children | 354fc60d90a4 |
comparison
equal
deleted
inserted
replaced
275:c0cbd133b607 | 276:f3dee156e3e3 |
---|---|
27 | 27 |
28 def determine_package_version(self, directory): | 28 def determine_package_version(self, directory): |
29 enterprise_version = self.enterprise_version | 29 enterprise_version = self.enterprise_version |
30 return self.track.version_template % locals() | 30 return self.track.version_template % locals() |
31 | 31 |
32 def prepare_sources_for_tarball(self, pkgbasedir): | 32 def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion): |
33 self.update_version_numbers(pkgbasedir) | 33 self.update_version_numbers(pkgbasedir) |
34 | 34 |
35 def update_version_numbers(self, pkgbasedir): | 35 def update_version_numbers(self, pkgbasedir): |
36 """Updates the version numbers in the code in pkgbasedir. | 36 """Updates the version numbers in the code in pkgbasedir. |
37 The default implementation does nothing. Derived classes should | 37 The default implementation does nothing. Derived classes should |