if you `depends_on :python`, you should remove the quotes around `python`, so
`system python, 'scripts/mk_make.py`.

Make sure this installs the python bindings (if any) into the Cellar, too. There is a wiki Entry about https://github.com/mxcl/homebrew/wiki/Homebrew-and-Python.