Index: head/MOVED =================================================================== --- head/MOVED +++ head/MOVED @@ -8082,7 +8082,6 @@ x11-toolkits/py32-tkinter||2016-02-02|Has expired: Full EOL reached. Please update to Python 3.5 sysutils/puppet|sysutils/puppet38|2016-02-05|Renamed devel/etcdctl|devel/etcd|2016-02-06|Has expired: etcdctl is now part of etcd, following the change from the upstream -graphics/py-graphviz|graphics/py-pygraphviz|2016-02-07|Renamed to match upstream (PyPI) name security/polarssl||2016-02-07|Has expired: Upstream is ending support for 1.2.x multimedia/xbmc-addon-pvr||2016-02-12|Has expired: Does not work with multimedia/kodi 15.x and newer security/py-openid|security/py-python-openid|2016-02-13|Renamed to match upstream (PyPI) name Index: head/graphics/Makefile =================================================================== --- head/graphics/Makefile +++ head/graphics/Makefile @@ -862,6 +862,7 @@ SUBDIR += py-graph SUBDIR += py-graph-core SUBDIR += py-graph-dot + SUBDIR += py-graphviz SUBDIR += py-graphy SUBDIR += py-gvgen SUBDIR += py-imageio Index: head/graphics/py-graphviz/Makefile =================================================================== --- head/graphics/py-graphviz/Makefile +++ head/graphics/py-graphviz/Makefile @@ -0,0 +1,27 @@ +# Created by: lbartoletti +# $FreeBSD$ + +PORTNAME= graphviz +PORTVERSION= 0.8 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lbartoletti@tuxfamily.org +COMMENT= Simple Python interface for Graphviz + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= dot:graphics/graphviz +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov \ + ${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock + +NO_ARCH= yes +USES= python zip +USE_PYTHON= autoplist concurrent distutils + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} run-tests.py + +.include Index: head/graphics/py-graphviz/distinfo =================================================================== --- head/graphics/py-graphviz/distinfo +++ head/graphics/py-graphviz/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1505065239 +SHA256 (graphviz-0.8.zip) = 889c720d9955b804d56a8e842621558cbb5cbbdd93cbdf55862371311646e344 +SIZE (graphviz-0.8.zip) = 132752 Index: head/graphics/py-graphviz/pkg-descr =================================================================== --- head/graphics/py-graphviz/pkg-descr +++ head/graphics/py-graphviz/pkg-descr @@ -0,0 +1,13 @@ +This package facilitates the creation and rendering of graph descriptions in the +DOT language of the Graphviz graph drawing software (repo) from Python. + +Create a graph object, assemble the graph by adding nodes and edges, and +retrieve its DOT source code string. Save the source code to a file and render +it with the Graphviz installation of your system. + +Use the view option/method to directly inspect the resulting (PDF, PNG, SVG, +etc.) file with its default application. Graphs can also be rendered and +displayed within Jupyter notebooks (a.k.a. IPython notebooks, example) as well +as the Jupyter Qt Console. + +WWW: https://github.com/xflr6/graphviz