Bug 249642

Summary: devel/py-meliae: depends on python 2.x
Product: Ports & Packages Reporter: Steve Wills <swills>
Component: Individual Port(s)Assignee: Sofian Brabez <sbz>
Status: Closed FIXED    
Severity: Affects Only Me CC: rene
Priority: --- Flags: bugzilla: maintainer-feedback? (sbz)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 249337    
Attachments:
Description Flags
patch to update port none

Description Steve Wills freebsd_committer 2020-09-24 16:24:05 UTC
This port will be removed on 2020-12-31 if not fixed
Comment 1 Steve Wills freebsd_committer 2020-10-19 16:47:26 UTC
This seems to have a newer version upstream which supports Python 3.
Comment 2 Steve Wills freebsd_committer 2020-10-19 17:00:12 UTC
Created attachment 218895 [details]
patch to update port

Here's a patch to update the port.
Comment 3 commit-hook freebsd_committer 2020-11-18 11:30:24 UTC
A commit references this bug:

Author: rene
Date: Wed Nov 18 11:29:31 UTC 2020
New revision: 555635
URL: https://svnweb.freebsd.org/changeset/ports/555635

Log:
  devel/py-meliae: update to 0.5.1

  This version uses Python 3 so undeprecate the port. Limit it up to
  Python 3.8 as it fails to compile on Python 3.9:

  meliae/_scanner.c:3388:46: error: use of undeclared identifier 'PyGC_Head'
    __pyx_t_1 = __Pyx_PyInt_FromSize_t((sizeof(PyGC_Head))); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 52, __pyx_L1_error)
                                               ^

  Comment out the license file as it is not shipped in the distribution.

  PR:		249642
  Submitted by:	swills
  Approved by:	maintainer timeout (sbz, 1 month)

Changes:
  head/devel/py-meliae/Makefile
  head/devel/py-meliae/distinfo
Comment 4 Rene Ladan freebsd_committer 2020-11-18 11:30:48 UTC
Patch committed with minor modifications.