Hello community, here is the log from the commit of package python-seaborn for openSUSE:Factory checked in at 2017-05-08 19:03:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-seaborn (Old) and /work/SRC/openSUSE:Factory/.python-seaborn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-seaborn" Mon May 8 19:03:10 2017 rev:2 rq:492931 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-seaborn/python-seaborn.changes 2017-01-25 23:18:35.809656585 +0100 +++ /work/SRC/openSUSE:Factory/.python-seaborn.new/python-seaborn.changes 2017-05-08 19:03:54.184608797 +0200 @@ -1,0 +2,12 @@ +Thu May 4 20:16:19 UTC 2017 - toddrme2...@gmail.com + +- Implement singlespec version. + +------------------------------------------------------------------- +Wed Mar 1 17:07:07 UTC 2017 - toddrme2...@gmail.com + +- Temporarily disable tests. There are multiple spurious test + failures due to upstream changes that do not affect real-world + usage. Tests should be re-enabled in next release. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-seaborn.spec ++++++ --- /var/tmp/diff_new_pack.LJaPld/_old 2017-05-08 19:03:55.340445515 +0200 +++ /var/tmp/diff_new_pack.LJaPld/_new 2017-05-08 19:03:55.344444950 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-seaborn # -# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -15,7 +15,11 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# Spurious test failures due to upstream changes +# Should be fixed in next release after 0.7.1 +%bcond_with tests +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-seaborn Version: 0.7.1 Release: 0 @@ -24,22 +28,26 @@ Group: Development/Languages/Python Url: https://pypi.python.org/pypi/seaborn/ Source: https://files.pythonhosted.org/packages/source/s/seaborn/seaborn-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-Pillow -BuildRequires: python-fastcluster -BuildRequires: python-matplotlib -BuildRequires: python-numpy-devel -BuildRequires: python-pandas -BuildRequires: python-patsy -BuildRequires: python-scipy -BuildRequires: python-six -BuildRequires: python-statsmodels -BuildConflicts: python-buildservice-tweak +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module fastcluster} +BuildRequires: %{python_module matplotlib} +BuildRequires: %{python_module numpy-devel} +BuildRequires: %{python_module pandas} +BuildRequires: %{python_module patsy} +BuildRequires: %{python_module scipy} +BuildRequires: %{python_module six} +BuildRequires: %{python_module statsmodels} +%if %{with tests} # Testing requirements -BuildRequires: python-jupyter_ipython -BuildRequires: python-jupyter_notebook -BuildRequires: python-nose +BuildRequires: %{python_module jupyter_ipython} +BuildRequires: %{python_module jupyter_notebook} +BuildRequires: %{python_module nose} +BuildConflicts: python-buildservice-tweak +%endif Requires: python-matplotlib Requires: python-numpy Requires: python-pandas @@ -50,11 +58,8 @@ Recommends: python-patsy Recommends: python-statsmodels BuildRoot: %{_tmppath}/%{name}-%{version}-build -%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 +%python_subpackages %description Seaborn is a library for making attractive and informative @@ -83,16 +88,23 @@ %setup -q -n seaborn-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with tests} %check -nosetests +%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitelib}" +nosetests-%{$python_bin_suffix} +} +%endif -%files +%files %{python_files} %defattr(-,root,root,-) +%doc LICENSE README.md +%doc licences/ %{python_sitelib}/* %changelog