14
0

Accepting request 822626 from home:mcalabkova:branches:devel:languages:python

- update to 2.1.0
  * New commandline interface: 'python -m threadpoolctl -i numpy'
    will try to import the `numpy` package and then return the output of
    `threadpoolctl.threadpool_info()` on STDOUT formatted using the JSON
    syntax. This makes it easier to quickly introspect a Python environment.
- Add patch python_executable.patch

OBS-URL: https://build.opensuse.org/request/show/822626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-threadpoolctl?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-07-24 14:06:42 +00:00
committed by Git OBS Bridge
parent 4c61e460d2
commit f6bfeb9289
5 changed files with 47 additions and 4 deletions

View File

@@ -19,13 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-threadpoolctl
Version: 2.0.0
Version: 2.1.0
Release: 0
Summary: Thread-pool Controls
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/joblib/threadpoolctl
Source: https://files.pythonhosted.org/packages/source/t/threadpoolctl/threadpoolctl-%{version}.tar.gz
# fix python executable in tests
Patch0: python_executable.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -41,6 +43,7 @@ and OpenMP implementations).
%prep
%setup -q -n threadpoolctl-%{version}
%patch0 -p1
%build
%python_build