Sergio Pascual 4a66edb
%global srcname scikit-learn
Sergio Pascual e3234b3
%global sum Machine learning in Python
Sergio Pascual e3234b3
Sergio Pascual e3234b3
%global common_description                                                   \
Sergio Pascual e3234b3
Scikit-learn integrates machine learning algorithms in the tightly-knit      \
Sergio Pascual e3234b3
scientific Python world, building upon numpy, scipy, and matplotlib.         \
Sergio Pascual e3234b3
As a machine-learning module, it provides versatile tools for data mining    \
Sergio Pascual e3234b3
and analysis in any field of science and engineering. It strives to be       \
Sergio Pascual e3234b3
simple and efficient, accessible to everybody, and reusable                  \
Sergio Pascual e3234b3
in various contexts.
Sergio Pascual c40d0b7
Sergio Pascual c40d0b7
Name: python-scikit-learn
b877dc6
Version: 0.23.2
b877dc6
Release: 1%{?dist}
Sergio Pascual e3234b3
Summary: %{sum}
6bc7f40
# sklearn/externals/_arff.py is MIT
6bc7f40
License: BSD and MIT
Sergio Pascual 3bd41f7
Sergio Pascual c40d0b7
URL: http://scikit-learn.org/
6bc7f40
Source0: %{pypi_source}
efe77c7
5ddc65d
BuildRequires: gcc
5ddc65d
BuildRequires: gcc-c++
5ddc65d
BuildRequires: python3-devel
Sergio Pascual c40d0b7
Sergio Pascual c40d0b7
%description
Sergio Pascual e3234b3
%{common_description}
Sergio Pascual e3234b3
Sergio Pascual 4a66edb
%package -n python3-%{srcname}
Sergio Pascual e3234b3
Summary: %{sum}
4413e0b
BuildRequires: python3-numpy >= 1.13.3
4413e0b
BuildRequires: python3-scipy >= 0.19.1
6bc7f40
BuildRequires: python3-joblib >= 0.11
5ddc65d
BuildRequires: python3-Cython
cccd1fb
BuildRequires: python3-threadpoolctl >= 2.0.0
4413e0b
# Testing
cccd1fb
BuildRequires: python3-pytest
6bc7f40
4413e0b
Requires: python3-numpy >= 1.13.3
4413e0b
Requires: python3-scipy >= 0.19.1
6bc7f40
Requires: python3-joblib >= 0.11
cccd1fb
Requires: python3-threadpoolctl >= 2.0.0
Sergio Pascual 3bd41f7
Sergio Pascual 611aecf
%{?python_provide:%python_provide python3-%{srcname}}
Sergio Pascual 611aecf
%{?python_provide:%python_provide python3-sklearn}
Björn Esser 16ec983
Sergio Pascual 4a66edb
%description -n python3-%{srcname}
Sergio Pascual e3234b3
%{common_description}
Sergio Pascual 3bd41f7
Sergio Pascual c40d0b7
%prep
Sergio Pascual 4a66edb
%autosetup -n %{srcname}-%{version} -p1
Sergio Pascual 66f8004
Sergio Pascual c40d0b7
%build
Sergio Pascual e3234b3
%py3_build
Sergio Pascual 3bd41f7
Sergio Pascual c40d0b7
%install
Sergio Pascual e3234b3
%py3_install
Sergio Pascual c40d0b7
cccd1fb
%check
cccd1fb
export PYTHONDONTWRITEBYTECODE=1
cccd1fb
export PYTEST_ADDOPTS='-p no:cacheprovider'
cccd1fb
pushd %{buildroot}%{python3_sitearch}
cccd1fb
  py.test-%{python3_version} -v sklearn || :
