#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 follow-up: 2 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+python27 → py35-mayavi cannot require vtk-7.0.0_0+python35 |
comment:2 follow-up: 3 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 theactive_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 follow-up: 4 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 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: | new → closed |
comment:6 Changed 8 years ago by mf2k (Frank Schima)
Port: | py-mayavi added; py35-mayavi removed |
---|
It is not possible to depend on a variant.
py-mayavi
could try using theactive_variants-1.1
portgroup, though.