Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#52633 closed defect (worksforme)

py35-mayavi cannot require vtk-7.0.0_0+python35

Reported by: root-control@… Owned by: jjstickel (Jonathan Stickel)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-mayavi

Description

When I execute:

port install py35-mayavi

on a fresh macports installation, it fails as it installs vtk-7.0.0_0+python27 instead of vtk-7.0.0_0+python35. Then I have to manually run

port install vtk -python27 +python35

afterwards everything is fine. I guess it is a simple fix, I am just not sure how to add it.

Change History (6)

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to jjstickel@…
Summary: py35-mayavi installs vtk-7.0.0_0+python27py35-mayavi cannot require vtk-7.0.0_0+python35

It is not possible to depend on a variant. py-mayavi could try using the active_variants-1.1 portgroup, though.

comment:2 in reply to:  1 ; Changed 8 years ago by jjstickel (Jonathan Stickel)

Replying to larryv@…:

It is not possible to depend on a variant. py-mayavi could try using the active_variants-1.1 portgroup, though.

The Portfile already has:

    require_active_variants vtk python${python.version}

Is this not sufficient?

To the OP, what was your error message?

comment:3 in reply to:  2 ; Changed 8 years ago by larryv (Lawrence Velázquez)

Replying to jjstickel@…:

The Portfile already has:

    require_active_variants vtk python${python.version}

Is this not sufficient?

Sorry, I didn’t actually check the portfile. I believe that’s correct usage, so there isn’t really anything else that can be done.

comment:4 in reply to:  3 Changed 8 years ago by jjstickel (Jonathan Stickel)

Replying to larryv@…:

Replying to jjstickel@…: Sorry, I didn’t actually check the portfile. I believe that’s correct usage, so there isn’t really anything else that can be done.

No worries: another dev added the active variants line, so I was not really sure about its use. In any case, please close this ticket.

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

comment:6 Changed 8 years ago by mf2k (Frank Schima)

Port: py-mayavi added; py35-mayavi removed
Note: See TracTickets for help on using tickets.