Port details |
- py-pygraphviz Python interface to GraphViz agraph
- 1.6 graphics =3 1.6Version of this port present on the latest quarterly branch.
- Maintainer: python@FreeBSD.org
- 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.
- ¦ ¦ ¦ ¦
- 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>)
- distinfo:
- TIMESTAMP = 1605245581
SHA256 (pygraphviz-1.6.zip) = 411ae84a5bc313e3e1523a1cace59159f512336318a510573b47f824edef8860
SIZE (pygraphviz-1.6.zip) = 117043
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- pkgconf>=1.3.0_1 : devel/pkgconf
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-nose>=1.3.7 : devel/py-nose@py39
- py39-doctest-ignore-unicode>=0.1.2 : devel/py-doctest-ignore-unicode@py39
- py39-mock>=2.0.0 : devel/py-mock@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Library dependencies:
-
- libcgraph.so : graphics/graphviz
- This port is required by:
- for Run
-
- biology/py-goatools
- dns/dnsviz
- math/py-networkx
- science/gramps
-
Deleted ports which required this port:
- * - 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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.6 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
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 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.6 18 Dec 2022 17:29:15 |
Dimitry Andric (dim) |
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 |
Stefan Eßer (se) |
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 |
Stefan Eßer (se) |
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 ) |
1.6 20 Jul 2022 14:22:04 |
Tobias C. Berner (tcberner) |
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 ) |
1.6 06 Apr 2021 15:24:36 |
Loïc Bartoletti (lbartoletti) |
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 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
1.6 24 Dec 2020 13:46:02 |
kai |
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 |
lbartoletti |
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 |
swills |
graphics/py-pygraphviz: Update to 1.5
PR: 238475
Approved by: miwi (python, maintainer) |
1.3.1 20 Jun 2018 17:05:44 |
mat |
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 |
mat |
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 ) |
1.3.1 19 May 2016 10:44:12 |
amdmi3 |
- Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by: portmgr blanket |
1.3.1 18 May 2016 16:54:52 |
woodsb02 |
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 |
mat |
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 |
koobs |
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 ) |