Revision: 86691 http://trac.macports.org/changeset/86691 Author: eborisch@macports.org Date: 2011-11-01 06:39:50 -0700 (Tue, 01 Nov 2011) Log Message: ----------- py-spyder-beta: Update to 2.1.0. Will replace py-spyder soon. Modified Paths: -------------- trunk/dports/python/py-spyder-beta/Portfile trunk/dports/python/py-spyder-beta/files/spyderlib_utils_programs.py.diff Modified: trunk/dports/python/py-spyder-beta/Portfile =================================================================== --- trunk/dports/python/py-spyder-beta/Portfile 2011-11-01 13:18:23 UTC (rev 86690) +++ trunk/dports/python/py-spyder-beta/Portfile 2011-11-01 13:39:50 UTC (rev 86691) @@ -3,7 +3,7 @@ PortSystem 1.0 name py-spyder-beta -version 2.1.0rc2 +version 2.1.0 PortGroup python 1.0 @@ -16,24 +16,29 @@ maintainers eborisch openmaintainer license MIT homepage http://packages.python.org/spyder/ -description development environment with advanced editing, \ +description Spyder is the Scientific PYthon Development EnviRonment +long_description ${description}. \ + Spyder provides a powerful interactive development \ + environment for the Python language with advanced \ + editing, interactive testing, debugging and introspection \ + features as well as a numerical computing environment \ + thanks to the support of IPython (enhanced interactive \ + Python interpreter) and popular Python libraries such as \ + NumPy (linear algebra), SciPy (signal and image \ + processing) or matplotlib (interactive 2D/3D plotting) \ + development environment with advanced editing, \ interactive testing, debugging and introspection features. -long_description ${description} It is especially recommended for \ - scientific computing thanks to NumPy (linear algebra), \ - SciPy (signal and image processing), matplotlib \ - (interactive 2D/3D plotting) and MayaVi’s mlab \ - (interactive 3D visualization) support. master_sites googlecode:spyderlib distname spyder-${version} use_zip yes -#pyNN-pyqt4 doesn't want to build universal +#pyNN-scipy doesn't build universal universal_variant no -checksums md5 9a4ac8f757ba7f77d40f591d69b106ca \ - sha1 48dbbf70372280cf869fc6bd37e6c4a82b2ba11d \ - rmd160 dace63d20e6eedb0770940b96dca794104cbb30e +checksums md5 e91d54204d4a9d767921f235d212a7bd \ + sha1 7d06342a6f90dbef00fc1339c9f3644b3d6f2408 \ + rmd160 b1b1caeb4c0466b3f3e8f5368a39dfb7d624d774 if {${subport} != ${name}} { conflicts port:py${python.version}-spyder Modified: trunk/dports/python/py-spyder-beta/files/spyderlib_utils_programs.py.diff =================================================================== --- trunk/dports/python/py-spyder-beta/files/spyderlib_utils_programs.py.diff 2011-11-01 13:18:23 UTC (rev 86690) +++ trunk/dports/python/py-spyder-beta/files/spyderlib_utils_programs.py.diff 2011-11-01 13:39:50 UTC (rev 86691) @@ -11,17 +11,3 @@ def find_program(basename): -@@ -48,7 +54,12 @@ - from spyderlib.qt.QtGui import QDesktopServices - from spyderlib.qt.QtCore import QUrl - url = QUrl() -- url.setPath(filename) -+ if 'file:///' in filename[0:8]: -+ url = url.fromLocalFile(filename[7:]) -+ elif osp.isfile(filename): -+ url = url.fromLocalFile(filename) -+ else: -+ url.setUrl(filename) - return QDesktopServices.openUrl(url) - - def python_script_exists(package=None, module=None, get_path=False):