I am trying to build my debian package using dpkg-buildpackage in automatic manner. This is my workflow:
dpkg-buildpackage || (yes | mk-build-deps -i && dpkg-buildpackage)
This unfortunatelly gives me
dpkg-checkbuilddeps: Unmet build dependencies: python-virtualenv python-dev libssl-dev python-m2crypto virtualenv libffi-dev
I know, I can run add apt-get install
and those packages to my script, but once I change build deps, I have to change the script. Is there any way how to do this automatically?