Hello community,

here is the log from the commit of package python-statsmodels for 
openSUSE:Factory checked in at 2017-05-08 19:03:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-statsmodels (Old)
 and      /work/SRC/openSUSE:Factory/.python-statsmodels.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-statsmodels"

Mon May  8 19:03:04 2017 rev:2 rq:492925 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-statsmodels/python-statsmodels.changes    
2017-01-25 23:19:54.521784060 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-statsmodels.new/python-statsmodels.changes   
    2017-05-08 19:03:52.648825752 +0200
@@ -1,0 +2,11 @@
+Thu May  4 19:56:08 UTC 2017 - toddrme2...@gmail.com
+
+- Update to 0.8.0 final
+  * The main features of this release are several new time series models based
+    on the statespace framework, multiple imputation using MICE as well as many
+    other enhancements. The codebase also has been updated to be compatible 
with
+    recent numpy and pandas releases.
+  * For a full ist see: 
http://www.statsmodels.org/stable/release/version0.8.html
+- Implement single-spec version
+
+-------------------------------------------------------------------

Old:
----
  statsmodels-0.8.0rc1.tar.gz

New:
----
  statsmodels-0.8.0.tar.gz

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

Other differences:
------------------
++++++ python-statsmodels.spec ++++++
--- /var/tmp/diff_new_pack.60hpqu/_old  2017-05-08 19:03:53.972638741 +0200
+++ /var/tmp/diff_new_pack.60hpqu/_new  2017-05-08 19:03:53.988636481 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-statsmodels
 #
-# 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,33 +15,38 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%bcond_without tests
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-statsmodels
-Version:        0.8.0~rc1
-%define tarver  0.8.0rc1
+Version:        0.8.0
 Release:        0
 Summary:        A Python module that allows users to explore data
 License:        BSD-3-Clause
 Group:          Development/Libraries/Python
 Url:            http://statsmodels.sourceforge.net/
-Source:         
https://files.pythonhosted.org/packages/source/s/statsmodels/statsmodels-%{tarver}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/s/statsmodels/statsmodels-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  gcc-fortran
-BuildRequires:  python-Cython >= 0.20.1
-BuildRequires:  python-devel >= 2.6
-BuildRequires:  python-matplotlib >= 1.0.0
-BuildRequires:  python-nose
-BuildRequires:  python-numpy-devel >= 1.7.0
-BuildRequires:  python-pandas >= 0.7.1
-BuildRequires:  python-patsy >= 0.3.0
-BuildRequires:  python-scipy >= 0.9.0
-BuildRequires:  python-setuptools >= 0.6
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools >= 0.6}
+BuildRequires:  %{python_module matplotlib >= 1.0.0}
+BuildRequires:  %{python_module numpy-devel >= 1.7.0}
+BuildRequires:  %{python_module pandas >= 0.7.1}
+BuildRequires:  %{python_module patsy >= 0.3.0}
+BuildRequires:  %{python_module scipy >= 0.9.0}
+%if %{with tests}
+BuildRequires:  %{python_module nose}
+%endif
 Requires:       python-numpy >= 1.7.0
 Requires:       python-pandas >= 0.7.1
 Requires:       python-patsy >= 0.3.0
 Requires:       python-scipy >= 0.9.0
 Recommends:     python-matplotlib >= 1.0.0
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%python_subpackages
 
 %description
 Statsmodels is a Python module that allows users to explore data,
@@ -53,31 +58,42 @@
 and data analysis in Python.
 
 %prep
-%setup -q -n statsmodels-%{tarver}
+%setup -q -n statsmodels-%{version}
 find statsmodels -type f -name "*.py" -exec sed -i "/#! \/usr\/bin\/env 
python/d" {} \;
+find statsmodels -type f -name "*.py" -exec sed -i "/#!\/usr\/bin\/env 
python/d" {} \;
+find statsmodels -type f -name "*.py" -exec sed -i "/#! \/usr\/bin\/env 
python3/d" {} \;
+find statsmodels -type f -name "*.py" -exec sed -i "/#!\/usr\/bin\/env 
python3/d" {} \;
+find . -type f -name "*.py" -exec sed -i 's/\r$//' {} \;
+find . -type f -name "*.ipynb" -exec sed -i 's/\r$//' {} \;
+sed -i 's/\r$//' COPYRIGHTS.txt
+sed -i 's/\r$//' LICENSE.txt
+sed -i 's/\r$//' README.rst
+sed -i 's/\r$//' README_l1.txt
 
 %build
-CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
+%python_build
 
 %install
-python setup.py install --root %{buildroot} --prefix=%{_prefix}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 # Remove unwanted setup files
-find %{buildroot}%{python_sitearch} -name 'setup.py*' -exec rm {} \;
-
-# Remove duplicates
-%fdupes %{buildroot}%{python_sitearch}
+%python_expand find %{buildroot}%{$python_sitearch} -name 'setup.py*' -exec rm 
{} \;
 
 # Fix python-bytecode-inconsistent-mtime
-pushd %{buildroot}%{python_sitearch}
-%py_compile .
-popd
+%if %have_python2
+%py_compile 
%{buildroot}%{python2_sitearch}/statsmodels/tsa/vector_ar/tests/results/
+%endif
+%if %have_python3
+%py3_compile 
%{buildroot}%{python3_sitearch}/statsmodels/tsa/vector_ar/tests/results/
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
 %doc COPYRIGHTS.txt LICENSE.txt README.rst README_l1.txt
 %doc examples/
 %{python_sitearch}/statsmodels/
-%{python_sitearch}/statsmodels-*-py*.egg-info
+%{python_sitearch}/statsmodels-%{version}-py*.egg-info
 
 %changelog

++++++ statsmodels-0.8.0rc1.tar.gz -> statsmodels-0.8.0.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-statsmodels/statsmodels-0.8.0rc1.tar.gz 
/work/SRC/openSUSE:Factory/.python-statsmodels.new/statsmodels-0.8.0.tar.gz 
differ: char 5, line 1


Reply via email to