#30446 closed request (fixed)
Add py27-spyder port
Reported by: | mbrethen@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | lhl@…, eborisch (Eric A. Borisch), jameskyle@… | |
Port: | py27-spyder |
Description
Requesting an update to spyder 2.0.12 which supports py27.
Attachments (2)
Change History (15)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Keywords: | spyder python removed |
---|---|
Port: | py27-spyder added; py26-spyder removed |
Type: | update → request |
Version: | 1.9.2 |
comment:2 Changed 13 years ago by mf2k (Frank Schima)
Summary: | py26-spyder update → Add py27-spyder port |
---|
comment:3 Changed 13 years ago by mbrethen@…
comment:4 Changed 13 years ago by mbrethen@…
The online documentation doesn't seem to be working in my local install. It could be related to this issue posted at spyderlib: http://code.google.com/p/spyderlib/issues/detail?id=577
comment:5 Changed 13 years ago by mbrethen@…
PyLint Panel in Spyder "Please install pylint"
I looked in /opt/local/bin and found 'pylint-2.7' which is a symbolic link to '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/pylint'. You should be able to type 'pylint script.py' in a command window, that's how pylint is intended to be used in Spyder.
comment:6 Changed 13 years ago by mbrethen@…
Traced the error to 'spyder-2.0.12/spyderplugins/widgets/pylintgui.py'. Expects to find 'pylint' in ${destroot}${prefix}/bin. Whereas pylint{-${python.branch}} is located in ${destroot}${prefix}/bin.
Changed 13 years ago by mbrethen@…
Attachment: | patch-widgets-pylintgui.py.diff added |
---|
patch to look for pylint by its correct MacPorts name
comment:7 Changed 13 years ago by mbrethen@…
Apply attached patch so that spyder-2.0.12/spyderplugins/widgets/pylintgui.py checks for pylint by the correct suffixed name.
comment:9 Changed 13 years ago by mbrethen@…
I didn't think of this before, but using 'port select' could be used to create a symbolic link 'pylint' in opt/local/bin. Thus, a patch to Spyder could be avoided. A pylint group is necessary in order to use the 'select' target keyword.
comment:10 Changed 13 years ago by mbrethen@…
Reference Ticket #30626 'pylint: use select portgroup'
comment:11 Changed 13 years ago by eborisch (Eric A. Borisch)
Cc: | eborisch@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I've committed this in r82219. I also fixed (in the same patchfile) the pylint parser for the updated (in 0.24.0 of pylint) output format.
comment:12 Changed 13 years ago by eborisch (Eric A. Borisch)
Cc: | jameskyle@… added |
---|
Added py26-spyder maintainer to copy list.
Tested local Portfile and seems to be working.