Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.3:Update
python2-scikit-learn
python2-scikit-learn.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python2-scikit-learn.spec of Package python2-scikit-learn
# # spec file for package python2-scikit-learn # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python3 1 %define oldpython python Name: python2-scikit-learn Version: 0.20.2 Release: 0 Summary: Python modules for machine learning and data mining License: BSD-3-Clause Group: Development/Libraries/Python URL: http://scikit-learn.org/ Source0: https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit-learn-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel} BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy-devel >= 1.8.2} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scipy >= 0.13.3} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: openblas-devel BuildRequires: python-rpm-macros Requires: python2-matplotlib Requires: python2-numpy >= 1.8.2 Requires: python2-scipy >= 0.13.3 Requires: python2-xml Provides: %{oldpython}-scikits-learn = %{version} Obsoletes: %{oldpython}-scikits-learn < %{version} %python_subpackages %description Scikit-learn is a python module for machine learning built on top of scipy. %prep %setup -q -n scikit-learn-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} # test suite just doesn't work and upstream doesn't look like fixing it # anytime soon, gh#scikit-learn/scikit-learn#12369 # %%check # export SKLEARN_SKIP_NETWORK_TESTS=1 # NO_TESTS="test_feature_importance_regression or test_minibatch_with_many_reassignments" # NO_TESTS="$NO_TESTS or test_sparse_coder_parallel_mmap or test_explained_variances" # export NO_TESTS # %%{python_expand export PYTHONPATH=%%{buildroot}%%{$python_sitearch} # rm -v ensemble/tests/test_gradient_boosting.py tests/test_init.py # py.test-%%{$python_bin_suffix} -v -k "not ($NO_TESTS)" sklearn # } # %%endif %files %{python_files} %license COPYING %doc README.rst %{python_sitearch}/sklearn/ %{python_sitearch}/scikit_learn-%{version}-py*.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor