This module uses ctypes to access the libmagic file type identification
library. It makes use of the local magic database and supports both
textual and MIME-type output.
WWW: https://github.com/ahupp/python-magic
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
devel/py3-python-magic Add Python 3.x version of port
Add a Python 3.x sub-port of py-python-magic, in order for a port of the
Debian diffoscope project to be created, which is Python 3 only. This
(py3-*) hack^W workaround ensures a py3x-* package can be created by
default.
Requested by: emaste, bapt (for diffoscope, reproducible builds)