Ticket #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@… |
| Port: | py26-mayavi |
Description
See attached patch files.
Attachments
Change History
comment:2 Changed 3 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 follow-up: ↓ 6 Changed 2 years ago by ryandesign@…
- Cc ryandesign@… added
- r74313: updated py25-enthoughtbase and py26-enthoughtbase to 3.0.6
comment:4 follow-up: ↓ 7 Changed 2 years ago by ryandesign@…
- r74315: updated py25-traits and py26-traits to 3.5.0
comment:5 Changed 2 years ago by ryandesign@…
- r74316: update py25-envisagecore and py26-envisagecore to 3.1.3
comment:6 in reply to: ↑ 3 Changed 2 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 ; follow-up: ↓ 8 Changed 2 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 ; follow-up: ↓ 9 Changed 2 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 2 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 2 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 follow-up: ↓ 12 Changed 2 years ago by ryandesign@…
Sorry I forgot about this ticket. If you can supply updated patches, attaching them to this ticket would be fine.
comment:12 in reply to: ↑ 11 Changed 2 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.
comment:13 Changed 2 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 2 years ago by macsforever2000@…
- Status changed from new to closed
- Resolution set to fixed


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