PyGraphviz is a Python interface to the Graphviz graph layout and
visualization package. With PyGraphviz you can create, edit, read,
write, and draw graphs using Python to access the Graphviz graph
data structure and layout algorithms.
WWW: http://pygraphviz.github.io
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 )
Create new port graphics/py3-pygraphviz:
- This is a variant of graphics/py-pygraphviz for Python 3.x.
A separate port is needed until the ports tree gets VARIANTS support.
The science/gramps port will soon be updated to a version which only
supports python3, and it depends on py-pygraphviz with python3.
To allow people to only use packages directly (and not ports),
the package building infrastructure needs to build 2 packages:
py-pygraphviz with python2 and py-pygraphviz with python3.
Since the ports tree doesn't yet have VARIANTS support, this is not
yet possible without making a separate py3-pygraphviz port.
- Ensure graphics/py-pygraphviz does not clobber variables in slave port
- While here, add LICENSE and LICENSE_FILE details to graphics/py-pygraphviz
PR: 207039
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D6281