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 )
textproc/py3-chardet: Convert to slave port
The last update to www/py-requests [1] requires chardet >= 3.0.2. This commit
resulted in pkg-fallout notifications for the www/py3-requests port indicating
that the dependency version could not be satisfied:
py36-requests-2.17.3 depends on package: py36-chardet>=3.0.2 - not found
The textproc/py-chardet port version is 3.0.2, satisfying the dependency
and its minimum version requirement, but the textproc/py3-chardet port version
is 2.3.0. This is due to the py3-chardet being a copy of, not a slave of, and
inheriting values from py-chardet.
py3-foo ports are currently a workaround, used to provide Python 3.x versions of
dependencies for those ports that are built with Python 3.x.
(Only the first 15 lines of the commit message are shown above )
[NEW] textproc/py3-chardet: Universal encoding detector for Python 3
- Python3 specific version for textproc/py-chardet
Character encoding auto-detection in Python.
WWW: https://github.com/chardet/chardet/