cccd1fb
popd
4413e0b
Sergio Pascual 4a66edb
%files -n python3-%{srcname}
6bc7f40
%doc examples/
Sergio Pascual 28d0a86
%license COPYING
Sergio Pascual 3bd41f7
%{python3_sitearch}/sklearn
Sergio Pascual 3bd41f7
%{python3_sitearch}/scikit_learn-*.egg-info
Sergio Pascual 3bd41f7
Sergio Pascual c40d0b7
%changelog
b877dc6
* Wed Aug 26 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.23.2-1
b877dc6
- New upstream source (0.23.2)
b877dc6
710b4e2
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.1-2
710b4e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
710b4e2
26fd656
* Sun Jun 28 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.23.1-1
26fd656
- New upstream source (0.23.1)
26fd656
782099b
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.23.0-3
782099b
- Rebuilt for Python 3.9
782099b
86ef242
* Sun May 24 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.23.0-2
cccd1fb
- Add missing dependency on threadpoolctl (bz #1836744)
cccd1fb
cccd1fb
* Sun May 17 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.23.0-1
4413e0b
- New upstream source (0.23.0)
4413e0b
c2ecb5c
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.1-2
c2ecb5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c2ecb5c
f1c9c30
* Sun Jan 12 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.22.1
f1c9c30
- New upstream source (0.22.1)
f1c9c30
b0b6b6a
* Sat Jan 11 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 0.22-1
b0b6b6a
- New upstream source (0.22)
b0b6b6a
5862751
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.21.3-2
5862751
- Rebuilt for Python 3.8
5862751
6bc7f40
* Thu Aug 01 2019 Sergio Pascual <sergiopr@fedoraproject.org> - 0.21.3-1
6bc7f40
- New upstream source (0.21.3)
6bc7f40
- Add a patch to fix detection of openmp
6bc7f40
ce2232e
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.1-8
ce2232e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ce2232e
e3a8e35
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.1-7
e3a8e35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e3a8e35
5ddc65d
* Sat Dec 15 2018 Miro Hrončok <mhroncok@redhat.com> - 0.19.1-6
5ddc65d
- Subpackage python2-scikit-learn has been removed
5ddc65d
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
5ddc65d
08b3655
* Tue Jul 17 2018 Christian Dersch <lupinix@fedoraproject.org> - 0.19.1-5
1001a7b
- BuildRequires: gcc gcc-c++
08b3655
6ea719d
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.1-4
6ea719d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6ea719d
1331cb6
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.19.1-3
1331cb6
- Rebuilt for Python 3.7
efe77c7
- Recythonize the .c/.cpp files to fix FTBFS on Python 3.7
efe77c7
- Use python2-Cython, not Cython
1331cb6
1aaf1a3
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.1-2
1aaf1a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1aaf1a3
fbbdc4e
* Fri Nov 03 2017 Colin B. Macdonald <cbm@m.fsf.org> - 0.19.1-1
fbbdc4e
- New upstream (0.19.1)
fbbdc4e
ef0dbfc
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-4
ef0dbfc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ef0dbfc
07875d4
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-3
07875d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
07875d4
e17c504
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-2
e17c504
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e17c504
Sergio Pascual e5a96eb
* Fri Jan 27 2017 Sergio Pascual <sergiopr@fedoraproject.org> - 0.18.1-1
Sergio Pascual e5a96eb
- New upstream (0.18.1)
Sergio Pascual e5a96eb
7a4fc0b
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.18-3
7a4fc0b
- Rebuild for Python 3.6
7a4fc0b
Orion Poplawski 6dd201f
* Sun Nov  6 2016 Orion Poplawski <orion@cora.nwra.com> - 0.18-2
Orion Poplawski 6dd201f
- Rebuild for ppc64
Orion Poplawski 6dd201f
Sergio Pascual 611aecf
* Thu Oct 27 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.18-1
Sergio Pascual 611aecf
- New upstream (0.18)
Sergio Pascual 611aecf
- Updatd patch blas-name
Sergio Pascual 611aecf
- Removed patch sklearn-np11 (already in upstream)
Sergio Pascual 611aecf
ed31242
* Sat Oct 15 2016 Peter Robinson <pbrobinson@fedoraproject.org> - 0.17.1-6
ed31242
- rebuilt for matplotlib-2.0.0
ed31242
5e394f2
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17.1-5
5e394f2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5e394f2
Björn Esser 16ec983
* Wed Mar 30 2016 Björn Esser <fedora@besser82.io> - 0.17.1-4
Björn Esser 16ec983
- add Provides for python(2|3)-sklearn
Björn Esser 16ec983
Björn Esser a6749ef
* Wed Mar 30 2016 Björn Esser <fedora@besser82.io> - 0.17.1-3
Björn Esser a6749ef
- add proper Provides and Obsoletes
Björn Esser a6749ef
Sergio Pascual 184faa2
* Wed Mar 30 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.17.1-2.1
Sergio Pascual 184faa2
- Skip tests for the moment
Sergio Pascual 184faa2
Sergio Pascual e3234b3
* Tue Mar 29 2016 Sergio Pascual <sergiopr@fedoraproject.org> - 0.17.1-2
Sergio Pascual 4a66edb
- New upstream (0.17.1)
Sergio Pascual 4a66edb
- Provide python2-scikit-learn
Sergio Pascual e3234b3
- Add patch for numpy1.11
Sergio Pascual e3234b3
- New style macros
Sergio Pascual 4a66edb
6e158e4
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-2
6e158e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6e158e4
fc6a367
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.17-1
fc6a367
- Update to latest version
fc6a367
- Force linking to atlas
fc6a367
eed377e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.1-3
eed377e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
eed377e
fa34007
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.1-2
fa34007
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fa34007
Sergio Pascual 75b8b8b
* Thu Apr 09 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.16.1-1
Sergio Pascual 75b8b8b
- New upstream (0.16.1), bugfix
Sergio Pascual 75b8b8b
Sergio Pascual 445c8ea
* Thu Apr 09 2015 Sergio Pascual <sergiopr@fedoraproject.org> - 0.16.0-2
Sergio Pascual 445c8ea
- Readd provides filter
Sergio Pascual 445c8ea
- Increase joblib minimum version
Sergio Pascual 28d0a86
- New upstream (0.16.0)
Sergio Pascual 28d0a86
Sergio Pascual ddcb836
* Tue Sep 16 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-2
Sergio Pascual ddcb836
- Remove patch for broken test (fixed in scipy 0.14.1)
Sergio Pascual ddcb836
Sergio Pascual 7510bfc
* Tue Sep 16 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.2-1
Sergio Pascual 7510bfc
- New upstream (0.15.2), bugfix
Sergio Pascual 7510bfc
dc8badc
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15.1-2
dc8badc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
dc8badc
Sergio Pascual 429db38
* Sat Aug 02 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.1-1
Sergio Pascual 429db38
- New upstream (0.15.1), bugfix
Sergio Pascual 429db38
Sergio Pascual 4c612c4
* Tue Jul 15 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.0-1
Sergio Pascual 4c612c4
- New upstream (0.15.0), final
Sergio Pascual 4c612c4
Sergio Pascual 4c612c4
* Wed Jul 02 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.0-0.5.b2
Björn Esser a6749ef
- New upstream (0.15.0b2), beta release
Sergio Pascual 3e4fd09
Sergio Pascual 6661767
* Tue Jun 24 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.0-0.4.b1
Sergio Pascual 6661767
- Add COPYING to docs
Sergio Pascual 6661767
- Spec cleanup
Sergio Pascual 6661767
Sergio Pascual 9122bfc
* Mon Jun 23 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.15.0-0.3.b1
Björn Esser a6749ef
- New upstream (0.15.0b1), beta release
Sergio Pascual 77283ff
- Add tarball
Sergio Pascual 9122bfc
- Disable tests for the moment
Sergio Pascual 66f8004
dd19b3f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-9
dd19b3f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dd19b3f
d394d45
* Mon Jun 02 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.14.1-8
d394d45
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
d394d45
Sergio Pascual 66f8004
* Mon Jun 02 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.1-7
Sergio Pascual d76a97a
- Rerun Cython3 on broken files
Sergio Pascual d76a97a
- Disable tests for the moment
Sergio Pascual d76a97a
Björn Esser 3868313
* Thu May 29 2014 Björn Esser <bjoern.esser@gmail.com> - 0.14.1-6
Björn Esser 3868313
- rebuilt for Python3 3.4
Björn Esser 3868313
Sergio Pascual f7d64a8
* Wed Jan 15 2014 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.1-5
Sergio Pascual f7d64a8
- Enable checks
Sergio Pascual f7d64a8
- Regenerate C files from patched cython code
Sergio Pascual f7d64a8
- Use python2 style macros
Sergio Pascual f7d64a8
Björn Esser 403c7bc
* Sat Oct 26 2013 Björn Esser <bjoern.esser@gmail.com> - 0.14.1-4
Björn Esser 403c7bc
- rebuilt for atlas-3.10.1-7
Björn Esser 403c7bc
Sergio Pascual afa3bdc
* Mon Sep 16 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.1-3
Sergio Pascual afa3bdc
- Unbundle six
Sergio Pascual afa3bdc
Sergio Pascual 5313817
* Wed Sep 11 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.1-2
Sergio Pascual 5313817
- Update cblas patch
Sergio Pascual 5313817
- Update EVR to build with new numpy (1.8.0-0.3b2)
Sergio Pascual 5313817
Sergio Pascual 3bd41f7
* Wed Aug 28 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 0.14.1-1
Sergio Pascual 3bd41f7
- New upstream source (0.14.1)
Sergio Pascual 84acc60
- Add python3 support
Sergio Pascual 84acc60
- Unbundle joblib and cblas
Sergio Pascual 3bd41f7
Sergio Pascual c40d0b7
* Wed Jul 10 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 0.13.1-3
Sergio Pascual c40d0b7
- Reorder buildrequires and requires
Sergio Pascual c40d0b7
- Dropped doc, it does not build
Sergio Pascual c40d0b7
Sergio Pascual c40d0b7
* Tue Jun 25 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 0.13.1-2
Sergio Pascual c40d0b7
- Changed package name
Sergio Pascual c40d0b7
- Tests do not need recompile
Sergio Pascual c40d0b7
Sergio Pascual c40d0b7
* Thu Apr 18 2013 Sergio Pascual <sergiopr@fedoraproject.org> - 0.13.1-1
Sergio Pascual c40d0b7
- Initial spec file