Created attachment 218279 [details] Patch to update graphics/py-cairo - Update to 1.18.2 - Drop support of Python 2 (eol since 1st January 2020!) Note: it exists 1.19.1 version, but it is a development release.
Created attachment 218574 [details] updated patch This seemed to need some updates to work for me, here's what I have so far.
A commit references this bug: Author: swills Date: Wed Oct 7 13:29:02 UTC 2020 New revision: 551636 URL: https://svnweb.freebsd.org/changeset/ports/551636 Log: graphics/py-cairo: Update to 1.18.2 PR: 249883 Submitted by: Olivier Duchateau <duchateau.olivier@gmail.com> (with modifications) Approved by: tcberner (implicit) Changes: head/graphics/py-cairo/Makefile head/graphics/py-cairo/distinfo head/graphics/py-cairo/pkg-descr head/graphics/py-cairo/pkg-plist
Committed, thanks!
Reopen due to revert
Created attachment 218673 [details] Patch to update graphics/py-cairo - Update to 1.20.0 - Make copy of graphics/py-cairo to graphics/py3-cairo, because since the 2.18.2 release Python version 2 is not supported - Bump PORTREVISION (and adjust lines RUN_DEPENDS and/or BUILD_DEPENDS) for ports which depend of pycairo (Python 3 compatible)
For the record, what I think this needs is to remove python2 support from print/hplip, then update devel/py-gobject to 3.x (remove devel/py-gobject3) and then update py-cairo.
Moin moin lgtm, assuming it works :) mfg Tobias
Updated to 1.21.0 in commit acf1b6bc938dd7f25869d635414f41df6270b9da