Bug 251469 - math/py-triangle: update to 20200424 to fix python 3.9 compat
Summary: math/py-triangle: update to 20200424 to fix python 3.9 compat
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-29 22:07 UTC by Greg V
Modified: 2020-12-09 00:08 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (db)


Attachments
pytriangle.patch (1.20 KB, patch)
2020-11-29 22:07 UTC, Greg V
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Greg V 2020-11-29 22:07:36 UTC
Created attachment 220084 [details]
pytriangle.patch

The current version fails to build with Python 3.9:

triangle/core.c:20740:77: error: no member named 'tp_print' in 'struct _typeobject'
  __pyx_type_8triangle_4core___pyx_scope_struct____pyx_f_8triangle_4core_ii.tp_print = 0;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
triangle/core.c:20746:78: error: no member named 'tp_print' in 'struct _typeobject'
  __pyx_type_8triangle_4core___pyx_scope_struct_1___pyx_f_8triangle_4core_dd.tp_print = 0;
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

etc.

The latest version has been regenerated with newer Cython which supports 3.9.
Comment 1 commit-hook freebsd_committer 2020-12-08 23:45:57 UTC
A commit references this bug:

Author: db
Date: Tue Dec  8 23:45:22 UTC 2020
New revision: 557315
URL: https://svnweb.freebsd.org/changeset/ports/557315

Log:
  Update to 20200424 to fix python 3.9 compatibility

  The current version fails to build with Python 3.9:
  triangle/core.c:20740:77: error: no member named 'tp_print' in 'struct _typeobject'
    __pyx_type_8triangle_4core___pyx_scope_struct____pyx_f_8triangle_4core_ii.tp_print = 0;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
  triangle/core.c:20746:78: error: no member named 'tp_print' in 'struct _typeobject'
    __pyx_type_8triangle_4core___pyx_scope_struct_1___pyx_f_8triangle_4core_dd.tp_print = 0;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

  etc.

  The latest version has been regenerated with newer Cython which supports 3.9.

  PR:		ports/251469
  Reported by:	Greg V <greg@unrelenting.technology>

Changes:
  head/math/py-triangle/Makefile
  head/math/py-triangle/distinfo