Mercurial > treepkg
comparison recipes/kde_enterprise_3_5/kde_i18n.py @ 285:bfcb6bef7f58
kde-i18n recipe: Use the enterprise_version already provided by the base
class.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 04 Aug 2009 10:30:48 +0000 |
parents | 860bb7269caa |
children | 433a49cacefc |
comparison
equal
deleted
inserted
replaced
284:860bb7269caa | 285:bfcb6bef7f58 |
---|---|
42 """ | 42 """ |
43 | 43 |
44 pkg_basename = "kde-i18n" | 44 pkg_basename = "kde-i18n" |
45 | 45 |
46 def determine_package_version(self, directory): | 46 def determine_package_version(self, directory): |
47 enterprise_version = (time.strftime("%Y%m%d", time.localtime()) \ | 47 enterprise_version = self.enterprise_version |
48 + "." + str(self.revision)) | |
49 kdepimversion = "3.5.5" | 48 kdepimversion = "3.5.5" |
50 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s" | 49 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s" |
51 return version_template % locals() | 50 return version_template % locals() |
52 | 51 |
53 def unpack_orig_tarball(self): | 52 def unpack_orig_tarball(self): |