Opened 14 years ago
Closed 14 years ago
#27458 closed submission (fixed)
py26-pymca submission
Reported by: | Tom.Schoonjans@… | Owned by: | mf2k (Frank Schima) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | py26-pymca |
Description
Please include pymca in Macports
Thanks in advance,
Tom
Attachments (1)
Change History (11)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Port: | py26-pymca added |
Summary: | PyMCA submission → py26-pymca submission |
comment:2 Changed 14 years ago by Tom.Schoonjans@…
The h5py dependency adds hdf5 file format support. The matplotlib dependency provides high quality output capabilities. The pyopengl dependency allows for 3D visualization to the program.
PyMca detects the presence of these modules at runtime and it will use them if available.
Please also consider the new Portfile. The previous one included h5py as a forced dependency and as a variant.
Thanks
comment:4 Changed 14 years ago by mf2k (Frank Schima)
You are still only adding dependencies for the variants. It looks like if someone does have py26-h5py installed but does not select the hdf5 variant, it will still add support for it. Now it is a hidden dependency. I suggest always adding support for hdf5, opengl and matplotlib and just add the dependencies and remove the variants.
Changed 14 years ago by Tom.Schoonjans@…
comment:6 follow-up: 8 Changed 14 years ago by mf2k (Frank Schima)
It builds for me, but when i run pymca, i see the following error:
$ pymca Traceback (most recent call last): File "/opt/local/bin/pymca", line 9, in <module> execfile(os.path.join(os.path.dirname(PyMca.__file__), 'PyMcaMain.py')) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyMca/PyMcaMain.py", line 163, in <module> import McaWindow File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyMca/McaWindow.py", line 30, in <module> import QtBlissGraph File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyMca/QtBlissGraph.py", line 33, in <module> from PyQt4 import Qwt5 as qwt File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/Qwt5/__init__.py", line 32, in <module> from Qwt import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/Qwt5/Qwt.so, 2): Library not loaded: /opt/local/lib/libqwt.5.2.0.dylib Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/Qwt5/Qwt.so Reason: image not found
comment:8 Changed 14 years ago by Tom.Schoonjans@…
Weird. To me it looks like you have a problem with your PyQwt installation...
The qwt dependency of PyMCA should be resolved through the explicit py26-pyqwt dependency
Replying to macsforever2000@…:
It builds for me, but when i run pymca, i see the following error:
$ pymca Traceback (most recent call last): File "/opt/local/bin/pymca", line 9, in <module> execfile(os.path.join(os.path.dirname(PyMca.__file__), 'PyMcaMain.py')) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyMca/PyMcaMain.py", line 163, in <module> import McaWindow File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyMca/McaWindow.py", line 30, in <module> import QtBlissGraph File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyMca/QtBlissGraph.py", line 33, in <module> from PyQt4 import Qwt5 as qwt File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/Qwt5/__init__.py", line 32, in <module> from Qwt import * ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/Qwt5/Qwt.so, 2): Library not loaded: /opt/local/lib/libqwt.5.2.0.dylib Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyQt4/Qwt5/Qwt.so Reason: image not found
comment:9 Changed 14 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to macsforever2000@… |
---|---|
Status: | new → assigned |
comment:10 Changed 14 years ago by mf2k (Frank Schima)
Cc: | macsforever2000@… removed |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Version: | 1.9.2 |
You're right. I had to rebuild py26-pyqwt - i will revbump it. Now it works.
added in r74684 with minor lint fixes.
Shouldn't those variants be doing something more than just adding a dependency? Using a configure flag or something to inform pymca that it should link with those libraries?