Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Sep 2017 11:32:27 +0000 (UTC)
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449993 - in head: . graphics graphics/py-graphviz
Message-ID:  <201709171132.v8HBWRcU019171@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbaio
Date: Sun Sep 17 11:32:27 2017
New Revision: 449993
URL: https://svnweb.freebsd.org/changeset/ports/449993

Log:
  Add graphics/py-graphviz, simple Python interface for Graphviz
  
  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
  
  Already existed a port named graphics/py-graphviz, it was moved in
  ports r408353 to graphics/py-pygraphviz because it was using an
  incorrect name. More info in the commit log [1].
  
  1 - https://svnweb.freebsd.org/ports?view=revision&revision=408353
  
  PR:		222205
  Submitted by:	lbartoletti@tuxfamily.org
  Reviewed by:	koobs
  Differential Revision:	D12319

Added:
  head/graphics/py-graphviz/
  head/graphics/py-graphviz/Makefile   (contents, props changed)
  head/graphics/py-graphviz/distinfo   (contents, props changed)
  head/graphics/py-graphviz/pkg-descr   (contents, props changed)
Modified:
  head/MOVED
  head/graphics/Makefile

Modified: head/MOVED
==============================================================================
--- head/MOVED	Sun Sep 17 11:10:45 2017	(r449992)
+++ head/MOVED	Sun Sep 17 11:32:27 2017	(r449993)
@@ -8082,7 +8082,6 @@ databases/py32-sqlite3||2016-02-02|Has expired: Full E
 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

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Sun Sep 17 11:10:45 2017	(r449992)
+++ head/graphics/Makefile	Sun Sep 17 11:32:27 2017	(r449993)
@@ -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

Added: head/graphics/py-graphviz/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-graphviz/Makefile	Sun Sep 17 11:32:27 2017	(r449993)
@@ -0,0 +1,27 @@
+# Created by: lbartoletti <lbartoletti@tuxfamily.org>
+# $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 <bsd.port.mk>

Added: head/graphics/py-graphviz/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-graphviz/distinfo	Sun Sep 17 11:32:27 2017	(r449993)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1505065239
+SHA256 (graphviz-0.8.zip) = 889c720d9955b804d56a8e842621558cbb5cbbdd93cbdf55862371311646e344
+SIZE (graphviz-0.8.zip) = 132752

Added: head/graphics/py-graphviz/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/py-graphviz/pkg-descr	Sun Sep 17 11:32:27 2017	(r449993)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709171132.v8HBWRcU019171>