[MacPorts] #68405: imath @3.1.9: not building Python extension as claimed

MacPorts noreply at macports.org
Tue Oct 10 14:05:53 UTC 2023


#68405: imath @3.1.9: not building Python extension as claimed
-------------------------+----------------------
  Reporter:  JGoldstone  |      Owner:  mascguy
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  imath       |
-------------------------+----------------------

Comment (by JGoldstone):

 Actually, OpenColorIO is putting the .so in the correct place (the site-
 packages subdir of the lib dir) and OpenImageIO is putting the .so in the
 wrong place (the lib dir itself).

 That said, the OpenColorIO Portfile's mechanism seems hideously complex
 for some reason, with per-python-minor-version variants, and OpenImageIO's
 Portfile's take on this is short and sweet. I *think* the reason that
 OCIO's Portfile is so complex is that it reflects a time when OpenColorIO
 used Boost Python instead of pybind11; and Imath is still using Boost
 Python (in the OpenEXR TSC I think more than once we have tried to get
 someone to cut it over to pybind11 as a GSoC project).

 I'm going to ask on the OCIO slack if I'm right re: OCIO history. If so it
 might be possible to greatly simplify the OCIO Portfile's Python extension
 handling. And I will ask on the OpenEXR TSC slack for the magnitude of the
 task of cutting over to pybind11; we have a hackathon-like event coming up
 and maybe should suggest this to someone.

-- 
Ticket URL: <https://trac.macports.org/ticket/68405#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list