[Treepkg-commits] r202 - in trunk: recipes/kde_enterprise_3_5 recipes/kde_enterprise_4 treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Thu May 7 18:01:10 CEST 2009


Author: bh
Date: 2009-05-07 18:01:10 +0200 (Thu, 07 May 2009)
New Revision: 202

Modified:
   trunk/recipes/kde_enterprise_3_5/base.py
   trunk/recipes/kde_enterprise_4/base.py
   trunk/treepkg/packager.py
Log:
Add pkgbaseversion parameter to the prepare_sources_for_tarball method


Modified: trunk/recipes/kde_enterprise_3_5/base.py
===================================================================
--- trunk/recipes/kde_enterprise_3_5/base.py	2009-05-07 15:35:28 UTC (rev 201)
+++ trunk/recipes/kde_enterprise_3_5/base.py	2009-05-07 16:01:10 UTC (rev 202)
@@ -28,7 +28,7 @@
         enterprise_version = self.enterprise_version
         return self.track.version_template % locals()
 
-    def prepare_sources_for_tarball(self, pkgbasedir):
+    def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion):
         self.update_version_numbers(pkgbasedir)
 
     def update_version_numbers(self, pkgbasedir):

Modified: trunk/recipes/kde_enterprise_4/base.py
===================================================================
--- trunk/recipes/kde_enterprise_4/base.py	2009-05-07 15:35:28 UTC (rev 201)
+++ trunk/recipes/kde_enterprise_4/base.py	2009-05-07 16:01:10 UTC (rev 202)
@@ -29,7 +29,7 @@
         enterprise_version = self.enterprise_version
         return self.track.version_template % locals()
 
-    def prepare_sources_for_tarball(self, pkgbasedir):
+    def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion):
         self.update_version_numbers(pkgbasedir)
 
     def update_version_numbers(self, pkgbasedir):

Modified: trunk/treepkg/packager.py
===================================================================
--- trunk/treepkg/packager.py	2009-05-07 15:35:28 UTC (rev 201)
+++ trunk/treepkg/packager.py	2009-05-07 16:01:10 UTC (rev 202)
@@ -84,7 +84,7 @@
         return pkgbaseversion, pkgbasedir
 
 
-    def prepare_sources_for_tarball(self, pkgbasedir):
+    def prepare_sources_for_tarball(self, pkgbasedir, pkgbaseversion):
         """Prepare the exported sources prior to creating the tarball.
 
         The default implementation does nothing.  Derived classes should
@@ -201,7 +201,7 @@
         origtargz = os.path.join(self.work_dir,
                                  pkgbasename + ".orig.tar.gz")
 
-        self.prepare_sources_for_tarball(pkgbasedir)
+        self.prepare_sources_for_tarball(pkgbasedir, pkgbaseversion)
 
         self.create_tarball(origtargz, self.work_dir,
                             os.path.basename(pkgbasedir))



More information about the Treepkg-commits mailing list