Hello community, here is the log from the commit of package spyder3 for openSUSE:Factory checked in at 2017-08-30 16:24:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/spyder3 (Old) and /work/SRC/openSUSE:Factory/.spyder3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "spyder3" Wed Aug 30 16:24:06 2017 rev:15 rq:519549 version:3.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/spyder3/spyder3.changes 2017-01-25 23:18:25.559202795 +0100 +++ /work/SRC/openSUSE:Factory/.spyder3.new/spyder3.changes 2017-08-30 16:24:07.829663322 +0200 @@ -1,0 +2,7 @@ +Mon Aug 28 20:47:39 UTC 2017 - [email protected] + +- Update to version 3.2.1 + * See: https://github.com/spyder-ide/spyder/blob/v3.2.1/CHANGELOG.md +- Update dependencies + +------------------------------------------------------------------- Old: ---- spyder-3.0.0.tar.gz New: ---- spyder-3.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ spyder3.spec ++++++ --- /var/tmp/diff_new_pack.SPbnEI/_old 2017-08-30 16:24:08.665545740 +0200 +++ /var/tmp/diff_new_pack.SPbnEI/_new 2017-08-30 16:24:08.673544615 +0200 @@ -1,7 +1,7 @@ # # spec file for package spyder3 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,8 +16,10 @@ # +%bcond_with test +%define X_display ":98" Name: spyder3 -Version: 3.0.0 +Version: 3.2.1 Release: 0 Url: https://github.com/spyder-ide/spyder Summary: Scientific PYthon Development EnviRonment @@ -25,52 +27,69 @@ Group: Development/Languages/Python 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-Jinja2 -BuildRequires: python3-Pygments >= 2.0 -BuildRequires: python3-QtAwesome +BuildRequires: python-rpm-macros +BuildRequires: python3-QtAwesome >= 0.4.1 BuildRequires: python3-QtPy >= 1.1.0 +BuildRequires: python3-Pygments >= 2.0 BuildRequires: python3-Sphinx >= 0.6.0 +BuildRequires: python3-chardet >= 2.0.0 BuildRequires: python3-devel -BuildRequires: python3-jedi +BuildRequires: python3-jedi >= 0.9.0 BuildRequires: python3-jupyter_nbconvert BuildRequires: python3-jupyter_qtconsole >= 4.2.0 -BuildRequires: python3-pep8 +BuildRequires: python3-numpydoc BuildRequires: python3-pickleshare +BuildRequires: python3-pycodestyle BuildRequires: python3-pyflakes BuildRequires: python3-pylint +BuildRequires: python3-psutil BuildRequires: python3-pyzmq -BuildRequires: python3-rope +BuildRequires: python3-qt5 >= 5.2 +BuildRequires: python3-rope >= 0.10.5 +BuildRequires: python3-setuptools BuildRequires: update-desktop-files -Requires: python3-Jinja2 -Requires: python3-QtAwesome +%if %{with test} +BuildRequires: python3-Cython +BuildRequires: python3-Pillow +BuildRequires: python3-flaky +BuildRequires: python3-matplotlib +BuildRequires: python3-opengl +BuildRequires: python3-pandas +BuildRequires: python3-pytest +BuildRequires: python3-pytest-cov +BuildRequires: python3-pytest-qt +BuildRequires: python3-pytest-timeout +BuildRequires: python3-pytest-xvfb +BuildRequires: python3-scipy +BuildRequires: python3-sympy +BuildRequires: xauth +BuildRequires: xorg-x11-server +%endif +Requires: python3-Pygments >= 2.0 +Requires: python3-QtAwesome >= 0.4.1 Requires: python3-QtPy >= 1.1.0 Requires: python3-Sphinx >= 0.6.0 +Requires: python3-chardet >= 2.0.0 +Requires: python3-jedi >= 0.9.0 +Requires: python3-jupyter_nbconvert +Requires: python3-jupyter_qtconsole >= 4.2.0 +Requires: python3-numpydoc +Requires: python3-pickleshare +Requires: python3-psutil +Requires: python3-pycodestyle +Requires: python3-pyflakes +Requires: python3-pylint +Requires: python3-opengl Requires: python3-pyzmq +Requires: python3-qt5 >= 5.2 +Requires: python3-rope >= 0.10.5 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-matplotlib >= 1.0 Recommends: python3-numpy -Recommends: python3-pandas -Recommends: python3-pep8 -Recommends: python3-pexpect -Recommends: python3-pickleshare -Recommends: python3-psutil -Recommends: python3-pyflakes -Recommends: python3-python-dateutil -Recommends: python3-rope +Recommends: python3-pandas >= 0.13.1 Recommends: python3-scipy -Recommends: python3-sympy -Recommends: python3-tk +Recommends: python3-sympy >= 0.7.3 Recommends: %{name}-breakpoints Recommends: %{name}-dicom Recommends: %{name}-hdf5 @@ -164,6 +183,7 @@ %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 @@ -174,10 +194,10 @@ sed -i '1{\@^#!/usr/bin/env python@d}' spyder/app/restart.py %build -python3 setup.py build +%python3_build %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python3_install # remove windows stuff rm %{buildroot}%{_bindir}/spyder_win_post_install.py @@ -201,6 +221,15 @@ %suse_update_desktop_file %{name} %fdupes %{buildroot}%{python3_sitelib} +%if %{with test} +%check +export DISPLAY=%{X_display} +Xvfb %{X_display} >& Xvfb.log & +trap "kill $! || true" EXIT +sleep 10 +python3 -B -m pytest spyder +%endif + %files %defattr(-,root,root,-) %doc LICENSE README.md @@ -213,6 +242,8 @@ %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/pixmaps/%{name}.png +%dir %{_datadir}/metainfo/ +%{_datadir}/metainfo/%{name}.appdata.xml %files breakpoints %defattr(-,root,root,-) ++++++ spyder-3.0.0.tar.gz -> spyder-3.2.1.tar.gz ++++++ ++++ 74143 lines of diff (skipped)
