Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: math/py-pygraphviz should LIB_DEPEND on math/graphviz
To:
Caspar Schutijser <caspar@schutijser.com>
Cc:
ports@openbsd.org, Lucas Gabriel Vuotto <lucas@sexy.is>
Date:
Tue, 17 Jun 2025 17:31:44 +0100

Download raw body.

Thread
On 2025/06/17 18:24, Caspar Schutijser wrote:
> Hi,
> 
> $ dnsviz print             
> pygraphviz is required, but not installed
> 
> This happens when math/py-pygraphviz is installed but math/graphviz
> isn't.
> /usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so
> needs libraries provided by math/graphviz at runtime too, not just at
> buildtime.
> 
> I think this is the way to fix it.
> 
> Comments or OKs?

$ make port-lib-depends-check

py3-pygraphviz-1.14(math/py-pygraphviz):
Missing lib: cdt.3 (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) (NOT REACHABLE)
Missing lib: cgraph.2 (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) (NOT REACHABLE)
Missing lib: gvc.3 (/usr/local/lib/python3.12/site-packages/pygraphviz/_graphviz.cpython-312.so) (NOT REACHABLE)

ok.

(tests are broken too.)