Opened 7 years ago
Last modified 7 years ago
#56139 closed update
update to pymol 2.1.0 with PyQt interface support — at Initial Version
Reported by: | jwhowarth | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch maintainer | Cc: | |
Port: | pymol |
Description
The attached Portfile.diff allows the pymol 2.1.0 release to be built with its new PyQt support. A default x11 variant is added to the packaging to allow for the current build against X11/tk by default. The upstream code currently has two defects.
1) The tkinter based modules aren't accessible under the PyQt interface as expected. However, upstream is still blindly loading those modules under the PyQt interface so, if tkinter isn't installed, non-fatal warnings will appear such as...
No module named _tkinter Unable to initialize plugin 'remote_pdb_load' (pmg_tk.startup.remote_pdb_load). No module named _tkinter Unable to initialize plugin 'apbs_tools' (pmg_tk.startup.apbs_tools).
2) Currently pymol will always use the PyQt interface if it can be found. This causes the x11 variant of pymol to fail to properly detect its GL support.
I am posting this packaging so users can access it for testing and report any additional bugs to upsteam. Hopefully they will resolve the two issues noted above shortly.