Opened 8 years ago

Closed 8 years ago

#51020 closed enhancement (fixed)

vtk: update to 7.0.0 and add python35 variant

Reported by: samuel.bateman@… Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jjstickel (Jonathan Stickel), Schamschula (Marius Schamschula)
Port: vtk

Description

VTK version 7.0.0 has been released and includes support for Python 3, which is very useful.

I've attached a Portfile for the new VTK version 7.0.0 and a variant for python35. (Slightly modified Portfile from the existing one for version 6.3.0.)

Attachments (2)

Portfile (3.0 KB) - added by samuel.bateman@… 8 years ago.
Portfile for VTK version 7.0.0
patch-Portfile-vtk.diff (1.8 KB) - added by samuel.bateman@… 8 years ago.

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by samuel.bateman@…

Attachment: Portfile added

Portfile for VTK version 7.0.0

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

Cc: stromnov@… removed
Owner: changed from macports-tickets@… to stromnov@…
Type: updateenhancement
Version: 2.3.4

Thanks. Per the guidelines, please instead attach a unified diff of the Portfile so we can easily see what changes you are proposing.

Changed 8 years ago by samuel.bateman@…

Attachment: patch-Portfile-vtk.diff added

comment:2 in reply to:  1 Changed 8 years ago by samuel.bateman@…

Attached the patch to the Portfile.

comment:3 Changed 8 years ago by jjstickel (Jonathan Stickel)

Cc: jjstickel@… added

Cc Me!

comment:4 Changed 8 years ago by Schamschula (Marius Schamschula)

It seems that the default variant for python has been switched from python27 to python35. I had to specify

port install vtk +python27 -python35

to upgrade my existing install of vtk

comment:5 Changed 8 years ago by Schamschula (Marius Schamschula)

Cc: mschamschula@… added

Cc Me!

comment:6 in reply to:  4 Changed 8 years ago by jmroot (Joshua Root)

Replying to mschamschula@…:

It seems that the default variant for python has been switched from python27 to python35. I had to specify

port install vtk +python27 -python35

to upgrade my existing install of vtk

It wasn't a problem that the default variant changed, but there was a problem with the logic in the portfile such that the python35 variant was selected by default even if the (conflicting) python27 variant was already selected. I fixed that in r147360.

Also, the update to 7.0.0 was previously committed in r147355, so this ticket can probably be closed?

comment:7 Changed 8 years ago by petrrr

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.