Opened 9 years ago

Closed 9 years ago

#27016 closed update (fixed)

updated ports for mayavi and dependencies

Reported by: jjstickel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: maintainer haspatch Cc: ryandesign (Ryan Schmidt)
Port: py26-mayavi

Description

See attached patch files.

Attachments (9)

py26-envisagecore_Portfile.diff (1.0 KB) - added by jjstickel@… 9 years ago.
py26-traits_Portfile.diff (1.0 KB) - added by jjstickel@… 9 years ago.
py26-enthoughtbase_Portfile.diff (980 bytes) - added by jjstickel@… 9 years ago.
py26-envisageplugins_Portfile.diff (1.2 KB) - added by jjstickel@… 9 years ago.
py26-apptools_Portfile.diff (1.1 KB) - added by jjstickel@… 9 years ago.
py26-traitsgui_Portfile.diff (1.6 KB) - added by jjstickel@… 9 years ago.
py26-traitsbackendqt_Portfile.diff (1.4 KB) - added by jjstickel@… 9 years ago.
py26-traitsbackendwx_Portfile.diff (1.3 KB) - added by jjstickel@… 9 years ago.
py26-mayavi_Portfile.diff (2.4 KB) - added by jjstickel@… 9 years ago.

Download all attachments as: .zip

Change History (23)

comment:1 Changed 9 years ago by jjstickel@…

When committing these changes, please remove the old patchfiles for py26-mayavi, py26-traitsbackendwx, and py26-enthoughtbase. They are no longer needed.

comment:2 Changed 9 years ago by jjstickel@…

BTW, I have now successfully used Mayavi with the Qt backend, rather than Wx. Use the +qt variant for py26-traitsgui (which pulls in py26-traitsbackendqt and py26-pyqt4), and make sure to have vtk5 installed with Cocoa (-x11 -carbon; note: vtk5 does NOT need the qt4-mac variant). The "mayavi2" application seems to only partially work (no python shell), but mayavi scripting works fine from ipython (ipython-2.6 -q4thread).

comment:3 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
  • r74313: updated py25-enthoughtbase and py26-enthoughtbase to 3.0.6

comment:4 Changed 9 years ago by ryandesign (Ryan Schmidt)

  • r74315: updated py25-traits and py26-traits to 3.5.0

comment:5 Changed 9 years ago by ryandesign (Ryan Schmidt)

  • r74316: update py25-envisagecore and py26-envisagecore to 3.1.3

comment:6 in reply to:  3 Changed 9 years ago by jjstickel@…

Replying to ryandesign@…:

  • r74313: updated py25-enthoughtbase and py26-enthoughtbase to 3.0.6

You can also remove the patchfile for py26-enthoughtbase. Thanks.

comment:7 in reply to:  4 ; Changed 9 years ago by bjandre@…

Replying to ryandesign@…:

  • r74315: updated py25-traits and py26-traits to 3.5.0

This appears to require that the py26-traitsgui package be upgraded to 3.5 as well.

$ mayavi2-2.6 
Traceback (most recent call last):
  File "/opt/local/bin/mayavi2-2.6", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 2675, in <module>
    parse_requirements(__requires__), Environment()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/pkg_resources.py", line 556, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (TraitsGUI 3.4.0 (/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages), Requirement.parse('TraitsGUI>=3.5.0.dev'))

$ port search TraitsGUI
py26-traitsgui @3.4.0 (python, devel)
    The Enthought traitsgui package

comment:8 in reply to:  7 ; Changed 9 years ago by jjstickel@…

Replying to bjandre@…:

Replying to ryandesign@…:

  • r74315: updated py25-traits and py26-traits to 3.5.0

This appears to require that the py26-traitsgui package be upgraded to 3.5 as well.

The patch for the portfile for traitsgui is attached here as well. You can use it in your local tree until the developers make the commits.

comment:9 in reply to:  8 Changed 9 years ago by kyle.tarplee@…

Replying to jjstickel@…:

Replying to bjandre@…:

Replying to ryandesign@…:

  • r74315: updated py25-traits and py26-traits to 3.5.0

This appears to require that the py26-traitsgui package be upgraded to 3.5 as well.

The patch for the portfile for traitsgui is attached here as well. You can use it in your local tree until the developers make the commits.

This is just a reminder to apply the patch for py26-traitsgui to get it to 3.5.0 so that mayavi will for again.

comment:10 Changed 9 years ago by jjstickel@…

Ping.

Next time I will submit separate tickets for each portfile patch. Nonetheless, these are here, and it would be nice if they could be committed.

Actually, I see there are upstream updates for several of these. I do not know what improvements they bring. Would it be preferred that I prepare new versions as separate tickets now, and close this one as obsolete?

comment:11 Changed 9 years ago by ryandesign (Ryan Schmidt)

Sorry I forgot about this ticket. If you can supply updated patches, attaching them to this ticket would be fine.

Changed 9 years ago by jjstickel@…

Changed 9 years ago by jjstickel@…

Attachment: py26-traits_Portfile.diff added

Changed 9 years ago by jjstickel@…

Changed 9 years ago by jjstickel@…

Changed 9 years ago by jjstickel@…

Attachment: py26-apptools_Portfile.diff added

Changed 9 years ago by jjstickel@…

Changed 9 years ago by jjstickel@…

Changed 9 years ago by jjstickel@…

comment:12 in reply to:  11 Changed 9 years ago by jjstickel@…

Replying to ryandesign@…:

Sorry I forgot about this ticket. If you can supply updated patches, attaching them to this ticket would be fine.

I have replaced the patches with new ones. Patches are against Porfiles currently in the Macports tree. All except py26-mayavi are simple version number increments and checksum changes. py26-mayavi required simple patches to documentation Makefiles and a new dependency on py26-sphinx.

Let me know if there any issues that I can address.

Changed 9 years ago by jjstickel@…

Attachment: py26-mayavi_Portfile.diff added

comment:13 Changed 9 years ago by jjstickel@…

I removed the ipython dependency for mayavi since it isn't required (although it is needed to run the Mayavi GUI).

comment:14 Changed 9 years ago by mf2k (Frank Schima)

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