From 8a15cdfa9cdd23f6cb7944af1df093d4f24529f5 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Jul 11 2019 14:45:10 +0000 Subject: New upstream source (0.10.0) --- diff --git a/.gitignore b/.gitignore index 2c128b4..5ec976a 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /statsmodels-0.6.1.tar.gz /statsmodels-0.8.0.tar.gz /statsmodels-0.9.0.tar.gz +/statsmodels-0.10.0.tar.gz diff --git a/python-statsmodels.spec b/python-statsmodels.spec index f8e9061..c6ab0b2 100644 --- a/python-statsmodels.spec +++ b/python-statsmodels.spec @@ -2,21 +2,30 @@ %global sum Statistics in Python Name: python-%{srcname} -Version: 0.9.0 -Release: 5%{?dist} +Version: 0.10.0 +Release: 1%{?dist} Summary: %{sum} # Package is licensed under BSD (3 clauses) # except the following files in Public Domain +# statsmodels/datasets/anes96/data.py +# statsmodels/datasets/co2/data.py # statsmodels/datasets/elnino/data.py +# statsmodels/datasets/engel/data.py +# statsmodels/datasets/grunfeld/data.py +# statsmodels/datasets/longley/data.py +# statsmodels/datasets/macrodata/data.py +# statsmodels/datasets/modechoice/data.py +# statsmodels/datasets/nile/data.py # statsmodels/datasets/randhie/data.py +# statsmodels/datasets/stackloss/data.py +# statsmodels/datasets/strikes/data.py +# statsmodels/datasets/sunspots/data.py +# statsmodels/datasets/template_data.py + License: BSD and Public Domain -URL: http://statsmodels.sourceforge.net -#Source0: http://pypi.python.org/packages/source/s/%%{srcname}/%%{srcname}-%%{version}.tar.gz -# Use Github tar as it is not Cythonized and we have to do that by ourself -# for Python 3.7 (pregenerated too old) -Source0: https://github.com/%{srcname}/%{srcname}/archive/v%{version}.tar.gz#/%{srcname}-%{version}.tar.gz -Patch0: statsmodels-onlydirectives-doc.patch +URL: https://www.statsmodels.org/ +Source0: %{pypi_source} BuildRequires: gcc BuildRequires: python3-devel @@ -44,7 +53,7 @@ BuildRequires: python3-pandas # For testing BuildRequires: python3-matplotlib BuildRequires: python3-matplotlib-tk -BuildRequires: python3-nose +BuildRequires: python3-pytest Requires: python3-numpy Requires: python3-scipy @@ -102,19 +111,21 @@ popd %install %py3_install - %check # False matplotlibrc mkdir -p matplotlib touch matplotlib/matplotlibrc export XDG_CONFIG_HOME=`pwd` pushd %{buildroot}/%{python3_sitearch} - #xvfb-run nosetests-%{python3_version} %{srcname} || : + xvfb-run pytest-%{python3_version} %{srcname} || : popd %files -n python3-%{srcname} %license LICENSE.txt LICENSE.libqsturng.txt %doc COPYRIGHTS.txt README_l1.txt README.rst README.datasets.txt COPYING.datasets +# It is installing these two files +%exclude /usr/LICENSE.txt +%exclude /usr/setup.cfg %{python3_sitearch}/* %files -n python3-%{srcname}-doc @@ -122,6 +133,9 @@ popd ## %doc build/sphinx/html %changelog +* Thu Jul 11 2019 Sergio Pascual - 0.10.0 +- New upstream source (0.10.0) + * Fri Feb 08 2019 Sergio Pascual - 0.9.0-5 - Disable docs generation (bz #1637994) diff --git a/sources b/sources index 9ee25d4..ddc0210 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (statsmodels-0.9.0.tar.gz) = 692907c14463006a0015b4b1cf6a640b1a78e8937a85ed09611fc9217eff63e179973b110a94e71ea76c6c52fd7de31963776e1e4236f51537c5f90fed434554 +SHA512 (statsmodels-0.10.0.tar.gz) = ac097212107c274fcdc4dd655e48b0e4aba412988b7a256affb6322e5b42de6927f4a3d1746ebba2941a73b88a27cc945929188327d5c5b75b3021c31894e40a