Hello community,

here is the log from the commit of package spyder.1944 for openSUSE:12.3:Update 
checked in at 2013-08-21 14:45:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.3:Update/spyder.1944 (Old)
 and      /work/SRC/openSUSE:12.3:Update/.spyder.1944.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spyder.1944"

Changes:
--------
New Changes file:

--- /dev/null   2013-07-23 23:44:04.804033756 +0200
+++ /work/SRC/openSUSE:12.3:Update/.spyder.1944.new/spyder.changes      
2013-08-21 14:45:16.000000000 +0200
@@ -0,0 +1,172 @@
+-------------------------------------------------------------------
+Tue Aug 13 10:00:20 UTC 2013 - speili...@suse.com
+
+- Updato to version 2.2.1 (bnc#833564):
+  + Upstream provides no changelog
+- Install documentation into correct location
+
+-------------------------------------------------------------------
+Mon Apr 22 21:48:07 UTC 2013 - hrvoje.sen...@gmail.com
+
+- Added version_check.patch, fixes detection of pyqt version
+
+-------------------------------------------------------------------
+Thu Feb 14 01:24:49 UTC 2013 - fi...@opensuse.org
+
+- Update to version 2.1.13:
+  * Bug fixes
+
+-------------------------------------------------------------------
+Thu Nov 29 17:20:37 UTC 2012 - toddrme2...@gmail.com
+
+- Fix typo
+
+-------------------------------------------------------------------
+Thu Nov 29 13:05:17 UTC 2012 - toddrme2...@gmail.com
+
+- Update to Version 2.1.11
+  * Bug fixes
+- Split documentation package
+- Split spyderlib package and binary package, since spyderlib is
+  used independently of the spyder gui
+- Spec file cleanups
+
+-------------------------------------------------------------------
+Tue Jun 12 08:32:23 UTC 2012 - toddrme2...@gmail.com
+
+- Install desktop file, with appropriate icon
+- Tag documentation in spec file
+- Fix rpmlint warnings
+
+-------------------------------------------------------------------
+Mon May 28 09:40:29 UTC 2012 - toddrme2...@gmail.com
+
+- Update to Version 2.1.10
+  * Bug fixes
+
+-------------------------------------------------------------------
+Tue May 22 15:46:57 UTC 2012 - toddrme2...@gmail.com
+
+- Update dependencies
+- Clean up spec file formatting
+- Update to Version 2.1.9
+  * Bug fixes
+- Update to Version 2.1.8
+  * Bug fixes
+- Update to Version 2.1.7
+  * Bug fixes
+  * Variable explorer/Array editor: added support for masked arrays
+  * Showing Spyder's internal console automatically when there is a traceback
+  * Do not crash when a 3rd party plugin failed to import
+  * Editor:
+    * Automatic insertion of single, double and triple quotes
+    * Automatically colons insertion when pressing Enter after 'if', 'def', etc
+    * Don't trigger code completion on comments if text ends with a dot
+    * Added keyboard shortcut (Ctrl+Shift+Escape) to clear the console
+    * Added keyboard shortcut (Ctrl+P) to print current file (thanks to fheday 
at gmail dot com for the contribution)
+    * Code introspection features (code completion, calltips, 
go-to-definition) are now working even if script has syntax errors
+- Update to Version 2.1.6
+  * Bug fixes
+- Update to Version 2.1.5
+  * Bug fixes
+  * Debugging: when a non-empty SPYDER_DEBUG environment variable exists, 
Spyder switch to debug mode (log files are created in user's home directory and 
debug prints are available in the terminal)
+  * Variable explorer/Dictionary editor: added option to plot histogram from a 
1-D array
+  * Console:
+    * standard Python interpreter is now a real Python interactive session: 
the older implementation was running a startup script and tried to emulate a 
standard Python interactive session (changing attributes like __name__, running 
the PYTHONSTARTUP script, etc.). But this implementation was not close enough 
to the standard Python interactive session, i.e. when you execute `python` 
outside Spyder, without any argument. A recent bug report confirmed this: the 
PYTHONSTARTUP script was executed but not exactly the same way as it is outside 
Spyder: for example, doing `from __future__ import division` in the startup 
script had no effect whereas it did outside Spyder.
+    * when running a standard Python interpreter, instead of running the 
startup script (spyderlib/widgets/externalshell/startup.py), the shell widget 
(ExternalPythonShell) simply runs the python executable with -u -i options, 
that's all. So now, the PYTHONSTARTUP script is executed as expected.
+    * Scientific startup script (default PYTHONSTARTUP in Spyder): added 
floating point division (from __future__ import division)
+    * PySide support:
+      * Added new "Qt (PyQt/PySide)" settings group in "External modules" tab
+      * It is now possible to select the Qt-Python bindings library: default 
(i.e. depends on the QT_API environment variable), PyQt or PySide
+      * The PyQt input hook has been adapted for PySide, so it is now possible 
to do interactive (non-blocking) plotting with PySide
+    * New options for standard Python interpreters (no effect on IPython):
+      * "Merge process standard output/error channels": merging the output 
channels of the process means that the standard error won't be written in red 
anymore, but this has the effect of speeding up display
+      * "Colorize standard error channel using ANSI escape codes": this method 
is the only way to have colorized standard error channel when the output 
channels have been merged
+  * Internal console (Issue 868): output is now immediately available
+  * "Maximize current plugin" action: now automatically shows the "Outline" 
plugin when maximizing the "Editor" plugin
+  * Editor/Outline comment separators: allow space betwee hash and dash, e.g 
"# --- Outline Separator"
+- Update to Version 2.1.4
+  * Bug fixes
+  * Console:
+    * option "Open an IPython interperter at startup" is now *explicitely* 
disabled for IPython v0.11+ (these versions of IPython are not fully supported 
through Spyder's console plugin)
+- Update to Version 2.1.3
+  * Bug fixes
+  * Variable explorer performance were improved, especially when dealing with 
very long sequences -- See this discussion: 
http://groups.google.com/group/spyderlib/browse_thread/thread/3a7ef892695e417a
+  * Variable explorer / dictionary editor: added support for unknown objects 
-- this allows browsing any object attributes -- This is still experimental.
+- Update to Version 2.1.2
+  * Bug fixes
+  * File/Project explorer:
+    * Added "Delete" keyboard shortcut to remove selected file(s)/folder(s)
+    * SCM integration: added support for !TortoiseHg v2 (only v1 was supported)
+  * Console/Matplotlib options: the backend may now be set separately from the 
Matplotlib patch
+  * Console:
+    * The Matplotlib patch is only applied for Matplotlib <=v1.0
+    * !PyQt API version issues (error like "!ValueError: API 'QString' has 
already been set to version 1"): the "ignore setapi errors" option is disabled 
by default, to avoid masking these errors and associated tracebacks
+- Update to Version 2.1.1
+  * Bug fixes
+- Update to Version 2.1
+  * Bug fixes
+  * New *Profiler* plugin (thanks to Santiago Jaramillo)
+  * New experimental *IPython* plugin embedding IPython's Qt console: see 
[http://spyder-ide.blogspot.com/2011/08/preview-of-new-ipython-plugin-for.html 
here]
+  * General:
+    * Main window:
+      * added "Custom window layouts" management (see menu "View")/handling 3 
custom layouts: default shortcuts Shift+Alt+FX to switch to/from layout #X and 
Ctrl+Shift+Alt+FX to set layout #X
+      * "General" preferences page: added option to set the Qt windows style, 
depending on platform (Plastique, Cleanlooks, CDE, Windows...)
+      * Menu "?": added menu entry to report Spyder issues, filling 
automatically informations on your configuration
+      * Reorganized "Run"/"Source" menu, added "Interpreters" menu
+      * Fixed application name for Gnome 3/Fedora 15
+    * Command line options: added option "--defaults" to reset settings 
(stored in .spyder.ini) to defaults (a lot of settings are preserved: 
shortcuts, window layouts, ...) -- this is less brutal than "--reset" which 
reset all settings by removing all configuration files related to Spyder
+  * *Outline* (function/class browser) is now a plugin in itself, embedded in 
its own dockwidget: Spyder's window layout is even more customizable than before
+  * *Code completion*
+    * (Editor/Console): entries starting with an underscore character are now 
placed to the end of the suggested list
+    * (Editor/Console): Import statements are now completed correctly
+  * *Console*:
+    * Major code cleaning: running Python applications in Spyder has never 
been cleaner and is very close to a simple Python interpreter
+    * Added built-in function `open_in_spyder` to open a file in Spyder's 
source code editor from the console
+    * Standard Python interpreter:
+      * now refresh the variable explorer at each new prompt (even if 
auto-refresh is disabled -- actually, this is the typical use case)
+      * added support for basic special commands (%pwd, %ls, %clear) and 
system commands (starting with '!', e.g. !dir or !ls)
+      * added 
[http://spyder-ide.blogspot.com/2011/09/new-enhanced-scientific-python.html 
"scientific" startup script] with support for numpy, scipy and matplotlib
+    * Preferences (External modules tab):
+      * added an option to set !PyQt API to v1 or v2 -- this avoids issues 
with Enthought Tool Suite or any other library/program using !PyQt API v2 which 
is *not* the default API for Python 2
+      * changed matplotlib patch to fix compatiblity issue with !PyQt API v2
+    * Preferences (Advanced Settings tab): added option "Python executable" to 
customize path to Python interpreter executable binary
+  * *Variable explorer*:
+    * New HDF5 plugin ([http://code.google.com/u/DavidAnthonyPowell/ 
DavidAnthonyPowell]): import/export HDF5 files to/from the variable explorer
+    * Dictionary editor/Variable explorer:
+      * Added support for more NumPy data types
+      * Added action "Resize rows to contents" (partially implements feature 
requested with Issue 807)
+  * *Editor*:
+    * find/replace:
+      * added support for *multiline* regular expression search pattern
+      * added support for *multiline* regular expression text replacement
+      * added button "Highlight matches" to highlight all found results
+    * syntax highlighting: added support for OpenCL, gettext files, patch/diff 
files, CSS and HTML files
+    * support for "2 spaces" and "tabs" indentation characters
+    * new code analysis feature: added support for the 
[http://pypi.python.org/pypi/pep8 pep8] style guide checker
+    * "Comment" and "Uncomment" actions were replaced by a single 
"Comment/Uncommment" toggle action
+    * (Fixes  Issue 811 ) "Run configuration": added "Run in an external 
system terminal" option
+  * *File explorer* and *Project explorer*:
+    * great performance improvement (using a multithreaded file system model)
+    * Added minimalist SCM support (Mercurial and git are currently supported)
+  * *File explorer*: added an option to "Show current directory only"
+  * *Project explorer*: this plugin was entirely rewritten to improve 
performances and usability
+  * *Pylint plugin*:
+    * added option to save file before analyzing it
+  * *Spyder's console embedded in your application 
(spyderlib.widgets.internalshell):
+    * in traceback, a clickable link now opens the associated file in Spyder 
(if application was launched from Spyder with monitor enabled)
+    * Application sample embedding Spyder's internal shell: upgraded to 
guidata v1.4+ (simplified build script a lot!)
+- Update to Version 2.0.12
+  * Bug fixes
+  * (Fixes Issue 655) Editor/pyflakes-powered code analysis: warnings are now 
ignored for lines containing "pyflakes:ignore"
+  * Internal console (Spyder debugging only): turned off the multithreaded mode
+- Update to Version 2.0.11
+  * Bug fixes
+  * File explorer widget/plugin: improved performances (widget is now 
populated in a separate thread)
+  * Spyder crash dialog: warning the user about the '--reset' option (this 
will remove all configuration files)
+
+-------------------------------------------------------------------
+Sun Apr 17 14:48:10 UTC 2011 - sasc...@gmx.de
+
+- Initial version (2.0.10)
+

New:
----
  spyder-2.2.1.zip
  spyder-rpmlintrc
  spyder.changes
  spyder.spec
  version_check.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spyder.spec ++++++
#
# spec file for package spyder
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           spyder
Version:        2.2.1
Release:        0
Url:            http://spyderlib.googlecode.com
Summary:        Scientific PYthon Development EnviRonment
License:        MIT
Group:          Development/Languages/Python
Source:         http://spyderlib.googlecode.com/files/%{name}-%{version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  IPython
BuildRequires:  fdupes
BuildRequires:  python-Sphinx >= 0.6.0
BuildRequires:  python-devel >= 2.5
BuildRequires:  python-matplotlib
BuildRequires:  python-numpy
BuildRequires:  python-pep8
BuildRequires:  python-psutil
BuildRequires:  python-pyflakes >= 0.5.0
BuildRequires:  python-pylint
BuildRequires:  python-qt4 >= 4.4
BuildRequires:  python-rope => 0.9.0
BuildRequires:  python-scipy
BuildRequires:  unzip
%if 0%{?suse_version} <= 1210
BuildRequires:  update-desktop-files
%endif
Requires:       python-spyderlib = %{version}
%if 0%{?suse_version} <= 1110
%{!?python_sitelib:  %global python_sitelib  %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%else
BuildArch:      noarch
%endif

%description
A Scientific Python development environment, an alternative to IDLE 
with powerful interactive features such as variable explorer (with
GUI-based editors for dictionaries, lists, NumPy arrays, etc.), object
inspector, online help, and a lot more.

%package -n python-spyderlib
Summary:        Python GUI components
Group:          Development/Languages/Python
Requires:       python-Sphinx >= 0.6.0
Requires:       python-qt4 >= 4.4
Recommends:     IPython
Recommends:     python-matplotlib
Recommends:     python-numpy
Recommends:     python-pep8
Recommends:     python-psutil
Recommends:     python-pyflakes >= 0.5.0
Recommends:     python-pylint
Recommends:     python-rope >= 0.9.0
Recommends:     python-scipy

%description -n python-spyderlib
The spyderlib module provides powerful console and
editor related widgets to your PyQt4 application.

%package doc
Summary:        Documentation for %{name} and spyderlib
Group:          Development/Languages/Python
Requires:       %{name} = %{version}

%description doc
Documentation and help files for both %{name} and spyderlib

%lang_package
%prep
%setup -q

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# remove windows stuff
rm %{buildroot}%{_bindir}/spyder_win_post_install.py
# create missing directories
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
# install the icon
pushd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
ln -s %{python_sitelib}/spyderlib/images/spyder.svg
popd
%find_lang spyderlib
%if 0%{?suse_version} <= 1210
%suse_update_desktop_file spyder
%endif
%fdupes %{buildroot}%{python_sitelib}
# Documentation belongs into %{_docdir}:
rm -r %{buildroot}%{python_sitelib}/spyderlib/doc

%files
%defattr(-,root,root,-)
%doc README
%{_bindir}/%{name}
%{_datadir}/applications/spyder.desktop
%{_datadir}/icons/hicolor/scalable/apps/spyder.svg
%{_datadir}/pixmaps/spyder.png

%files -n python-spyderlib
%defattr(-,root,root,-)
%{python_sitelib}/spyderlib/
%{python_sitelib}/spyderplugins/
%{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info
%exclude %{python_sitelib}/spyderlib/locale/

%files doc
%defattr(-,root,root,-)
%doc build/lib/spyderlib/doc/

%files lang -f spyderlib.lang
%defattr(-,root,root)
%{python_sitelib}/spyderlib/locale

%changelog
++++++ spyder-rpmlintrc ++++++
addFilter("python-naming-policy-not-applied")
++++++ version_check.patch ++++++
diff -urNB spyder-2.1.13.orig/spyderlib/requirements.py 
spyder-2.1.13/spyderlib/requirements.py
--- spyder-2.1.13.orig/spyderlib/requirements.py        2013-01-04 
20:09:16.000000000 +0100
+++ spyder-2.1.13/spyderlib/requirements.py     2013-04-22 23:45:41.138802817 
+0200
@@ -9,13 +9,7 @@
 import sys
 import os
 import os.path as osp
-
-def check_version(actual_str, required_str):
-    """Return True if actual_str version fit required_str requirement"""
-    actual = actual_str.split('.')
-    required = required_str.split('.')
-    return actual[0] < required[0] or \
-           (actual[0] == required[0] and actual[1] < required[1])
+from distutils.version import LooseVersion
 
 def show_warning(message):
     """Show warning using Tkinter if available"""
@@ -43,12 +37,12 @@
     qt_infos = dict(pyqt=("PyQt4", "4.4"), pyside=("PySide", "1.0"))
     try:
         from spyderlib import qt
-        package_name, required_str = qt_infos[qt.API]
-        actual_str = qt.__version__
-        if check_version(actual_str, required_str):
+        package_name, required_ver = qt_infos[qt.API]
+        actual_ver = qt.__version__
+        if LooseVersion(actual_ver) < LooseVersion(required_ver):
             show_warning("Please check Spyder installation requirements:\n"
                          "%s %s+ is required (found v%s)."
-                         % (package_name, required_str, actual_str))
+                         % (package_name, required_ver, actual_ver))
     except ImportError:
         show_warning("Please check Spyder installation requirements:\n"
                      "%s %s+ (or %s %s+) is required."
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to