if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
This should not be needed because we depend on:
py-distutils-extra -> intltool -> gettext-tools
where this is really used.
But the check for gettext-tools in ports/infrastructure/mk/bsd.port.mk:2650
only checks for direct dependency of the port :-(
Original submission from Laurence Tratt, who takes MAINTAINER -- thanks!
Additional testing from Stefan Hagan and Florian Viehweger.
tweaks and ok sthen@