commit spyder3 for openSUSE:Factory
Hello community, here is the log from the commit of package spyder3 for openSUSE:Factory checked in at 2017-01-25 23:18:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spyder3 (Old) and /work/SRC/openSUSE:Factory/.spyder3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "spyder3" Changes: -------- --- /work/SRC/openSUSE:Factory/spyder3/spyder3.changes 2016-06-19 10:45:14.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.spyder3.new/spyder3.changes 2017-01-25 23:18:25.559202795 +0100 @@ -1,0 +2,27 @@ +Mon Oct 17 08:30:26 UTC 2016 - jengelh@inai.de + +- Update descriptions + +------------------------------------------------------------------- +Fri Oct 14 18:19:07 UTC 2016 - toddrme2178@gmail.com + +- Fix pylint dependency. + +------------------------------------------------------------------- +Thu Oct 13 21:34:50 UTC 2016 - toddrme2178@gmail.com + +- Update to version 3.0.0 + * See: https://github.com/spyder-ide/spyder/blob/3.x/CHANGELOG.md +- Remove spyderlib subpackage. spyderlib no longer exists. + Everything that was in spyderlib is now in the spyder namespace. +- Split plugins into their own subpackages. Plugins are each in + their own namespace, and third-party plugins are now possible. + Further, some plugins can pull in dependencies that some users + may not want. +- Update URL to new upstream URL. +- Add additional dependencies. +- Check which dependencies are really needed and which ones are + optional and divide them into Requires and Recommends + appropriately. + +------------------------------------------------------------------- Old: ---- spyder-2.3.9.zip New: ---- spyder-3.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spyder3.spec ++++++ --- /var/tmp/diff_new_pack.s53FZU/_old 2017-01-25 23:18:26.039130401 +0100 +++ /var/tmp/diff_new_pack.s53FZU/_new 2017-01-25 23:18:26.043129798 +0100 @@ -17,129 +17,244 @@ Name: spyder3 -Version: 2.3.9 +Version: 3.0.0 Release: 0 -Url: http://spyderlib.googlecode.com +Url: https://github.com/spyder-ide/spyder Summary: Scientific PYthon Development EnviRonment License: MIT Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/s/spyder/spyder-%{version}.zip +Source: https://files.pythonhosted.org/packages/source/s/spyder/spyder-%{version}.tar.gz Source1: spyder3-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes -BuildRequires: python3-Pygments +BuildRequires: python3-Jinja2 +BuildRequires: python3-Pygments >= 2.0 +BuildRequires: python3-QtAwesome +BuildRequires: python3-QtPy >= 1.1.0 BuildRequires: python3-Sphinx >= 0.6.0 BuildRequires: python3-devel -BuildRequires: python3-jupyter_ipykernel -BuildRequires: python3-jupyter_qtconsole -BuildRequires: python3-matplotlib -BuildRequires: python3-numpy -BuildRequires: python3-psutil -BuildRequires: python3-qt4 >= 4.6 -BuildRequires: python3-rope >= 0.9.2 -BuildRequires: python3-scipy -BuildRequires: unzip +BuildRequires: python3-jedi +BuildRequires: python3-jupyter_nbconvert +BuildRequires: python3-jupyter_qtconsole >= 4.2.0 +BuildRequires: python3-pep8 +BuildRequires: python3-pickleshare +BuildRequires: python3-pyflakes +BuildRequires: python3-pylint +BuildRequires: python3-pyzmq +BuildRequires: python3-rope BuildRequires: update-desktop-files -Requires: python3-spyderlib = %{version} -%if 0%{?suse_version} && 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 python3-spyderlib -Summary: Python GUI components -Group: Development/Languages/Python +Requires: python3-Jinja2 +Requires: python3-QtAwesome +Requires: python3-QtPy >= 1.1.0 Requires: python3-Sphinx >= 0.6.0 -Requires: python3-qt4 >= 4.6 -Recommends: python3-Pygments -Recommends: python3-flake8 -Recommends: python3-jupyter_ipykernel -Recommends: python3-jupyter_qtconsole +Requires: python3-pyzmq +Recommends: python3-Pillow +Recommends: python3-Pygments >= 2.0 +Recommends: python3-beautifulsoup4 +Recommends: python3-guidata +Recommends: python3-guiqwt +Recommends: python3-jedi +Recommends: python3-jupyter_ipython +Recommends: python3-jupyter_nbconvert +Recommends: python3-jupyter_nbformat +Recommends: python3-jupyter_qtconsole >= 4.2.0 Recommends: python3-matplotlib Recommends: python3-numpy +Recommends: python3-pandas Recommends: python3-pep8 +Recommends: python3-pexpect +Recommends: python3-pickleshare Recommends: python3-psutil -Recommends: python3-pyflakes >= 0.5.0 -Recommends: python3-pylint -Recommends: python3-rope >= 0.9.2 +Recommends: python3-pyflakes +Recommends: python3-python-dateutil +Recommends: python3-rope Recommends: python3-scipy +Recommends: python3-sympy +Recommends: python3-tk +Recommends: %{name}-breakpoints +Recommends: %{name}-dicom +Recommends: %{name}-hdf5 +Recommends: %{name}-profiler +Recommends: %{name}-pylint +Provides: python3-spyderlib = %{version} +Obsoletes: python3-spyderlib < %{version} +BuildArch: noarch + +%description +spyder is a scientific python development environment and an +alternative to IDLE with interactive features such as variable +explorer (with GUI-based editors for dictionaries, lists, NumPy +arrays, etc.), object inspector and online help. + +%package breakpoints +Summary: Breakpoint plugin for the Spyder IDE +Group: Development/Languages/Python +Requires: %{name} = %{version} + +%description breakpoints +spyder is a scientific python development environment and an +alternative to IDLE. + +This package contains the plugin that allows Spyder to control +breakpoints. + +%package dicom +Summary: DICOM I/O plugin for the Spyder IDE +Group: Development/Languages/Python +Requires: %{name} = %{version} +Requires: python3-pydicom + +%description dicom +spyder is a scientific python development environment and an +alternative to IDLE. + +This package contains the plugin that allows Spyder to read and write +DICOM files. + +%package hdf5 +Summary: HDF5 I/O plugin for the Spyder IDE +Group: Development/Languages/Python +Requires: %{name} = %{version} +Requires: python3-h5py + +%description hdf5 +spyder is a scientific python development environment and an +alternative to IDLE. + +This package contains the plugin that allows Spyder to read and write +HDF5 files. + +%package profiler +Summary: Profiler plugin for the Spyder IDE +Group: Development/Languages/Python +Requires: %{name} = %{version} + +%description profiler +spyder is a scientific python development environment and an +alternative to IDLE. + +This package contains the plugin that allows Spyder to profile +Python code. + +%package pylint +Summary: Pylint plugin for the Spyder IDE +Group: Development/Languages/Python +Requires: %{name} = %{version} +Requires: python3-pylint -%description -n python3-spyderlib -The spyderlib module provides powerful console and -editor related widgets to your PyQt4 application. +%description pylint +spyder is a scientific python development environment and an +alternative to IDLE. + +This package contains the plugin that allows Spyder to provide +inline pylint code analysis and warnings. %package doc -Summary: Documentation for spyder3 and python3-spyderlib +Summary: Documentation for the Spyder IDE Group: Development/Languages/Python -Recommends: spyder3 = %{version} -Recommends: python3-spyderlib = %{version} +Recommends: %{name} = %{version} %description doc -Documentation and help files for both spyder3 and python3-spyderlib +spyder is a scientific python development environment and an +alternative to IDLE. + +Documentation and help files for Spyder and its plugins. %lang_package +%lang_package -n %{name}-breakpoints +%lang_package -n %{name}-profiler +%lang_package -n %{name}-pylint %prep %setup -q -n spyder-%{version} # Fix wrong-file-end-of-line-encoding RPMLint warning sed -i 's/\r$//' doc/*.rst -sed -i 's/\r$//' spyderlib/userconfig.py +sed -i 's/\r$//' spyder/app/restart.py sed -i 's/\r$//' LICENSE +# Fix non-executable-script RPMLint warning +sed -i '1{\@^#!/usr/bin/env python@d}' spyder/app/restart.py %build -python3 setup.py build && rm build/lib/spyderlib/doc/.buildinfo +python3 setup.py build %install python3 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 +mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ pushd %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ -ln -s %{python3_sitelib}/spyderlib/images/spyder.svg %{name}.svg +ln -s %{python3_sitelib}/spyder/images/spyder.svg %{name}.svg popd -%find_lang spyderlib %{name}.lang -%find_lang p_breakpoints %{name}.lang -%find_lang p_profiler %{name}.lang -%find_lang p_pylint %{name}.lang + +# get the language files +%find_lang spyder %{name}.lang +%find_lang breakpoints breakpoints.lang +%find_lang profiler profiler.lang +%find_lang pylint pylint.lang + +# Documentation belongs in %%{_docdir}: +rm -r %{buildroot}%{python3_sitelib}/spyder/doc +rm -f build/lib/spyder/doc/.buildinfo + %suse_update_desktop_file %{name} %fdupes %{buildroot}%{python3_sitelib} -# Documentation belongs into _docdir: -rm -r %{buildroot}%{python3_sitelib}/spyderlib/doc -rm -f build/lib/spyderlib/doc/.buildinfo %files %defattr(-,root,root,-) +%doc LICENSE README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop +%{python3_sitelib}/spyder/ +%{python3_sitelib}/spyder-%{version}-py*.egg-info +%exclude %{python3_sitelib}/spyder/locale/ %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/pixmaps/%{name}.png -%files -n python3-spyderlib +%files breakpoints %defattr(-,root,root,-) -%doc LICENSE README.md -%{python3_sitelib}/spyderlib/ -%{python3_sitelib}/spyderplugins/ -%{python3_sitelib}/spyder-%{version}-py*.egg-info -%exclude %{python3_sitelib}/spyderlib/locale/ -%exclude %{python3_sitelib}/spyderplugins/locale/ +%{python3_sitelib}/spyder_breakpoints/ +%exclude %{python3_sitelib}/spyder_breakpoints/locale/ + +%files dicom +%defattr(-,root,root,-) +%{python3_sitelib}/spyder_io_dcm/ + +%files hdf5 +%defattr(-,root,root,-) +%{python3_sitelib}/spyder_io_hdf5/ + +%files profiler +%defattr(-,root,root,-) +%{python3_sitelib}/spyder_profiler/ +%exclude %{python3_sitelib}/spyder_profiler/locale/ + +%files pylint +%defattr(-,root,root,-) +%{python3_sitelib}/spyder_pylint/ +%exclude %{python3_sitelib}/spyder_pylint/locale/ %files doc %defattr(-,root,root,-) -%doc build/lib/spyderlib/doc/ +%doc build/lib/spyder/doc/ %files lang -f %{name}.lang %defattr(-,root,root) -%{python3_sitelib}/spyderlib/locale -%{python3_sitelib}/spyderplugins/locale/ +%{python3_sitelib}/spyder/locale/ + +%files breakpoints-lang -f breakpoints.lang +%defattr(-,root,root) +%{python3_sitelib}/spyder_breakpoints/locale/ + +%files profiler-lang -f profiler.lang +%defattr(-,root,root) +%{python3_sitelib}/spyder_profiler/locale/ + +%files pylint-lang -f pylint.lang +%defattr(-,root,root) +%{python3_sitelib}/spyder_pylint/locale/ %changelog
participants (1)
-
root@hilbertn.suse.de