Package python3-module-scikit-learn: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | %define oname scikit-learn # CPU time limit exceeded # 1.4.0 passes check on local machine %def_without check Name: python3-module-%oname Version: 1.4.0 Release: alt2 Summary: A set of python modules for machine learning and data mining License: BSD-3-Clause Group: Development/Python3 URL: https://pypi.org/project/scikit-learn VCS: https://github.com/scikit-learn/scikit-learn Source: %name-%version.tar BuildRequires(pre): rpm-build-python3 BuildRequires: gcc-c++ BuildRequires: liblapack-devel %ifnarch %e2k BuildRequires: libgomp-devel %endif BuildRequires: libnumpy-py3-devel BuildRequires: python3-module-setuptools BuildRequires: python3-module-wheel BuildRequires: python3-module-numpy BuildRequires: python3-module-scipy BuildRequires: python3-module-Cython %if_with check BuildRequires: python3-module-pytest BuildRequires: python3-module-joblib BuildRequires: python3-module-numpy-testing BuildRequires: python3-module-threadpoolctl BuildRequires: python3-module-contourpy %endif %py3_provides sklearn %description scikit-learn is a Python module for machine learning built on top of SciPy and distributed under the 3-Clause BSD license. %package tests Summary: Tests for %oname Group: Development/Python3 Requires: %name = %EVR %description tests scikit-learn is a Python module for machine learning built on top of SciPy and distributed under the 3-Clause BSD license. This package contains tests for %oname. %prep %setup %build export BLAS=openblas %pyproject_build %install %pyproject_install %check pushd %buildroot%python3_sitelibdir py.test3 -vv rm -rv .pytest_cache popd %files %doc COPYING *.md *.rst %python3_sitelibdir/sklearn %python3_sitelibdir/scikit_learn-%version.dist-info %python3_sitelibdir/sklearn/tests %python3_sitelibdir/sklearn/*/tests %python3_sitelibdir/sklearn/*/*/tests %python3_sitelibdir/sklearn/utils/_testing.py %python3_sitelibdir/sklearn/utils/__pycache__/_testing.* %changelog * Mon Feb 12 2024 Michael Shigorin <mike@altlinux.org> 1.4.0-alt2 - E2K: disable openmp on e2k * Sat Feb 10 2024 Grigory Ustinov <grenka@altlinux.org> 1.4.0-alt1 - Automatically updated to 1.4.0. * Wed Jan 10 2024 Grigory Ustinov <grenka@altlinux.org> 1.3.0-alt3 - Build without check. * Thu Dec 21 2023 Grigory Ustinov <grenka@altlinux.org> 1.3.0-alt2 - Add Cython to build dependencies. * Fri Oct 27 2023 Grigory Ustinov <grenka@altlinux.org> 1.3.0-alt1 - Automatically updated to 1.3.0 (Closes: #46326). * Thu Apr 27 2023 Anton Vyatkin <toni@altlinux.org> 0.23.2-alt2 - Fix BuildRequries * Mon Aug 10 2020 Aleksei Nikiforov <darktemplar@altlinux.org> 0.23.2-alt1 - Updated to upstream version 0.23.2. * Fri Apr 03 2020 Andrey Bychkov <mrdrew@altlinux.org> 0.19.1-alt3 - Build for python2 disabled. * Thu Mar 29 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.19.1-alt2.1 - (NMU) Rebuilt with python-3.6.4. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 0.19.1-alt2 - Fixed build with new cython. * Tue Dec 05 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.19.1-alt1 - Updated to upstream version 0.19.1. * Mon Aug 07 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 0.17-alt1.dev0.git20150820.2 - Updated build dependencies. * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 0.17-alt1.dev0.git20150820.1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 0.17-alt1.dev0.git20150820.1 - NMU: Use buildreq for BR. * Sun Aug 23 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.17-alt1.dev0.git20150820 - New snapshot * Sun Apr 26 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.17-alt1.dev0.git20150424 - New snapshot * Sun Mar 22 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.17-alt1.dev0.git20150321 - Version 0.17.dev0 * Fri Jan 16 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.16-alt1.git20150115 - New snapshot * Sat Nov 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.16-alt1.git20141113 - Initial build for Sisyphus |