[25415] | 1 | #!/usr/bin/python |
---|
| 2 | |
---|
| 3 | #key = '997D6B23' |
---|
| 4 | key = '0D8A9E8F' |
---|
| 5 | |
---|
| 6 | release_info = {'lenny': ('Debian', '5.0'), |
---|
| 7 | 'squeeze': ('Debian', '6.0'), |
---|
| 8 | 'hardy': ('Ubuntu', '8.04'), |
---|
| 9 | 'jaunty': ('Ubuntu', '9.04'), |
---|
| 10 | 'karmic': ('Ubuntu', '9.10'), |
---|
| 11 | 'lucid': ('Ubuntu', '10.04'), |
---|
| 12 | 'maverick': ('Ubuntu', '10.10'), |
---|
| 13 | 'natty': ('Ubuntu', '11.04'), |
---|
| 14 | 'oneiric': ('Ubuntu', '11.10')} |
---|
| 15 | |
---|
| 16 | codenames = ['lenny', 'squeeze', |
---|
| 17 | 'hardy', 'jaunty', 'karmic', 'lucid', 'maverick', 'natty', 'oneiric'] |
---|
| 18 | |
---|
| 19 | releases = ['', '-proposed', '-development'] |
---|
| 20 | |
---|
| 21 | architectures = ['amd64', 'i386'] |
---|
| 22 | |
---|
| 23 | components = ['debathena', |
---|
| 24 | 'debathena-config', |
---|
| 25 | 'debathena-manual-config', |
---|
| 26 | 'debathena-system', |
---|
| 27 | 'openafs'] |
---|
| 28 | |
---|
| 29 | for codename in codenames: |
---|
| 30 | distro, version = release_info[codename] |
---|
| 31 | for release in releases: |
---|
| 32 | print 'Origin: Debathena' |
---|
| 33 | print 'Label: Debathena' |
---|
| 34 | print 'Suite: %s%s' % (codename, release) |
---|
| 35 | print 'Codename: %s%s' % (codename, release) |
---|
| 36 | print 'Version: %s' % version |
---|
| 37 | print 'Architectures: %s source' % ' '.join(architectures) |
---|
| 38 | print 'Components: %s' % ' '.join(components) |
---|
| 39 | print 'Description: Debathena packages for %s %s %s' % (distro, version, codename) |
---|
| 40 | print 'SignWith: 0x%s' % key |
---|
| 41 | print 'Contents: . .gz' |
---|
| 42 | print 'DebIndices: Packages Release . .gz .bz2' |
---|
| 43 | print 'DscIndices: Sources Release . .gz .bz2' |
---|
| 44 | print |
---|