From owner-svn-ports-head@freebsd.org Mon Mar 19 07:45:26 2018 Return-Path: Delivered-To: svn-ports-head@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 88051F58A7E; Mon, 19 Mar 2018 07:45:26 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 398FA813E6; Mon, 19 Mar 2018 07:45:26 +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 178143F6B; Mon, 19 Mar 2018 07:45:26 +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 w2J7jP1M027335; Mon, 19 Mar 2018 07:45:25 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2J7jPl5027331; Mon, 19 Mar 2018 07:45:25 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803190745.w2J7jPl5027331@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Mon, 19 Mar 2018 07:45:25 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464994 - in head/ports-mgmt: . portgraph X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/ports-mgmt: . portgraph X-SVN-Commit-Revision: 464994 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Mar 2018 07:45:26 -0000 Author: yuri Date: Mon Mar 19 07:45:25 2018 New Revision: 464994 URL: https://svnweb.freebsd.org/changeset/ports/464994 Log: New port: ports-mgmt/portgraph: Create a dependencies graph of a(all) port(s) PR: 225969 Submitted by: lbartoletti@tuxfamily.org Added: head/ports-mgmt/portgraph/ head/ports-mgmt/portgraph/Makefile (contents, props changed) head/ports-mgmt/portgraph/distinfo (contents, props changed) head/ports-mgmt/portgraph/pkg-descr (contents, props changed) Modified: head/ports-mgmt/Makefile Modified: head/ports-mgmt/Makefile ============================================================================== --- head/ports-mgmt/Makefile Mon Mar 19 07:36:57 2018 (r464993) +++ head/ports-mgmt/Makefile Mon Mar 19 07:45:25 2018 (r464994) @@ -48,6 +48,7 @@ SUBDIR += portell SUBDIR += portest SUBDIR += portfind + SUBDIR += portgraph SUBDIR += portless SUBDIR += portlint SUBDIR += portmaster Added: head/ports-mgmt/portgraph/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/portgraph/Makefile Mon Mar 19 07:45:25 2018 (r464994) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= portgraph +PORTVERSION= 0.0.1 +CATEGORIES= ports-mgmt python +MASTER_SITES= CHEESESHOP + +MAINTAINER= lbartoletti@tuxfamily.org +COMMENT= Create a dependencies graph of a(all) port(s) + +LICENSE= BSD2CLAUSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graphviz>=0.8.2:graphics/py-graphviz@${PY_FLAVOR} + +USES= python:3.4+ +USE_PYTHON= distutils autoplist noflavors +NO_ARCH= yes + +post-patch: + @${REINPLACE_CMD} \ + -e 's|/usr/ports|${PORTSDIR}| ; s|ports-mgmt/py-portgraph|ports-mgmt/portgraph|' \ + ${WRKSRC}/portgraph/portgraph.py + +.include Added: head/ports-mgmt/portgraph/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/portgraph/distinfo Mon Mar 19 07:45:25 2018 (r464994) @@ -0,0 +1,3 @@ +TIMESTAMP = 1518849908 +SHA256 (portgraph-0.0.1.tar.gz) = 49ad0700f8c64e3ea4c84201d11b60bfdc09778100abc8b106be36c1f111b6cb +SIZE (portgraph-0.0.1.tar.gz) = 1006733 Added: head/ports-mgmt/portgraph/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/ports-mgmt/portgraph/pkg-descr Mon Mar 19 07:45:25 2018 (r464994) @@ -0,0 +1,8 @@ +Started from an idea on twitter and used to reduce the dependencies of a port, +here is a python script to produce dependencies' graph of a(ll) FreeBSD port(s). + +'portgraph' produces a graph (.dot and svg) representing the dependencies needed +for a given port or all ports thanks to graphviz and the power of make +{build,run}-depends-list. + +WWW: https://gitlab.com/lbartoletti/portgraph