From owner-svn-ports-all@freebsd.org Mon Feb 18 18:46:36 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 07A7014E8051; Mon, 18 Feb 2019 18:46:36 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C16780894; Mon, 18 Feb 2019 18:46:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 905139DD9; Mon, 18 Feb 2019 18:46:35 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1IIkZl7069824; Mon, 18 Feb 2019 18:46:35 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1IIkYjC069820; Mon, 18 Feb 2019 18:46:34 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201902181846.x1IIkYjC069820@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 18 Feb 2019 18:46:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493310 - in head/math: . py-grandalf X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . py-grandalf X-SVN-Commit-Revision: 493310 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9C16780894 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2019 18:46:36 -0000 Author: yuri Date: Mon Feb 18 18:46:34 2019 New Revision: 493310 URL: https://svnweb.freebsd.org/changeset/ports/493310 Log: New port: math/py-grandalf: Graph experimentation and drawing algorithms framework Added: head/math/py-grandalf/ head/math/py-grandalf/Makefile (contents, props changed) head/math/py-grandalf/distinfo (contents, props changed) head/math/py-grandalf/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Mon Feb 18 18:35:21 2019 (r493309) +++ head/math/Makefile Mon Feb 18 18:46:34 2019 (r493310) @@ -717,6 +717,7 @@ SUBDIR += py-gmpy SUBDIR += py-gmpy2 SUBDIR += py-gnuplot + SUBDIR += py-grandalf SUBDIR += py-graphillion SUBDIR += py-igakit SUBDIR += py-igraph Added: head/math/py-grandalf/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-grandalf/Makefile Mon Feb 18 18:46:34 2019 (r493310) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= grandalf +PORTVERSION= 0.6 +CATEGORIES= math graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Graph experimentation and drawing algorithms framework + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyparsing>0:devel/py-pyparsing@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +.include Added: head/math/py-grandalf/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-grandalf/distinfo Mon Feb 18 18:46:34 2019 (r493310) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550515145 +SHA256 (grandalf-0.6.tar.gz) = 7471db231bd7338bc0035b16edf0dc0c900c82d23060f4b4d0c4304caedda6e4 +SIZE (grandalf-0.6.tar.gz) = 36699 Added: head/math/py-grandalf/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-grandalf/pkg-descr Mon Feb 18 18:46:34 2019 (r493310) @@ -0,0 +1,17 @@ +Grandalf is a python package made for experimentations with graphs and drawing +algorithms. It is written in pure python, and implements two layouts: the +Sugiyama hierarchical layout and the force-driven or energy minimization +approach. While not as fast or featured as _graphviz_ or other libraries like +_OGDF_ (C++), _GDToolkit_ (C), _tulip_ (Java), it provides a way to draw and +navigate graphs no larger than thousands of nodes, while keeping the source code +simple enough to make it possible to easily tweak and hack any part of it for +experimental purpose. With a total of about 1500 lines of python, the code +involved in drawing the Sugiyama (dot) layout fits in less than 600 lines. +The energy minimization approach is comprised of only 250 lines! + +Grandalf does only two not-so-simple things: +* computing the nodes (x,y) coordinates (based on provided nodes dimensions, and + a chosen layout) +* routing the edges with lines or nurbs + +WWW: https://github.com/bdcht/grandalf