Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Project not found: home:goupilmtos:KDE:apps
openSUSE:Backports:SLE-15:Update
python-scikit-learn
python-scikit-learn.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-scikit-learn.spec of Package python-scikit-learn
# # spec file for package python-scikit-learn # # Copyright (c) 2017 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 http://bugs.opensuse.org/ # # test floating-point accuracy issues on non-x86 archs %ifarch %ix86 x86_64 %bcond_without test %else %bcond_with test %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-scikit-learn Summary: Python modules for machine learning and data mining License: BSD-3-Clause Group: Development/Libraries/Python Version: 0.19.1 Release: 0 Source0: https://files.pythonhosted.org/packages/source/s/scikit-learn/scikit-learn-%{version}.tar.gz Url: http://scikit-learn.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module devel} BuildRequires: %{python_module matplotlib} BuildRequires: %{python_module numpy-devel >= 1.6.1} BuildRequires: %{python_module scipy >= 0.9} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module xml} BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gcc-fortran BuildRequires: openblas-devel BuildRequires: python-rpm-macros %if %{with test} BuildRequires: %{python_module Cython} BuildRequires: %{python_module nose} %endif Requires: python-matplotlib Requires: python-numpy >= 1.6.1 Requires: python-scipy >= 0.9 Requires: python-xml %ifpython2 Provides: %{oldpython}-scikits-learn = %{version} Obsoletes: %{oldpython}-scikits-learn < %{version} %endif %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} %if %{with test} %check export SKLEARN_SKIP_NETWORK_TESTS=1 mkdir tester pushd tester %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} nosetests-%{$python_bin_suffix} -v sklearn } popd rm -r tester %endif %files %{python_files} %defattr(-,root,root) %doc AUTHORS.rst 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