Bug 225969

Summary: [NEW PORT] ports-mgmt/py-portgraph: Create a dependencies graph of a(all) port(s)
Product: Ports & Packages Reporter: Loïc Bartoletti <lbartoletti>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me CC: yuri
Priority: --- Keywords: easy, patch-ready
Version: LatestFlags: lbartoletti: maintainer-feedback+
Hardware: Any   
OS: Any   
URL: https://gitlab.com/lbartoletti/portgraph
Attachments:
Description Flags
py-portgraph lbartoletti: maintainer-approval+

Description Loïc Bartoletti freebsd_committer 2018-02-17 07:28:21 UTC
Created attachment 190713 [details]
py-portgraph

Started from an idea on twitter and used to reduce the dependencies of a port, here 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.

--
Poudriere 10/11 i386/amd64 OK
Portlint -Nabt OK
As I'm the author of this script, I obviously tested it :)
Comment 1 Yuri Victorovich freebsd_committer 2018-03-19 07:45:30 UTC
Committed as ports-mgmt/portgraph.
Thank you for your contribution!
Comment 2 commit-hook freebsd_committer 2018-03-19 07:45:53 UTC
A commit references this bug:

Author: yuri
Date: Mon Mar 19 07:45:26 UTC 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

Changes:
  head/ports-mgmt/Makefile
  head/ports-mgmt/portgraph/
  head/ports-mgmt/portgraph/Makefile
  head/ports-mgmt/portgraph/distinfo
  head/ports-mgmt/portgraph/pkg-descr