Source

appliancekit-ng / ak-compile

Full commit
1
2
3
4
5
6
7
8
#!/usr/bin/env python

from appliancekit.compiler import compile
import json

data = compile('/debian-irssi.spec', phases=['bootstrap', 'packages', 'custom', 'cleanup'])
print json.dumps(data, indent=1)