[Treepkg-commits] r140 - trunk/recipes/kde_enterprise_4
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Dec 18 15:31:59 CET 2008
Author: bh
Date: 2008-12-18 15:31:58 +0100 (Thu, 18 Dec 2008)
New Revision: 140
Modified:
trunk/recipes/kde_enterprise_4/kdepim.py
Log:
Activate version number patching for KDEPIM enterprise4 packages.
Modified: trunk/recipes/kde_enterprise_4/kdepim.py
===================================================================
--- trunk/recipes/kde_enterprise_4/kdepim.py 2008-11-28 15:36:10 UTC (rev 139)
+++ trunk/recipes/kde_enterprise_4/kdepim.py 2008-12-18 14:31:58 UTC (rev 140)
@@ -32,14 +32,15 @@
def update_version_numbers(self, pkgbasedir):
"""Overrides the inherited method to update version numbers in the code
"""
- return
- versionstring = "(enterprise35 %s)" % self.enterprise_version
+ versionstring = "(enterprise4 %s)" % self.enterprise_version
failed = []
- for versionfile in ["kmail/kmversion.h", "kontact/src/main.cpp",
+ for versionfile in ["kaddressbook/kabcore.cpp",
+ "kmail/kmversion.h",
+ "kontact/src/main.cpp",
"korganizer/version.h"]:
if not treepkg.util.replace_in_file(os.path.join(pkgbasedir,
versionfile),
- "\(enterprise35 ([^)]*)\)",
+ "\(enterprise4 ([^)]*)\)",
versionstring):
failed.append(versionfile)
if failed:
More information about the Treepkg-commits
mailing list