Mercurial > treepkg
comparison recipes/kde/enterprise/kde_l10n_tags.py @ 500:9ec15ae12a0f
enterprise tags has no source and binary packager anymore
author | Bjoern Ricks <bricks@intevation.de> |
---|---|
date | Wed, 20 Oct 2010 14:36:45 +0000 |
parents | 51c447a6792e |
children |
comparison
equal
deleted
inserted
replaced
499:e44c9c3f69f8 | 500:9ec15ae12a0f |
---|---|
12 import time | 12 import time |
13 | 13 |
14 import treepkg.util | 14 import treepkg.util |
15 | 15 |
16 import recipes.kde.enterprise.tags as tags | 16 import recipes.kde.enterprise.tags as tags |
17 import recipes.kde.enterprise.generic as enterprise | |
17 | 18 |
18 | 19 class SourcePackager(enterprise.SourcePackager): |
19 class SourcePackager(tags.SourcePackager): | |
20 | 20 |
21 """Creates the debian source package for the l10n files | 21 """Creates the debian source package for the l10n files |
22 | 22 |
23 This is a bit more complicated than for other packages. The | 23 This is a bit more complicated than for other packages. The |
24 orig.tar.gz file of the debian source package contains one .tar.bz2 | 24 orig.tar.gz file of the debian source package contains one .tar.bz2 |
85 os.mkdir(pkgbasedir) | 85 os.mkdir(pkgbasedir) |
86 os.rename(de_tarball, | 86 os.rename(de_tarball, |
87 os.path.join(pkgbasedir, os.path.basename(de_tarball))) | 87 os.path.join(pkgbasedir, os.path.basename(de_tarball))) |
88 | 88 |
89 | 89 |
90 class RevisionPackager(tags.RevisionPackager): | 90 class RevisionPackager(enterprise.RevisionPackager): |
91 | 91 |
92 source_packager_cls = SourcePackager | 92 source_packager_cls = SourcePackager |
93 | 93 |
94 | 94 |
95 class PackageTrack(tags.PackageTrack): | 95 class PackageTrack(tags.PackageTrack): |