[MacPorts] #52633: py35-mayavi installs vtk-7.0.0_0+python27
#52633: py35-mayavi installs vtk-7.0.0_0+python27 ----------------------------+-------------------------------- Reporter: root-control@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: py35-mayavi ----------------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/52633> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52633: py35-mayavi cannot require vtk-7.0.0_0+python35 -----------------------------+------------------------- Reporter: root-control@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py35-mayavi | -----------------------------+------------------------- Changes (by larryv@…): * owner: macports-tickets@… => jjstickel@… Comment: It is not possible to depend on a variant. `py-mayavi` could try using the `active_variants-1.1` portgroup, though. -- Ticket URL: <https://trac.macports.org/ticket/52633#comment:1> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52633: py35-mayavi cannot require vtk-7.0.0_0+python35 -----------------------------+------------------------- Reporter: root-control@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py35-mayavi | -----------------------------+------------------------- Comment (by jjstickel@…): Replying to [comment:1 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? -- Ticket URL: <https://trac.macports.org/ticket/52633#comment:2> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52633: py35-mayavi cannot require vtk-7.0.0_0+python35 -----------------------------+------------------------- Reporter: root-control@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py35-mayavi | -----------------------------+------------------------- Comment (by larryv@…): Replying to [comment:2 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. -- Ticket URL: <https://trac.macports.org/ticket/52633#comment:3> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52633: py35-mayavi cannot require vtk-7.0.0_0+python35 -----------------------------+------------------------- Reporter: root-control@… | Owner: jjstickel@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py35-mayavi | -----------------------------+------------------------- Comment (by jjstickel@…): Replying to [comment:3 larryv@…]:
Replying to [comment:2 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.
-- Ticket URL: <https://trac.macports.org/ticket/52633#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52633: py35-mayavi cannot require vtk-7.0.0_0+python35 -----------------------------+------------------------- Reporter: root-control@… | Owner: jjstickel@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: worksforme | Keywords: Port: py35-mayavi | -----------------------------+------------------------- Changes (by mf2k@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/52633#comment:5> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52633: py35-mayavi cannot require vtk-7.0.0_0+python35 -----------------------------+------------------------- Reporter: root-control@… | Owner: jjstickel@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: worksforme | Keywords: Port: py-mayavi | -----------------------------+------------------------- Changes (by mf2k@…): * port: py35-mayavi => py-mayavi -- Ticket URL: <https://trac.macports.org/ticket/52633#comment:6> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts