Opened 3 years ago

Closed 12 months ago

#61998 closed defect (fixed)

opencolorio @1.1.1: python binding is broken

Reported by: stunpix (Oleksandr Shashkevych) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: cooljeanius (Eric Gallager)
Port: opencolorio

Description

The package currently consist of the following files:

% sudo port contents opencolorio                                                               
Password:
Port opencolorio contains:
  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenColorIO.so
  /opt/local/include/OpenColorIO/OpenColorABI.h
  /opt/local/include/OpenColorIO/OpenColorIO.h
  /opt/local/include/OpenColorIO/OpenColorTransforms.h
  /opt/local/include/OpenColorIO/OpenColorTypes.h
  /opt/local/lib/cmake/OpenColorIO/OpenColorIO-macports.cmake
  /opt/local/lib/cmake/OpenColorIO/OpenColorIO.cmake
  /opt/local/lib/cmake/OpenColorIO/OpenColorIOConfig.cmake
  /opt/local/lib/libOpenColorIO.1.1.1.dylib
  /opt/local/lib/libOpenColorIO.1.dylib
  /opt/local/lib/libOpenColorIO.dylib
  /opt/local/lib/pkgconfig/OpenColorIO.pc
  /opt/local/lib/static/libOpenColorIO.a
  /opt/local/share/ocio/setup_ocio.sh

where PyOpenColorIO.so is a symbolic link to a missing file not provided by port:

% ls -l /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenColorIO.so
lrwxr-xr-x  1 root  wheel  55 Dec 14 22:29 /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PyOpenColorIO.so -> /opt/local/lib/python2.7/site-packages/PyOpenColorIO.so

Also a file extension of PyOpenColorIO.so is questionable since the valid extension for macos is .dylib

Change History (3)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: opencolorio @ 1.1.1: python binding is brokenopencolorio @1.1.1: python binding is broken

.dylib is used for dynamic libraries on macOS, but code modules that are loaded by a program at runtime using dlopen can use either the .so or the .dylib extension; it does not matter.

comment:2 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:3 Changed 12 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: assignedclosed

In bc6670c0cf7ad7989847f94b5bc81094f7466432/macports-ports (master):

opencolorio: update to 2.2.0; default +python311

Closes: #61998

Note: See TracTickets for help on using tickets.