[MacPorts] #65244: lensfun @0.3.3_0: python module not installed

MacPorts noreply at macports.org
Tue Jun 7 19:08:35 UTC 2022


#65244: lensfun @0.3.3_0: python module not installed
----------------------+----------------------
  Reporter:  parafin  |      Owner:  mascguy
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:  haspatch
      Port:  lensfun  |
----------------------+----------------------

Comment (by jmroot):

 The CMakeLists appears to be using setup.py incorrectly:
 https://github.com/lensfun/lensfun/blob/master/apps/CMakeLists.txt#L52

 There is a `--root` option that should be used to specify a destroot (it
 should not just be prepended to the prefix); i.e.
 {{{
 INSTALL(CODE "execute_process(COMMAND ${PYTHON_EXECUTABLE} ${SETUP_PY}
 install --prefix=${SETUP_PY_INSTALL_PREFIX} --root=\$ENV{DESTDIR})")
 }}}
 (untested)

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


More information about the macports-tickets mailing list