Bug 249883

Summary: graphics/py-cairo: Update to 1.20.0
Product: Ports & Packages Reporter: Olivier Duchateau <duchateau.olivier>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: diizzy, swills, tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249944
Bug Depends on:    
Bug Blocks: 249944    
Attachments:
Description Flags
Patch to update graphics/py-cairo
none
updated patch
none
Patch to update graphics/py-cairo none

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 freebsd_triage 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 freebsd_triage 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

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
Comment 3 Steve Wills freebsd_committer freebsd_triage 2020-10-07 13:30:17 UTC
Committed, thanks!
Comment 4 Steve Wills freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 2020-10-29 05:45:09 UTC
Moin moin 

lgtm, assuming it works :)


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