Bug 249883 - graphics/py-cairo: Update to 1.20.0
Summary: graphics/py-cairo: Update to 1.20.0
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
Depends on:
Blocks: 249944
  Show dependency treegraph
Reported: 2020-09-25 12:11 UTC by Olivier Duchateau
Modified: 2022-08-09 07:11 UTC (History)
3 users (show)

See Also:
tcberner: maintainer-feedback+

Patch to update graphics/py-cairo (2.81 KB, patch)
2020-09-25 12:11 UTC, Olivier Duchateau
no flags Details | Diff
updated patch (3.39 KB, patch)
2020-10-06 21:19 UTC, Steve Wills
no flags Details | Diff
Patch to update graphics/py-cairo (18.19 KB, patch)
2020-10-11 20:44 UTC, Olivier Duchateau
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Duchateau 2020-09-25 12:11:22 UTC
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.
Comment 1 Steve Wills freebsd_committer 2020-10-06 21:19:21 UTC
Created attachment 218574 [details]
updated patch

This seemed to need some updates to work for me, here's what I have so far.
Comment 2 commit-hook freebsd_committer 2020-10-07 13:29:38 UTC
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

  graphics/py-cairo: Update to 1.18.2

  PR:		249883
  Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com> (with modifications)
  Approved by:	tcberner (implicit)

Comment 3 Steve Wills freebsd_committer 2020-10-07 13:30:17 UTC
Committed, thanks!
Comment 4 Steve Wills freebsd_committer 2020-10-11 15:24:12 UTC
Reopen due to revert
Comment 5 Olivier Duchateau 2020-10-11 20:44:27 UTC
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)
Comment 6 Steve Wills freebsd_committer 2020-10-20 19:28:51 UTC
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.
Comment 7 Tobias C. Berner freebsd_committer 2020-10-29 05:45:09 UTC
Moin moin 

lgtm, assuming it works :)

mfg Tobias
Comment 8 Daniel Engberg freebsd_committer 2022-08-09 07:11:25 UTC
Updated to 1.21.0 in commit acf1b6bc938dd7f25869d635414f41df6270b9da