!9 Update package
From: @Wangjunqi123 Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
037928eeb3
18
0001-add-setup.py.patch
Normal file
18
0001-add-setup.py.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- c/setup.py 1970-01-01 08:00:00.000000000 +0800
|
||||||
|
+++ a/setup.py 2022-10-28 14:58:41.729391467 +0800
|
||||||
|
@@ -0,0 +1,15 @@
|
||||||
|
+#!/usr/bin/env python
|
||||||
|
+# setup.py generated by flit for tools that don't yet use PEP 517
|
||||||
|
+
|
||||||
|
+from distutils.core import setup
|
||||||
|
+
|
||||||
|
+
|
||||||
|
+setup(name='threadpoolctl',
|
||||||
|
+ version='3.1.0',
|
||||||
|
+ description='threadpoolctl',
|
||||||
|
+ author='Thomas Moreau',
|
||||||
|
+ author_email='thomas.moreau.2010@gmail.com',
|
||||||
|
+ url='https://github.com/joblib/threadpoolctl',
|
||||||
|
+ py_modules=['threadpoolctl'],
|
||||||
|
+ python_requires='>=3.6',
|
||||||
|
+ )
|
||||||
@ -2,12 +2,13 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 3.0.0
|
Version: 3.1.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Python helpers to limit the number of threads
|
Summary: Python helpers to limit the number of threads
|
||||||
License: BSD 3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/joblib/threadpoolctl/
|
URL: https://github.com/joblib/threadpoolctl/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/1b/c7/3d85f8b3894ba7228d0c74e16e97a36a72b2cd2b0e0f8f89b5d435d11f71/threadpoolctl-3.1.0.tar.gz
|
||||||
|
Patch0: 0001-add-setup.py.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
@ -33,6 +34,7 @@ Summary: %{summary}
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pypi_name}-%{version} -p1
|
%autosetup -n %{pypi_name}-%{version} -p1
|
||||||
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -53,6 +55,9 @@ py.test-%{python3_version}
|
|||||||
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 28 2022 wangjunqi <wangjunqi@kylinos.cn> - 3.1.0-1
|
||||||
|
- Update package to version 3.1.0
|
||||||
|
|
||||||
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.0.0-1
|
* Thu Jun 23 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.0.0-1
|
||||||
- Upgrade to version 3.0.0
|
- Upgrade to version 3.0.0
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
threadpoolctl-3.1.0.tar.gz
Normal file
BIN
threadpoolctl-3.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user