|
Sergio Pascual |
a81da7f |
%global srcname threadpoolctl
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
Name: python-%{srcname}
|
|
Sergio Pascual |
a81da7f |
Version: 2.0.0
|
|
|
1f43162 |
Release: 5%{?dist}
|
|
Sergio Pascual |
a81da7f |
Summary: Thread-pool Controls
|
|
Sergio Pascual |
a81da7f |
License: BSD
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
URL: https://github.com/joblib/threadpoolctl
|
|
Sergio Pascual |
a81da7f |
Source0: %{pypi_source}
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
BuildArch: noarch
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%global _description %{expand:
|
|
Sergio Pascual |
a81da7f |
Python helpers to limit the number of threads used in the
|
|
Sergio Pascual |
a81da7f |
threadpool-backed of common native libraries used for scientific computing
|
|
Sergio Pascual |
a81da7f |
and data science (e.g. BLAS and OpenMP).
|
|
Sergio Pascual |
a81da7f |
Fine control of the underlying thread-pool size can be useful in
|
|
Sergio Pascual |
a81da7f |
workloads that involve nested parallelism so as to mitigate
|
|
Sergio Pascual |
a81da7f |
oversubscription issues.}
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%description %_description
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%package -n python3-%{srcname}
|
|
Sergio Pascual |
a81da7f |
Summary: %{summary}
|
|
Sergio Pascual |
a81da7f |
BuildRequires: python3-devel
|
|
Sergio Pascual |
a81da7f |
# Testing
|
|
Sergio Pascual |
a81da7f |
BuildRequires: python3-pytest
|
|
Sergio Pascual |
a81da7f |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%description -n python3-%{srcname}
|
|
Sergio Pascual |
a81da7f |
%_description
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%prep
|
|
Sergio Pascual |
a81da7f |
%autosetup -n %{srcname}-%{version}
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%build
|
|
Sergio Pascual |
a81da7f |
%py3_build
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%install
|
|
Sergio Pascual |
a81da7f |
%py3_install
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%check
|
|
Sergio Pascual |
a81da7f |
pytest -v
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%files -n python3-%{srcname}
|
|
Sergio Pascual |
a81da7f |
%doc README.md multiple_openmp.md
|
|
Sergio Pascual |
a81da7f |
%license LICENSE
|
|
Sergio Pascual |
a81da7f |
%pycached %{python3_sitelib}/threadpoolctl.py
|
|
Sergio Pascual |
a81da7f |
%{python3_sitelib}/threadpoolctl*egg-info
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
%changelog
|
|
|
1f43162 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
|
|
|
1f43162 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
1f43162 |
|
|
|
0b6c3d3 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
|
|
0b6c3d3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
0b6c3d3 |
|
|
|
9fc6044 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 2.0.0-3
|
|
|
9fc6044 |
- Rebuilt for Python 3.9
|
|
|
9fc6044 |
|
|
Sergio Pascual |
a81da7f |
* Thu May 21 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 2.0.0-2
|
|
Sergio Pascual |
a81da7f |
- Package approved
|
|
Sergio Pascual |
a81da7f |
|
|
Sergio Pascual |
a81da7f |
* Tue May 19 2020 Sergio Pascual <sergiopr@fedoraproject.org> - 2.0.0-1
|
|
Sergio Pascual |
a81da7f |
- Initial spec
|