[Treepkg-commits] r84 - trunk/recipes/kde_enterprise_3_5
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jun 19 12:13:40 CEST 2008
Author: bernhard
Date: 2008-06-19 12:13:39 +0200 (Thu, 19 Jun 2008)
New Revision: 84
Modified:
trunk/recipes/kde_enterprise_3_5/kdepim.py
Log:
Changed matching string enterprise->enterprise35, so it matches
again the version strings in all three files, necessary
since kdesvn r816025 | pradeepto | 2008-06-03 06:45:13 +0200 (Di, 03 Jun 2008)Cosmetics.
Modified: trunk/recipes/kde_enterprise_3_5/kdepim.py
===================================================================
--- trunk/recipes/kde_enterprise_3_5/kdepim.py 2008-06-17 18:06:21 UTC (rev 83)
+++ trunk/recipes/kde_enterprise_3_5/kdepim.py 2008-06-19 10:13:39 UTC (rev 84)
@@ -5,7 +5,8 @@
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with the software for details.
-"""Packager that builds KDE-PIM debian packages from the enterprise branch"""
+"""Packager that builds KDE-PIM debian packages from the enterprise35 branch.
+"""
import os
import time
@@ -41,11 +42,12 @@
def update_version_numbers(self, pkgbasedir):
"""Overrides the inherited method to update version numbers in the code
"""
- versionstring = "(enterprise %s)" % self.enterprise_version
+ versionstring = "(enterprise35 %s)" % self.enterprise_version
for versionfile in ["kmail/kmversion.h", "kontact/src/main.cpp",
"korganizer/version.h"]:
+ #FIXME: should check successful replacements
treepkg.util.replace_in_file(os.path.join(pkgbasedir, versionfile),
- "\(enterprise ([^)]*)\)",
+ "\(enterprise35 ([^)]*)\)",
versionstring)
def do_package(self):
@@ -58,7 +60,7 @@
self.create_tarball(origtargz, self.work_dir,
os.path.basename(pkgbasedir))
- changemsg = ("Update to SVN enterprise branch rev. %d"
+ changemsg = ("Update to SVN enterprise35 branch rev. %d"
% (self.revision,))
self.copy_debian_directory(pkgbasedir, pkgbaseversion,
changemsg)
More information about the Treepkg-commits
mailing list