[Bug 270507] devel/py-pythran: Update to 0.12.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Mar 2023 20:57:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270507

            Bug ID: 270507
           Summary: devel/py-pythran: Update to 0.12.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wen@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(wen@FreeBSD.org)
          Assignee: wen@FreeBSD.org

Created attachment 241168
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241168&action=edit
patch

This unbreaks Cython that fails like this with older versions:

  File "Cython/Compiler/Visitor.py", line 16, in init Cython.Compiler.Visitor
  File "/usr/local/lib/python3.9/site-packages/Cython/Compiler/Nodes.py", line
31, in <module>
    from .Pythran import has_np_pythran, pythran_type, is_pythran_buffer
  File "/usr/local/lib/python3.9/site-packages/Cython/Compiler/Pythran.py",
line 11, in <module>
    pythran_is_pre_0_9 = tuple(map(int, pythran.__version__.split('.')[0:2])) <
(0, 9)
AttributeError: module 'pythran' has no attribute '__version__'

-- 
You are receiving this mail because:
You are the assignee for the bug.