Hello community, here is the log from the commit of package spyder for openSUSE:Factory checked in at 2013-08-14 22:58:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spyder (Old) and /work/SRC/openSUSE:Factory/.spyder.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spyder" Changes: -------- --- /work/SRC/openSUSE:Factory/spyder/spyder.changes 2013-04-24 09:48:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.spyder.new/spyder.changes 2013-08-14 22:58:48.000000000 +0200 @@ -1,0 +2,7 @@ +Tue Aug 13 10:00:20 UTC 2013 - [email protected] + +- Updato to version 2.2.1 (bnc#833564): + + Upstream provides no changelog +- Install documentation into correct location + +------------------------------------------------------------------- Old: ---- spyder-2.1.13.zip New: ---- spyder-2.2.1.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spyder.spec ++++++ --- /var/tmp/diff_new_pack.VOcKok/_old 2013-08-14 22:58:49.000000000 +0200 +++ /var/tmp/diff_new_pack.VOcKok/_new 2013-08-14 22:58:49.000000000 +0200 @@ -17,16 +17,13 @@ Name: spyder -%define modname %{name}lib -Version: 2.1.13 +Version: 2.2.1 Release: 0 Url: http://spyderlib.googlecode.com Summary: Scientific PYthon Development EnviRonment License: MIT Group: Development/Languages/Python -Source: http://%{modname}.googlecode.com/files/%{name}-%{version}.zip -# PATCH-FIX-UPSTREAM version_check.patch -- Fixes detection of pyqt version -Patch0: version_check.patch +Source: http://spyderlib.googlecode.com/files/%{name}-%{version}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: IPython BuildRequires: fdupes @@ -45,7 +42,7 @@ %if 0%{?suse_version} <= 1210 BuildRequires: update-desktop-files %endif -Requires: python-%{modname} = %{version} +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 @@ -58,12 +55,11 @@ GUI-based editors for dictionaries, lists, NumPy arrays, etc.), object inspector, online help, and a lot more. -%package -n python-%{modname} +%package -n python-spyderlib Summary: Python GUI components Group: Development/Languages/Python Requires: python-Sphinx >= 0.6.0 Requires: python-qt4 >= 4.4 -Requires: python(abi) = %{py_ver} Recommends: IPython Recommends: python-matplotlib Recommends: python-numpy @@ -74,92 +70,64 @@ Recommends: python-rope >= 0.9.0 Recommends: python-scipy -%description -n python-%{modname} +%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 %{modname} +Summary: Documentation for %{name} and spyderlib Group: Development/Languages/Python Requires: %{name} = %{version} -Requires: python(abi) = %{py_ver} %description doc -Documentation and help files for both %{name} and -%{modname} +Documentation and help files for both %{name} and spyderlib %lang_package %prep %setup -q -%patch0 -p1 - -# add icon line to the .desktop file -sed -i '9 i Icon=spyder' scripts/spyder.desktop - -# fix encoding -sed -i 's/\r//' doc/{console,editor,explorer,findinfiles,historylog,index,inspector,internalconsole,lightmode,onlinehelp,options,overview,projectexplorer,pylint,variableexplorer}.rst %build -export CFLAGS="%{optflags}" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} - -# remove hidden file -rm %{buildroot}%{python_sitelib}/%{modname}/doc/.buildinfo - # remove windows stuff rm %{buildroot}%{_bindir}/spyder_win_post_install.py - -# fix permission -chmod +x %{buildroot}%{python_sitelib}/%{modname}/utils/external/pickleshare.py - # create missing directories -mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ - -# install the .desktop file -cp scripts/spyder.desktop %{buildroot}%{_datadir}/applications/ - # install the icon pushd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ -ln -s %{python_sitelib}/%{modname}/images/spyder.svg +ln -s %{python_sitelib}/spyderlib/images/spyder.svg popd - -%find_lang %{modname} - +%find_lang spyderlib %if 0%{?suse_version} <= 1210 %suse_update_desktop_file spyder %endif - -%fdupes %{buildroot} - -%clean -rm -rf %{buildroot} +%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-%{modname} +%files -n python-spyderlib %defattr(-,root,root,-) -%{python_sitelib}/%{modname}/ +%{python_sitelib}/spyderlib/ %{python_sitelib}/spyderplugins/ %{python_sitelib}/%{name}-%{version}-py%{py_ver}.egg-info -%exclude %{python_sitelib}/%{modname}/doc -%exclude %{python_sitelib}/%{modname}/locale/ -%exclude %{python_sitelib}/spyderplugins/locale/ +%exclude %{python_sitelib}/spyderlib/locale/ %files doc %defattr(-,root,root,-) -%doc README -%doc %{python_sitelib}/%{modname}/doc +%doc build/lib/spyderlib/doc/ -%files lang -f %{modname}.lang +%files lang -f spyderlib.lang %defattr(-,root,root) -%{python_sitelib}/%{modname}/locale +%{python_sitelib}/spyderlib/locale %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
