notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-pygraphviz Python interface to GraphViz agraph
1.6 graphics on this many watch lists=3 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.6Version of this port present on the latest quarterly branch.
Maintainer: python@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-02-07 09:44:36
Last Update: 2023-06-27 19:34:34
Commit Hash: 3d9a815
People watching this port, also watch:: libssh, p5-MIME-Tools, noto-tc, linux-c7-atk
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://pygraphviz.github.io
Description:
PyGraphviz is a Python interface to the Graphviz graph layout and visualization package. With PyGraphviz you can create, edit, read, write, and draw graphs using Python to access the Graphviz graph data structure and layout algorithms.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pygraphviz>0:graphics/py-pygraphviz@${PY_FLAVOR}
To install the port:
cd /usr/ports/graphics/py-pygraphviz/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/py-pygraphviz
  • pkg install py39-pygraphviz
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-pygraphviz listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-pygraphviz
Package flavors (<flavor>: <package>)
  • py39: py39-pygraphviz
distinfo:
TIMESTAMP = 1605245581 SHA256 (pygraphviz-1.6.zip) = 411ae84a5bc313e3e1523a1cace59159f512336318a510573b47f824edef8860 SIZE (pygraphviz-1.6.zip) = 117043

Packages (timestamps in pop-ups are UTC):
py37-pygraphviz
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--1.6-----
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-pygraphviz
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly-----1.61.61.6
FreeBSD:14:latest--1.6--1.6-1.6
FreeBSD:14:quarterly-----1.61.61.6
FreeBSD:15:latest--n/a-n/a1.61.61.6
 
py311-pygraphviz
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.61.6-1.61.6---
FreeBSD:13:quarterly1.61.6-1.61.6---
FreeBSD:14:latest1.61.6-1.61.6---
FreeBSD:14:quarterly1.61.6-1.61.6---
FreeBSD:15:latest1.61.6n/a1.6n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. pkgconf>=1.3.0_1 : devel/pkgconf
  2. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  3. python3.9 : lang/python39
Test dependencies:
  1. py39-nose>=1.3.7 : devel/py-nose@py39
  2. py39-doctest-ignore-unicode>=0.1.2 : devel/py-doctest-ignore-unicode@py39
  3. py39-mock>=2.0.0 : devel/py-mock@py39
  4. python3.9 : lang/python39
Runtime dependencies:
  1. py39-setuptools>=63.1.0 : devel/py-setuptools@py39
  2. python3.9 : lang/python39
Library dependencies:
  1. libcgraph.so : graphics/graphviz
This port is required by:
for Run
  1. biology/py-goatools
  2. dns/dnsviz
  3. math/py-networkx
  4. science/gramps

Deleted ports which required this port:

Expand this list of 3 deleted ports
  1. devel/py-fsm*
  2. math/py-networkx1*
  3. science/MOOSE-neural-simulator*
  4. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
graphics_py-pygraphviz
USES:
pkgconfig python zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pygraphviz/
  2. https://pypi.org/packages/source/p/pygraphviz/
Collapse this list.

Number of commits found: 17

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.6
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
1.6
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
1.6
18 Dec 2022 17:29:15
commit hash: f2f3ab67ff127029f70393a05f2f8e560d70ccb4commit hash: f2f3ab67ff127029f70393a05f2f8e560d70ccb4commit hash: f2f3ab67ff127029f70393a05f2f8e560d70ccb4commit hash: f2f3ab67ff127029f70393a05f2f8e560d70ccb4 files touched by this commit
Dimitry Andric (dim) search for other commits by this committer
graphics/py-pygraphviz: fix build with clang 15

During an exp-run for llvm 15 (see bug 265425), it turned out that
graphics/py-pygraphviz failed to build with clang 15:

  pygraphviz/graphviz_wrap.c:3047:12: error: incompatible pointer to integer
conversion returning 'Agsym_t *' (aka 'struct Agsym_s *') from a function with
result type 'int' [-Wint-conversion]
      return agattr(g, kind, name, val);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~
  1 error generated.

In graphviz.i and the swig-generated graphviz_wrap.c, the agattr_label()
function is incorrectly labeled as returning 'int', while it should
return 'Agsym_t *' instead. Upstream fixed this as part of a much bigger
commit [1], and they also regenerated the swig wrapper.

For our case, it is simpler to patch the wrapper instead, as otherwise
you would have to add swig as a build-time dependency.

[1]
https://github.com/pygraphviz/pygraphviz/commit/79fdee178785620b90241c70a0efab9dd57e3c86

