print prefix, 'package is in', section.split('/')[0]
return False
src = apt.apt_pkg.TagSection(sr.record)
if src['Section'].startswith('universe') or src['Section'].startswith('multiverse'):
print prefix, 'binary and source package is in', section.split('/')[0]
return False
else:
print prefix, 'is in', section.split('/')[0] + ', but its source', pkg.candidate.source_name, 'is already in main; file an ubuntu-archive bug for promoting the current preferred alternative'
return True
if alt:
print prefix, 'is already in main; consider preferring it'
return True
#
# main
#
if not os.path.exists('debian/control'):
print >> sys.stderr, 'debian/control not found. You need to run this tool in a source package directory'
sys.exit(1)
print 'Checking support status of build dependencies...'
print '\nPlease check https://wiki.ubuntu.com/MainInclusionProcess if this source package needs to get into in main/restricted, or reconsider if the package really needs above dependencies.'