the python shebangfix currently replaces the shebang with
${LOCALBASE}/bin/python which I feel is not a great solution considering
the "python" command doesn't exist unless the lang/python metaport is installed. Neither are installed
automatically via USES=python.
PYTHON_CMD expands to ${LOCALBASE}/bin/pythonX.Y which seems far more
appropriate and reliable here. I recently fought this issue in
www/varnish4 and had to override python_CMD in shebangfix to include the
python version number. This seemed cleaner than adding a new
BUILD_DEPENDS on the python metaport.
edit: @mat pointed out I meant lang/python metaport not lang/python{2,3}