PR:		268278
Approved by:	portmgr (tcberner)
MFH:		2022Q4
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.6
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.6
20 Jul 2022 14:22:04
commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98commit hash: 022e658bd10b8753ede87b3dfda087efabddac98 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
graphics: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Abel Chow <ozsanh45vds001@sneakemail.com>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Ade Lovett <ade@lovett.com>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Hayward <xelah@xelah.com>
  *  Alex Ivasyuv <siegerstein@pochta.ru>
  *  Alex Samorukov <samm@os2.kiev.ua>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.6
06 Apr 2021 15:24:36
commit hash: 7f063607c84177482bf6900dad4e6ee676f3399bcommit hash: 7f063607c84177482bf6900dad4e6ee676f3399bcommit hash: 7f063607c84177482bf6900dad4e6ee676f3399bcommit hash: 7f063607c84177482bf6900dad4e6ee676f3399b files touched by this commit
Loïc Bartoletti (lbartoletti) search for other commits by this committer
graphics/py-pygraphviz: Fix typo for TEST_DEPENDS

Add missing $ for devel/py-doctest-ignore-unicode

PR:		254817
1.6
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.6
24 Dec 2020 13:46:02
Revision:559094Original commit files touched by this commit
kai search for other commits by this committer
Relax hardcoded paths to fix build with Python 3.8.7

Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme.  This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".

The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.

Remedy the issue by adding wildcards to these paths.  This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.

[1] https://bugs.python.org/issue42604

PR:		252057
Reported by:	John Kennedy
Reviewed by:	fluffy, koobs
Approved by:	koobs (python)
1.6
24 Dec 2020 08:40:44
Revision:559051Original commit files touched by this commit
lbartoletti search for other commits by this committer
graphics/py-pygraphviz: Update to 1.6

 * Drop python2 support (python 3.6+)
 * Add devel/nose and devel/py-doctest-ignore-unicode in TEST_DEPENDS

PR:		251095
Approved by:	python (maintainer's timeout -- > 1 month)
1.5
30 Jun 2019 19:56:30
Revision:505461Original commit files touched by this commit
swills search for other commits by this committer
graphics/py-pygraphviz: Update to 1.5

PR:		238475
Approved by:	miwi (python, maintainer)
1.3.1
20 Jun 2018 17:05:44
Revision:472884Original commit files touched by this commit
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
1.3.1
30 Nov 2017 15:50:34
Revision:455210Original commit files touched by this commit Sanity Test Failure
mat search for other commits by this committer
Convert Python ports to FLAVORS.

  Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.3.1
19 May 2016 10:44:12
Revision:415499Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix trailing whitespace in pkg-descrs, categories [g-n]*

Approved by:	portmgr blanket
1.3.1
18 May 2016 16:54:52
Revision:415457Original commit files touched by this commit
woodsb02 search for other commits by this committer
Create new port graphics/py3-pygraphviz:
- This is a variant of graphics/py-pygraphviz for Python 3.x.
  A separate port is needed until the ports tree gets VARIANTS support.
  The science/gramps port will soon be updated to a version which only
  supports python3, and it depends on py-pygraphviz with python3.
  To allow people to only use packages directly (and not ports),
  the package building infrastructure needs to build 2 packages:
  py-pygraphviz with python2 and py-pygraphviz with python3.
  Since the ports tree doesn't yet have VARIANTS support, this is not
  yet possible without making a separate py3-pygraphviz port.
- Ensure graphics/py-pygraphviz does not clobber variables in slave port
- While here, add LICENSE and LICENSE_FILE details to graphics/py-pygraphviz

PR:		207039
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D6281
1.3.1
01 Apr 2016 14:00:57
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
1.3.1
07 Feb 2016 09:44:24
Revision:408353Original commit files touched by this commit
koobs search for other commits by this committer
graphics/py-graphviz: Move to py-pygraphviz, Fix 3.x build

There are numerous graphviz related packages in PyPI, including:
graphviz, graphviz-python and pygraphviz.

This port, py-graphviz, is not and does not provide the same package
as the 'graphviz' package on PyPI (CHEESESHOP).

Further, it blocks the creation of a correctly named py-graphviz port,
is a POLA violation in terms of users expecting to find and recieve
the package they expect based on a standard search, and is likely to
create confusion among other ports if they depend on a python graphviz
package, which could result in incorrect packages/dependencies.

This is why among other reasons, Python packages should be named
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 17