diff recipes/kde_enterprise_3_5/kde_i18n.py @ 271:12facd1b5f19

Implement tag detection for the KDEPIM enterprise 3.5 packages. This is a simple port of the implementation for the enterprise 4 branch. This change leads to a lot of duplicated code that needs to be refactored.
author Bernhard Herzog <bh@intevation.de>
date Thu, 07 May 2009 13:51:21 +0000
parents d7b3dac63ad0
children 4441aff001ac
line wrap: on
line diff
--- a/recipes/kde_enterprise_3_5/kde_i18n.py	Wed May 06 14:00:51 2009 +0000
+++ b/recipes/kde_enterprise_3_5/kde_i18n.py	Thu May 07 13:51:21 2009 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 2007, 2008 by Intevation GmbH
+# Copyright (C) 2007, 2008, 2009 by Intevation GmbH
 # Authors:
 # Bernhard Herzog <bh@intevation.de>
 #
@@ -15,6 +15,7 @@
 import treepkg.run as run
 from treepkg.cmdexpand import cmdexpand
 
+import base
 
 class SourcePackager(treepkg.packager.SourcePackager):
 
@@ -125,13 +126,14 @@
     source_packager_cls = SourcePackager
 
 
-class PackageTrack(treepkg.packager.PackageTrack):
+class PackageTrack(base.BasePackageTrack):
 
     revision_packager_cls = RevisionPackager
 
     svn_external_subdirs = ["scripts", "scripts/admin", "documentation/kdepim"]
 
-    extra_config_desc = ["orig_tarball"]
+    extra_config_desc = base.BasePackageTrack.extra_config_desc \
+                        + ["orig_tarball"]
 
     def __init__(self, *args, **kw):
         self.orig_tarball = kw.pop("orig_tarball")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)