Mercurial > treepkg
comparison recipes/kde/maemo/generic.py @ 368:8bb8d8de12a2
maemo_version is now <PKG_DATE>.<REVISION>
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Mon, 31 May 2010 12:16:04 +0000 |
parents | b9c7e05aa3d9 |
children |
comparison
equal
deleted
inserted
replaced
367:fb92f3c1b238 | 368:8bb8d8de12a2 |
---|---|
21 | 21 |
22 def __init__(self, *args, **kw): | 22 def __init__(self, *args, **kw): |
23 super(SourcePackager, self).__init__(*args, **kw) | 23 super(SourcePackager, self).__init__(*args, **kw) |
24 self.enterprise_version = (self.parent.pkg_date + "." | 24 self.enterprise_version = (self.parent.pkg_date + "." |
25 + str(self.revision)) | 25 + str(self.revision)) |
26 self.maemo_version = "%s.%s" % (self.revision, | 26 self.maemo_version = "%s.%s" % (self.parent.pkg_date, |
27 self.parent.pkg_date) | 27 self.revision) |
28 | 28 |
29 def determine_package_version(self, directory): | 29 def determine_package_version(self, directory): |
30 enterprise_version = self.enterprise_version | 30 enterprise_version = self.enterprise_version |
31 maemo_version = self.maemo_version | 31 maemo_version = self.maemo_version |
32 revision = self.revision | 32 revision = self.revision |