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.
py-xmldiff hasn't been updated in a long time, but it still gets used.
So time to update it. Current 2.x versions are a rewrite in pure python.
Patches go away. Port moved to use MODPY_PI and MODPY_SETUPTOOLS.
Move it to python3 only since executable is just xmldiff and xmlpatch.
OK landry@
xmldiff is a Python tool that figures out the differences between two
similar XML files, in the same way the diff utility does it.
Xmldiff can be used as a library or as a command line tool. It can work
either with XML files or DOM trees.
ok aja@