mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
New port: ports-mgmt/portgraph: Create a dependencies graph of a(all) port(s)
PR: 225969 Submitted by: lbartoletti@tuxfamily.org
This commit is contained in:
parent
3eb6f25d8c
commit
7aafb41498
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464994
@ -48,6 +48,7 @@
|
||||
SUBDIR += portell
|
||||
SUBDIR += portest
|
||||
SUBDIR += portfind
|
||||
SUBDIR += portgraph
|
||||
SUBDIR += portless
|
||||
SUBDIR += portlint
|
||||
SUBDIR += portmaster
|
||||
|
24
ports-mgmt/portgraph/Makefile
Normal file
24
ports-mgmt/portgraph/Makefile
Normal file
@ -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 <bsd.port.mk>
|
3
ports-mgmt/portgraph/distinfo
Normal file
3
ports-mgmt/portgraph/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1518849908
|
||||
SHA256 (portgraph-0.0.1.tar.gz) = 49ad0700f8c64e3ea4c84201d11b60bfdc09778100abc8b106be36c1f111b6cb
|
||||
SIZE (portgraph-0.0.1.tar.gz) = 1006733
|
8
ports-mgmt/portgraph/pkg-descr
Normal file
8
ports-mgmt/portgraph/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user