[MacPorts] #56139: update to pymol 2.1.0 with PyQt interface support

MacPorts noreply at macports.org
Fri Apr 13 17:14:00 UTC 2018


#56139: update to pymol 2.1.0 with PyQt interface support
------------------------+--------------------
  Reporter:  jwhowarth  |      Owner:  (none)
      Type:  update     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  pymol      |
------------------------+--------------------
Description changed by jwhowarth:

Old 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.

New description:

 The attached Portfile.diff switches the build of pymol to use the new PyQt
 interface. The package retains the dependencies to build the legacy
 plugins against the tk interface so the apbs tools plugin is still usable.
 Note that pmw and pdb2pqr are still python 2.7-centric so that the apbs
 tools plugin is only usable for the default python27 variant of pymol.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/56139#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list