[MacPorts] #60367: vtk 8.2.0 and VTK_INSTALL_PYTHON_MODULE_DIR

MacPorts noreply at macports.org
Mon May 4 18:54:39 UTC 2020


#60367: vtk 8.2.0 and VTK_INSTALL_PYTHON_MODULE_DIR
-----------------------------+----------------------
  Reporter:  bernard-giroux  |      Owner:  stromnov
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.6.2
Resolution:  fixed           |   Keywords:  catalina
      Port:  vtk             |
-----------------------------+----------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Old description:

> Hi,
>
> After upgrading vtk to 8.2.0 (with python 3.7), I can no longer import
> vtk.  I found vtk.py in /opt/local/lib/python3.7/site-packages while all
> other modules are in
> /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
> /site-packages
>
> It look likes VTK_INSTALL_PYTHON_MODULE_DIR is no longer defined the
> portfile, e.g.
>
> -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/3.7/lib/python3.7
> /site-packages
>
> has been removed.  Was this intentional?

New description:

 Hi,

 After upgrading vtk to 8.2.0 (with python 3.7), I can no longer import
 vtk.  I found vtk.py in /opt/local/lib/python3.7/site-packages while all
 other modules are in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages

 It look likes VTK_INSTALL_PYTHON_MODULE_DIR is no longer defined the
 portfile, e.g.

 {{{
 -DVTK_INSTALL_PYTHON_MODULE_DIR=${frameworks_dir}/Python.framework/Versions/3.7/lib/python3.7
 /site-packages
 }}}

 has been removed.  Was this intentional?

--

Comment:

 Isn't this a runtime problem (rather than a build-time problem)? Doesn't
 the fix change the contents of files that get installed? Doesn't that mean
 the revision needs to be increased?

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


More information about the macports-tickets mailing list