Ticket #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@…, jameskyle@… | |
| Port: | py27-spyder |
Description
Requesting an update to spyder 2.0.12 which supports py27.
Attachments
Change History
comment:1 Changed 22 months ago by macsforever2000@…
- Keywords spyder, python removed
- Version 1.9.2 deleted
- Type changed from update to request
- Port changed from py26-spyder to py27-spyder
comment:2 Changed 22 months ago by macsforever2000@…
- Summary changed from py26-spyder update to Add py27-spyder port
comment:4 Changed 22 months 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 22 months 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 22 months 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 22 months ago by mbrethen@…
- Attachment patch-widgets-pylintgui.py.diff added
patch to look for pylint by its correct MacPorts name
comment:7 Changed 22 months 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 22 months 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 22 months ago by mbrethen@…
Reference Ticket #30626 'pylint: use select portgroup'
comment:11 Changed 22 months ago by eborisch@…
- Status changed from new to closed
- Cc eborisch@… added
- Resolution set to fixed
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 22 months ago by eborisch@…
- Cc jameskyle@… added
Added py26-spyder maintainer to copy list.
comment:13 Changed 22 months ago by eborisch@…
See also #30720

