From 4a66edbed170578b7a53290eacda748958fa71e6 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Mar 29 2016 09:31:52 +0000 Subject: New upstream (0.17.1) - Provide python2-scikit-learn --- diff --git a/.gitignore b/.gitignore index 78e3ef8..23b21be 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /scikit-learn-0.16.0.tar.gz /scikit-learn-0.16.1.tar.gz /scikit-learn-0.17.tar.gz +/scikit-learn-0.17.1.tar.gz diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec index dd72a57..e055480 100644 --- a/python-scikit-learn.spec +++ b/python-scikit-learn.spec @@ -1,14 +1,14 @@ -%global upname scikit-learn +%global srcname scikit-learn %global with_python3 1 Name: python-scikit-learn -Version: 0.17 -Release: 2%{?dist} +Version: 0.17.1 +Release: 1%{?dist} Summary: Machine learning in Python License: BSD URL: http://scikit-learn.org/ -Source0: https://pypi.python.org/packages/source/s/scikit-learn/%{upname}-%{version}.tar.gz +Source0: https://pypi.python.org/packages/source/s/scikit-learn/%{srcname}-%{version}.tar.gz Source1: system-six.py Source2: system-joblib.py Patch0: sklearn-unbundle-joblib.patch @@ -22,6 +22,8 @@ BuildRequires: atlas-devel blas-devel BuildRequires: Cython python-pillow Requires: numpy scipy python-joblib >= 0.8.4 +%{?python_provide:%python_provide python-%{srcname}} + # we don't want to provide private python extension libs %global __provides_exclude_from ^(%{python2_sitearch}|%{python3_sitearch})/.*\\.so$ @@ -33,7 +35,7 @@ analysis in any field of science and engineering. It strives to be simple and efficient, accessible to everybody, and reusable in various contexts. %if 0%{?with_python3} -%package -n python3-%{upname} +%package -n python3-%{srcname} Summary: Machine learning in Python BuildRequires: python3-devel python3-nose BuildRequires: python3-numpy python3-scipy python3-matplotlib @@ -43,7 +45,7 @@ BuildRequires: atlas-devel BuildRequires: python3-Cython python3-pillow Requires: python3-numpy python3-scipy python3-joblib >= 0.8.4 -%description -n python3-%{upname} +%description -n python3-%{srcname} Scikit-learn integrates machine learning algorithms in the tightly-knit scientific Python world, building upon numpy, scipy, and matplotlib. As a machine-learning module, it provides versatile tools for data mining and @@ -52,7 +54,7 @@ efficient, accessible to everybody, and reusable in various contexts. %endif # with_python3 %prep -%autosetup -n %{upname}-%{version} -p1 +%autosetup -n %{srcname}-%{version} -p1 # Code to load system six and joblib at runtime mkdir sklearn/externals/bundled @@ -115,7 +117,7 @@ popd %{python2_sitearch}/scikit_learn-*.egg-info %if 0%{?with_python3} -%files -n python3-%{upname} +%files -n python3-%{srcname} %doc examples/ AUTHORS.rst README.rst %license COPYING %{python3_sitearch}/sklearn @@ -123,6 +125,10 @@ popd %endif # with_python3 %changelog +* Tue Mar 29 2016 Sergio Pascual - 0.17.1-1 +- New upstream (0.17.1) +- Provide python2-scikit-learn + * Thu Feb 04 2016 Fedora Release Engineering - 0.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index a2efb51..a979dae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4b5cebc8c92cfe33749ae8ab3b2149b7 scikit-learn-0.17.tar.gz +a2f8b877e6d99b1ed737144f5a478dfc scikit-learn-0.17.1.tar.gz