Changeset 82247
- Timestamp:
- 08/11/11 10:25:58 (4 years ago)
- Location:
- trunk/dports/python/py-spyder
- Files:
-
- 2 edited
- 1 moved
-
. (moved) (moved from trunk/dports/python/py27-spyder)
-
Files/patch-widgets-pylintgui.py.diff (modified) (1 diff)
-
Portfile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/python/py-spyder/Files/patch-widgets-pylintgui.py.diff
r82219 r82247 6 6 7 7 -PYLINT_PATH = programs.get_nt_program_name('pylint') 8 +PYLINT_PATH = programs.get_nt_program_name(' pylint-2.7')8 +PYLINT_PATH = programs.get_nt_program_name('@@LINT_BIN_NAME@@') 9 9 10 10 def is_pylint_installed(): -
trunk/dports/python/py-spyder/Portfile
r82219 r82247 1 # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=41 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup python27 1.0 5 name py-spyder 6 version 2.0.12 7 revision 2 8 9 PortGroup python 1.0 10 11 #Waiting for py26-spyder maintainer to either take over or abandon 12 #python.versions 25 26 27 13 python.versions 25 27 14 python.default_version 27 15 6 16 PortGroup qt4 1.0 7 8 name py27-spyder9 version 2.0.1210 revision 111 17 categories python devel 12 18 platforms darwin … … 26 32 use_zip yes 27 33 28 depends_lib-append port:py27-pyqt4 \ 29 port:py27-lint \ 30 port:py27-numpy \ 31 port:py27-scipy \ 32 port:py27-matplotlib \ 33 port:py27-sphinx 34 #pyNN-pyqt4 doesn't want to build universal 35 universal_variant no 34 36 35 37 checksums md5 035852cfc6109541d72003111cf31bb3 \ 36 38 sha1 a592caf81f4c1f72d637a5269f5c60f8f43e57ee 37 39 38 patchfiles patch-widgets-pylintgui.py.diff 40 if {${subport} != ${name}} { 41 # Set the pylint executable name 42 set LINT_BIN_NAME pylint-${python.branch} 43 patchfiles patch-widgets-pylintgui.py.diff 39 44 40 post-destroot { 41 ln -s ${python.prefix}/bin/spyder ${destroot}${prefix}/bin/ 45 post-patch { 46 reinplace "s|@@LINT_BIN_NAME@@|${LINT_BIN_NAME}|g" \ 47 ${worksrcpath}/spyderplugins/widgets/pylintgui.py 48 } 49 50 depends_lib-append port:py${python.version}-pyqt4 \ 51 port:py${python.version}-lint \ 52 port:py${python.version}-scipy \ 53 port:py${python.version}-matplotlib \ 54 port:py${python.version}-sphinx \ 55 port:py${python.version}-pyflakes \ 56 port:py${python.version}-ipython \ 57 port:py${python.version}-rope 58 59 if {${python.version} == ${python.default_version}} { 60 post-destroot { 61 ln -s ${python.prefix}/bin/spyder ${destroot}${prefix}/bin/ 62 } 63 } 42 64 } 43 65 44 66 livecheck.type regex 45 67 livecheck.url http://code.google.com/p/spyderlib/ 46 livecheck.regex spyder-( 0\.\[0-9\]+\.\[0-9\]+)68 livecheck.regex spyder-(\[0-9\]+\.\[0-9\]+(\.\[0-9\]+)?)
Note: See TracChangeset
for help on using the changeset viewer.

