Weird: the byobu port doesn't mention that it uses python. But you're right, the contents of byobu-config
(aside from comments) are just:
PKG="byobu"
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="/opt/local" || export BYOBU_PREFIX
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"
${BYOBU_PYTHON} "${BYOBU_PREFIX}/lib/${PKG}/include/config.py"
So the byobu port should declare a library dependency on whatever newest version of python it is compatible with and the build process should ensure that that version of python is used.
You can use pip
to install modules for your own use in your own user directories (e.g. in a virtualenv) but shouldn't use it to try to install things into the system (MacPorts) directories.