Changes

Jump to: navigation, search

Debian

87 bytes added, 13:38, 25 March 2013
m
Build
description = 'distutils command to create debian harmattan binary package'
user_options = [ ("aegis-manifest=", None, 'aegis manifest to use') ]# MeeGo 1.2 stuff ???
boolean_options = []
# inject custom logic to dh_builddeb (build digsigsums before and add aegis manifest after)
# MeeGo 1.2 ???
DEBNAME = self.distribution.get_name()+'_'+self.distribution.get_version()+'*_all.deb'
rules = open(target_dir+'/debian/rules', 'a')
rules.write('override_dh_builddeb:\n\tpython ../../digsigsums.py '+self.distribution.get_name()+\
'\n\tdh_builddeb')
if self.aegis_manifest is not None:# MeeGo 1.2 ???
rules.write('\n\tar q ../'+DEBNAME+' _aegis')
rules.close()
# make aegis manifest avaiable to debian/rules # MeeGo 1.2 ???
if self.aegis_manifest is not None:
copy(self.aegis_manifest, target_dir+'/_aegis')

Navigation menu