[Treepkg-commits] r215 - trunk/recipes/kde_enterprise_3_5

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Sep 9 18:36:24 CEST 2009


Author: bh
Date: 2009-09-09 18:36:23 +0200 (Wed, 09 Sep 2009)
New Revision: 215

Modified:
   trunk/recipes/kde_enterprise_3_5/kde_i18n.py
Log:
Avoid hard-coding the kde version: Do not override the
determine_package_version method of the BaseSourcePackager so that the
user can configure the version_template in the config file.


Modified: trunk/recipes/kde_enterprise_3_5/kde_i18n.py
===================================================================
--- trunk/recipes/kde_enterprise_3_5/kde_i18n.py	2009-09-01 13:46:28 UTC (rev 214)
+++ trunk/recipes/kde_enterprise_3_5/kde_i18n.py	2009-09-09 16:36:23 UTC (rev 215)
@@ -43,12 +43,6 @@
 
     pkg_basename = "kde-i18n"
 
-    def determine_package_version(self, directory):
-        enterprise_version = self.enterprise_version
-        kdepimversion = "3.5.5"
-        version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s"
-        return version_template % locals()
-
     def unpack_orig_tarball(self):
         orig_tarball = self.track.orig_tarball
         run.call(cmdexpand("tar xjf $tarball -C $directory",



More information about the Treepkg-commits mailing list