comparison 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
comparison
equal deleted inserted replaced
270:e5e23c3acaea 271:12facd1b5f19
1 # Copyright (C) 2007, 2008 by Intevation GmbH 1 # Copyright (C) 2007, 2008, 2009 by Intevation GmbH
2 # Authors: 2 # Authors:
3 # Bernhard Herzog <bh@intevation.de> 3 # Bernhard Herzog <bh@intevation.de>
4 # 4 #
5 # This program is free software under the GPL (>=v2) 5 # This program is free software under the GPL (>=v2)
6 # Read the file COPYING coming with the software for details. 6 # Read the file COPYING coming with the software for details.
13 import treepkg.packager 13 import treepkg.packager
14 import treepkg.util 14 import treepkg.util
15 import treepkg.run as run 15 import treepkg.run as run
16 from treepkg.cmdexpand import cmdexpand 16 from treepkg.cmdexpand import cmdexpand
17 17
18 import base
18 19
19 class SourcePackager(treepkg.packager.SourcePackager): 20 class SourcePackager(treepkg.packager.SourcePackager):
20 21
21 """Creates the debian source package for the i18n files 22 """Creates the debian source package for the i18n files
22 23
123 class RevisionPackager(treepkg.packager.RevisionPackager): 124 class RevisionPackager(treepkg.packager.RevisionPackager):
124 125
125 source_packager_cls = SourcePackager 126 source_packager_cls = SourcePackager
126 127
127 128
128 class PackageTrack(treepkg.packager.PackageTrack): 129 class PackageTrack(base.BasePackageTrack):
129 130
130 revision_packager_cls = RevisionPackager 131 revision_packager_cls = RevisionPackager
131 132
132 svn_external_subdirs = ["scripts", "scripts/admin", "documentation/kdepim"] 133 svn_external_subdirs = ["scripts", "scripts/admin", "documentation/kdepim"]
133 134
134 extra_config_desc = ["orig_tarball"] 135 extra_config_desc = base.BasePackageTrack.extra_config_desc \
136 + ["orig_tarball"]
135 137
136 def __init__(self, *args, **kw): 138 def __init__(self, *args, **kw):
137 self.orig_tarball = kw.pop("orig_tarball") 139 self.orig_tarball = kw.pop("orig_tarball")
138 super(PackageTrack, self).__init__(*args, **kw) 140 super(PackageTrack, self).__init__(*args, **kw)
139 141
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)