graphics/graphviz: update to 14.0.1377ac07f9f
Port details
graphics/py-pygraphviz1.6_2
Python interface to GraphViz agraph
- Maintainer
- python@FreeBSD.org
- Packages
- py312-pygraphviz 1.6_2
- Upstream
- Higher version available: 2.0.4
- CPE
- none, CVEs only via VuXML
- WWW
- https://pygraphviz.github.io
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (19)
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.06a08e69f3
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>3d9a815d9c*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
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: 2022Q4f2f3ab67ffRemove 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)fb16dfecae
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. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
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> * Alexander Gromnitsky * Alexander Kojevnikov <alexander@kojevnikov.com> * Alexander Logvinov <ports@logvinov.com> * Alexander Nedotsukov <bland@FreeBSD.org> * Alexander Nedotsukov <bland@mail.ru> * Alexander Y. Grigoryev <alexander.4mail@gmail.com> * Alexey Dokuchaev <danfe@FreeBSD.org> * Alonso Cardenas Marquez <acm@FreeBSD.org> * Anatoliy Dmytriyev <tolid@plab.ku.dk> * Anatoly Borodin <anatoly.borodin@gmail.com> * Anders Nordby <anders@fix.no> * Andras Horvath <han@log69.com> * Andreas Daehn <ad001@uni-rostock.de> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrey Slusar <anray@FreeBSD.org> * Andrey Zakhvatov * Anes Mukhametov <anes@anes.su> * Anonymous <swell.k@gmail.com> * Anton Berezin <tobez@FreeBSD.org> * Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) * Arjan van Leeuwen <avleeuwen@piwebs.com> * Ashish SHUKLA <ashish@FreeBSD.org> * Bill Fumerola <billf@chc-chimes.com> * Björn König <bkoenig@alpha-tierchen.de> * Brad Hendrickse <bradh@iafrica.com> * Bruce M Simpson <bms@FreeBSD.org> * Carlos Eduardo G. Carvalho <cartola@openit.com.br> * Charlie Kester <corky1951@comcast.net> * Choe, Cheng-Dae * Choe, Cheng-Dae <whitekid@gmail.com> * Chris D. Faulhaber <jedgar@FreeBSD.org> * Chris D. Faulhaber <jedgar@fxp.org> * Chris Piazza <cpiazza@FreeBSD.org> * Christopher Key <cjk32@cam.ac.uk> * Chuck Robey <chuckr@FreeBSD.org> * Corey Smith <corsmith@gmail.com> * Dan Langille <dvl@FreeBSD.org> * Daniel O'Connor <darius@dons.net.au> * Daniel Roethlisberger <daniel@roe.ch> * Danilo Egea Gondolfo <danilo@FreeBSD.org> * Dave Cottlehuber <dch@skunkwerks.at> * David Bremner <bremner@unb.ca> * David Gilbert <dgilbert@velocet.ca> * David Naylor <dbn@FreeBSD.org> * David Yeske <dyeske@gmail.com> * Denis Barov <dindin@dindin.ru> * Denis Podolskiy <bytestore@yandex.ru> * Dennis Herrmann <adox@mcx2.org> * Devaux Fabien <fab@gcu.info> * Dmitry Sivachenko <dima@Chg.RU> * Dominik Brettnacher <domi@nonsensss.de> * Donn Miller <dmmiller@cvzoom.net> * Douglas Carmichael <dcarmich@mcs.com> * Douglas K. Rand <rand@meridian-enviro.com> * Edwin Groothuis <edwin@mavetju.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Emanuel Haupt <ehaupt@critical.ch> * Emil J.V. Björsell (Jev) * Emmanuel Vadot <manu@FreeBSD.org> * Eric Anholt <anholt@FreeBSD.org> * Eric Freeman <freebsdports@chillibear.com> * Eric P. Scott <eps+pbug0703@ana.com> * Erwin Lansing <erwin@FreeBSD.org> * Eugene Mychlo <myc@barev.net> * Fernan Aguero <fernan@iib.unsam.edu.ar> * Franz Klammer <klammer@webonaut.com> * FreeBSD GNOME Team <gnome@FreeBSD.org> * G. Adam Stanislav <adam@whizkidtech.net> * Garrett Wollman <wollman@lcs.mit.edu> * Gea-Suan Lin <gslin@gslin.org> * George Reid <greid@ukug.uk.freebsd.org> * Gerrit Beine (<gerrit.beine@gmx.de>) * Gerrit Beine (<tux@pinguru.net>) * Glenn Johnson * Greg Lewis <glewis@FreeBSD.org> * Gustau Perez <gustau.perez@gmail.com> * Gustau Pérez i Querol <gustau.perez@gmail.com> * Gvozdikov Veniamin <g.veniamin@googlemail.com> * Hernan Di Pietro <hernan.di.pietro@gmail.com> * Hiroto Kagotani <hiroto.kagotani@gmail.com> * Horia Racoviceanu <horia@racoviceanu.com> * Hye-Shik Chang <perky@fallin.lv> * Hye-Shik Chang <perky@python.or.kr> * Igor Pokrovsky <ip@doom.homeunix.org> * Igor Pokrovsky <tiamat@comset.net> * James FitzGibbon <jfitz@FreeBSD.org> * Jamie Hermans <jamie@hermans.ca> * Jan Henrik Sylvester <me@janh.de> * Janni * Janos Mohacsi <janos.mohacsi@bsd.hu> * Jason Helfman <jgh@FreeBSD.org> * Jean-Marc Zucconi <jmz@FreeBSD.org> * Jean-Sébastien Pédron <dumbbell@FreeBSD.org> * Jean-Yves Lefort <jylefort@FreeBSD.org> * Jean-Yves Lefort <jylefort@brutele.be> * Jeff Molofee * Jeremy Norris <ishmael127@home.com> * Jeremy Norris <ishmael27@home.com> * Joe Marcus Clarke <marcus@FreeBSD.org> * Johannes Dieterich <jmd@FreeBSD.org> * Johannes Jost Meixner <johannes@perceivon.net> * Johannes Meixner <johannes@perceivon.net> * John Hay * John McAree <john@mcaree.org> * John Prather * John Reynolds <johnjen@reynoldsnet.org> * Joris Dedieu <joris.dedieu@gmail.com> * Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> * Jose Jachuf <jjachuf@gmail.com> * Joseph Koshy <koshy@india.hp.com> * Juergen Unger <j.unger@choin.net> * KANOU Hiroki <kanou@mil.allnet.ne.jp> * KIRIYAMA Kazuhiko * Kay Lehmann * Kevin Golding <ports@caomhin.org> * Kimura Fuyuki <fuyuki@hadaly.org> * Koop Mast <kwm@FreeBSD.org> * Kris Kennaway <kris@FreeBSD.org> * Kris Moore <kmoore@FreeBSD.org> * Kubilay Kocak <koobs@FreeBSD.org> * Kurt Kanzenbach <kurt@kmk-computers.de> * Kyle Martin <mkm@ieee.org> * Laurent Courty * Leonardo Martins <lmartins@nepe.eee.ufg.br> * Lev Serebryakov <lev@FreeBSD.org> * Malte Lance <malte.lance@gmx.net> * Marc Fonvieille <blackend@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> et al. * Mark Atkinson <atkin901@gmail.com> * Mark Murray <markm@FreeBSD.org> * Mark Pulford <mark@kyne.com.au> * Markus Brueffer <markus@FreeBSD.org> * Martin Dieringer <martin.dieringe@gmx.de> * Martin Dieringer <martin.dieringer@gmx.de> * Martin Matuska <mm@FreeBSD.org> * Martin Neubauer <m.ne@gmx.net> * Martin Sugioarto <martin.sugioarto@udo.edu> * Martin Tournoij <carpetsmoker@rwxrwxrwx.net> * Martin Tournoij <carpetsmoker@xs4all.nl> * Martin Wilke <miwi@FreeBSD.org> * Mateusz Piotrowski <0mp@FreeBSD.org> * Mathieu Arnold * Matthew Luckie <mjl@luckie.org.nz> * Matthew X. Economou <xenophon+fbsdports@irtnog.org> * Matthias Fechner <mfechner@FreeBSD.org> * Matthieu Volat <mazhe@alkumuna.eu> * Maurice Castro <maurice@serc.rmit.edu.au> * Maxim Sobolev <sobomax@FreeBSD.org> * Michael Gmelin <freebsd@grem.de> * Michael Johnson <ahze@FreeBSD.org> * Michael Johnson <ahze@ahze.net> * Michael Nottebrock <lofi@FreeBSD.org> * Michael Reifenberger <mr@FreeBSD.org> * Mike Krutov <neko@takino.org> * Mikhail T. <mi@aldan.algebra.com> * Mikhail Teterin <mi@aldan.algebra.com> * Muhammad Moinur Rahman <5u623l20@gmail.com> * NAKATA Maho <maho@FreeBSD.org> * Naram Qashat <cyberbotx@cyberbotx.com> * Nick Hilliard <nick@foobar.org> * Nicola Vitale <nivit@FreeBSD.org> * Nicola Vitale <nivit@email.it> * Nikolay Korotkiy <sikmir@gmail.com> * Norio Suzuki <nosuzuki@e-mail.ne.jp> * Oliver Heesakkers <dev2@heesakkers.info> * Oliver Lehmann <oliver@FreeBSD.org> * Olivier Duchateau * Paul Everlund * Pav Lucistnik <pav@FreeBSD.org> * Pedro F. Giffuni * Pedro Garcia Freitas <sawp@sawp.com.br> * Pedro Giffuni * Pedro Giffuni <pfg@FreeBSD.org> * Pete Fritchman <petef@FreeBSD.org> * Pete Fritchman <petef@databits.net> * Peter Ankerstal <peter@pean.org> * Peter Jeremy <peterjeremy@optushome.com.au> * Peter Schmiedeskamp <pschmied@qwest.net> * Phil Phillips <pphillips@experts-exchange.com> * Pietro Cerutti <gahr@FreeBSD.org> * Pietro Cerutti <gahr@gahr.ch> * Piotr Kubaj <pkubaj@anongoth.pl> * Piotr Smyrak <smyru@heron.pl> * Piotr Smyrak, piotr.smyrak@heron.pl * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Quentin Stievenart <acieroid@awesom.eu> * R Joseph Wright <rjoseph@mammalia.org> * Radim Kolar * Rainer Hurling <rhurlin@gwdg.de> * Randall Hopper * Randall Hopper <aa8vb@ipass.net> * Randall Hopper <aa8vb@nc.rr.com> * Reinier de Blois <rddeblois@gmail.com> * Richard Hwang <rhwang@bigpanda.com>, Mikhail Teterin <mi@aldan.algebra.com>, Jun-ichiro itojun Itoh <itojun@itojun.org> * Rick Elrod <codeblock@eighthbit.net> * Rob Farmer <rfarmer@predatorlabs.net> * Rod Person <rodperson@rodperson.com> * Roland Jesse <roland.jesse@gmx.net> * Romain Tartiere <romain@FreeBSD.org> * Ron van Daal * Ronald Kuehn <rk@ronald.org> * Rong-En Fan <rafan@infor.org> * Rusmir Dusko <nemysis@FreeBSD.org> * Rusty Nejdl <rnejdl@ringofsaturn.com> * Ryan Melcer <rmelcer@iteris.com> * Ryan Steinmetz <zi@FreeBSD.org> * Sahil Tandon <sahil@FreeBSD.org> * Sam Lawrance * Satoshi Asami <asami@FreeBSD.org> * Satoshi Taoka <taoka@FreeBSD.org> * Seiichirou Hiraoka * Serge Negodyuck <petr@petrovich.kiev.ua> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Skvortsov <skv@protey.ru> * Sergey V. Dyatko <sergey.dyatko@gmail.com> * Shane Ambler * Shaun Amott <shaun@inerd.com> * Shell Hung <shell@shellhung.org> * Shigeyuki FUKUSHIMA <shige@FreeBSD.org> * Simun Mikecin <numisemis@yahoo.com> * Sofian Brabez <sbrabez@gmail.com> * Stanislav Sedov <ssedov@mbsd.msk.ru> * Stanislav Sedov <stas@FreeBSD.org> * Stas Timokhin <devel@stasyan.com> * Stas Timokhin <stast@bsdportal.ru> * Stefan Walter <sw@gegenunendlich.de> * Stephen Roome <steve@pepcross.com> * Steve Wills <steve@meatwad.mouf.net> * Steve Wills <swills@FreeBSD.org> * Steven Kreuzer <skreuzer@FreeBSD.org> * Steven Wallace <swallace@FreeBSD.org> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * TAKAHASHI Kaoru <kaoru@kaisei.org> * TAKATSU Tomonari <tota@FreeBSD.org> * TAKATSU Tomonari <tota@rtfm.jp> * TAOKA Fumiyoshi * TATEISHI Katsuyuki <katsu@iec.hiroshima-u.ac.jp> * Tassilo Philipp <tphilipp@potion-studios.com> * Thibault Payet <monwarez@mailoo.org> * Thierry Thomas <thierry@pompo.net> * Thomas Dreibholz <dreibh@iem.uni-due.de> * Thomas Gellekum <tg@FreeBSD.org> * Thomas Hurst <tom@hur.st> * Tilman Linneweh <arved@FreeBSD.org> * Tim Bishop <tim@bishnet.net> * Tod McQuillin <devin@spamcop.net> * Tomoyuki Sakurai <cherry@trombik.org> * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * UMENO Takashi <umeno@rr.iij4u.or.jp> * Ulrich Spoerlein <q@uni.de> * Vasil Dimov <vd@FreeBSD.org> * Veniamin Gvozdikov <vg@FreeBSD.org> * Vincent Tantardini <vinc@FreeBSD-fr.org> * Vladimir Chukharev * Wen Heping <wen@FreeBSD.org> * Wen Heping <wenheping@gmail.com> * Wen heping <wenheping@gmail.com> * Wen heping<wenheping@gmail.com> * Will Andrews <andrews@technologist.com> * Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> * Ying-Chieh Liao <ijliao@FreeBSD.org> * Yinghong Liu <relaxbsd@gmail.com> * Yinghong.Liu <relaxbsd@gmail.com> * Yuan-Chung Hsiao <ychsiao@ychsiao.org> * Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> * Yukihiro Nakai <nacai@iname.com> * Yukihiro Nakai <nakai@mlab.t.u-tokyo.ac.jp> * Yuri Victorovich <yuri@FreeBSD.org> * Yuri Victorovich <yuri@rawbw.com> * Yuu Yashiki * Yuzo FURUKAWA <hurukawa@kuee.kyoto-u.ac.jp> * Zhihao Yuan <lichray@gmail.com> * Zsolt Udvari <udvzsolt@gmail.com> * ache * alepulver * anhot * antonakis@gmail.com * argv[0] (Iouri V. Ivliev) * arved * asami * bf <bf@FreeBSD.org> * bmc@WillsCreek.COM * buganini@gmail.com * cacho@mexicano.gdl.iteso.mx * cartola (Carlos E. G. Carvalho) * cartola@openit.com.br * cfs@ing.puc.cl (original) * chinsan * chinsan <chinsan.tw@gmail.com> * coryking * cracauer@cons.org "Martin Cracauer" * demon@FreeBSD.org * dillon * dom@happygiraffe.net * erich@FreeBSD.org * fenner * fernan@iib.unsam.edu.ar * frankch@waru.life.nthu.edu.tw * gahr * gary@hotlava.com * gerard * giffunip@asme.org * glebius@FreeBSD.org * gurkan@phys.ethz.ch * hsu * ijliao * jamie * jedgar@FreeBSD.org * jeff@cetlink.net * jjachuf@gmail.com * jmz * johalun * johan * johans * kwm@FreeBSD.org * lbartoletti <lbartoletti@FreeBSD.org> * lesi@FreeBSD.org * lichray@gmail.com * luigi@FreeBSD.org * maho@FreeBSD.org * marcus@FreeBSD.org * mb@imp.ch * mi * mm@FreeBSD.org * nemysis <nemysis@gmx.ch> * nik * nork@FreeBSD.org * olgeni@FreeBSD.org * paulo@isr.uc.pt * petef@FreeBSD.org * pgs * ports@FreeBSD.org * proff@iq.org * punkt.de Hosting Team <mops@punkt.de> * rfarmer@predatorlabs.net * roberto * roland.jesse@gmx.net * rpsfa@rit.edu * saper@system.pl * smace * sobomax * stas * stb@lassitu.de * theraven@FreeBSD.org * thierry@pompo.net * tobez * trasz <trasz@pin.if.uz.zgora.pl> * trevor * vanilla * will * wolman@cs.washington.edu * yukinopo@livedoor.com With hat: portmgr022e658bd1
graphics/py-pygraphviz: Fix typo for TEST_DEPENDS Add missing $ for devel/py-doctest-ignore-unicode PR: 2548177f063607c8
Remove # $FreeBSD$ from Makefiles.305f148f48
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)9cb5898561
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)e485443f51
graphics/py-pygraphviz: Update to 1.5 PR: 238475 Approved by: miwi (python, maintainer)25d36ac235
Use PY_FLAVOR for dependencies. FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight4376dbbb58
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
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464551be3c723- Fix trailing whitespace in pkg-descrs, categories [g-n]* Approved by: portmgr blanket4e942b6419
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 PR: 207039 Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D6281cc27f17799
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6graphics/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
exactly what they are called in PyPI, or inside install_requires,
setup_requires or tests_requires as dependencies in other packages.
This change moves py-graphviz to py-pygraphviz to correct the above
incorrect naming.
While I'm here:
- Remove backup (http) MASTER_SITES, CHEESESHOP is highly-available
and provides a Geo-aware CDN by Fastly.
- Remove {BUILD,RUN}_DEPENDS in favour of the actual LIB_DEPENDS
- Use PYDISTUTILS_* framework variables to customise the build instead
of hack patching setup.py
- Enable autoplist, fixing builds on Python 3.x [1]
- Enable concurrent (Python version) installation
- Hack patch setup.py to preclude docs installation, as it adds a
directory to --record and breaks pkg-plist output [2]
- Remove DOCSDIR override (no longer necessary)
- Assign MAINTAINER'ship to python@
- Add TEST_DEPENDS and test target
- pkg-descr: Match WWW URL to setup.py:homepage field
- pkg-descr: Improve package description text (matching upstream)
While I'm sweeping dependencies:
- Fix a typo in science/gramps: s|>-|>=
[2] https://wiki.freebsd.org/Python (Open task for install_data bug)
Reported by: Ben Woods (via IRC) [1]275db1ead5