tools (pdftops, pstoedit) while there. ok tb@
rename the setuptools-compatible setup script so that it can be built as
a normal Python port via MODPY_PYBUILD; the previous method of running a
script to generate and install just the .egg file won't work with future
versions of setuptools.
issue with newer setuptools found by tb when bulk-testing.
site-packages/__pycache__/site.cpython-38.pyc is no longer created. not
found in setuptools test build because dxf2gcode doesn't register a
build dependency on setuptools; I've added that with BUILD_DEPENDS (it's
not a typical setuptools port). drop obsolete code dealing with -3 suffix
on py3 binaries while there.
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.