Bug 276046

Summary: emulators/mame: Update python version limit
Product: Ports & Packages Reporter: Wen Heping <wen>
Component: Individual Port(s)Assignee: Wen Heping <wen>
Status: Closed FIXED    
Severity: Affects Only Me CC: agh, fernape
Priority: --- Flags: agh: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 275494    
Attachments:
Description Flags
Update python version limit none

Description Wen Heping freebsd_committer freebsd_triage 2024-01-01 02:02:31 UTC
Created attachment 247383 [details]
Update python version limit

Update python version limit, build with python-3.11
Comment 1 Alastair Hogge 2024-01-01 05:51:30 UTC
When I test this change with poudreire-testport, I get the following:

> emulators/mame has dependency on textproc/py-sphinxcontrib-svg2pdfconverter with invalid empty FLAVOR; Please contact maintainer of the port to fix this.

I have no idea what that means, or how to rectify that in textproc/py-sphinxcontrib-svg2pdfconverter, none of the linting tools provide any hints, and I am lost in the documentation trying to find where I have gone wrong.
Comment 2 Wen Heping freebsd_committer freebsd_triage 2024-01-01 11:54:12 UTC
(In reply to Alastair Hogge from comment #1)

I can build it with both python-3.11 and python-3.9 with poudriere.

Would you check it is "python:build" but not anything others in Uses section ?

Thank you !
Comment 3 Alastair Hogge 2024-01-07 22:28:04 UTC
(In reply to Wen Heping from comment #2)

You were probably right. Patch works for me, thanks.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-01-08 06:41:30 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b2d2b35e2fdbae94e3db94dc8efcfa319779988d

commit b2d2b35e2fdbae94e3db94dc8efcfa319779988d
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-01-08 06:38:06 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-01-08 06:40:23 +0000

    emulators/mame: Fix build with python-3.11

    PR:             276046
    Reported by:    wen@
    Approved by:    maintainer

 emulators/mame/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Fernando ApesteguĂ­a freebsd_committer freebsd_triage 2024-01-08 07:59:21 UTC
^Triage: reporter is committer, assign accordingly.