Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
2575eb7ef8
!13 Upgrade version to 3.2.0
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-02-04 01:24:49 +00:00
cherry530
45c11d0417 Upgrade version to 3.2.0
Signed-off-by: cherry530 <707078654@qq.com>
2024-02-01 17:32:44 +08:00
openeuler-ci-bot
2dd3c35d6a
!11 Use pyproject to compile package
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-04-27 02:43:25 +00:00
jxy_git
5777396f62 Use pyproject to compile package 2023-04-27 10:17:02 +08:00
openeuler-ci-bot
d87277a6f7
!10 enable check
From: @tanyulong2021 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-02-17 10:34:16 +00:00
tanyulong2021
a465bfbfad enable check 2023-02-16 09:43:24 +08:00
openeuler-ci-bot
037928eeb3
!9 Update package
From: @Wangjunqi123 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-10-28 07:29:47 +00:00
Wangjunqi123
375657177d update version to 3.1.0 2022-10-28 15:01:57 +08:00
openeuler-ci-bot
ead7f720f3
!7 Package upgrade
From: @starlet-dx 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-06-28 02:22:21 +00:00
starlet-dx
b5c68095d3 Package upgrade 2022-06-27 14:46:25 +08:00
3 changed files with 29 additions and 11 deletions

View File

@ -1,15 +1,16 @@
%global pypi_name threadpoolctl %global pypi_name threadpoolctl
%bcond_with test %bcond_without test
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: 2.1.0 Version: 3.2.0
Release: 3 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: %{pypi_source} Source0: https://files.pythonhosted.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-pip python3-wheel python3-flit
%if %{with test} %if %{with test}
BuildRequires: python3-pytest BuildRequires: python3-pytest
@ -32,13 +33,17 @@ Summary: %{summary}
%description -n python3-%{pypi_name} %{_description} %description -n python3-%{pypi_name} %{_description}
%prep %prep
%autosetup -n %{pypi_name}-%{version} %autosetup -n %{pypi_name}-%{version} -p1
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install threadpoolctl==%{version}
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
%if %{with test} %if %{with test}
%check %check
@ -48,11 +53,24 @@ py.test-%{python3_version}
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
%license LICENSE %license LICENSE
%doc README.md CHANGES.md %doc README.md CHANGES.md
%{python3_sitelib}/threadpoolctl.py %{python3_sitelib}/*
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/__pycache__/%{pypi_name}.*
%changelog %changelog
* Thu Feb 01 2024 xu_ping <707078654@qq.com> - 3.2.0-1
- Upgrade version to 3.2.0
* Thu Apr 27 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.1.0-3
- Use pyproject to compile package
* Thu Feb 16 2023 tanyulong <tanyulong@kylinos.cn> - 3.1.0-2
- enable check
* 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
- Upgrade to version 3.0.0
* Fri Mar 4 2022 zhaoshuang <zhaoshuang@uniontech.com> - 2.1.0-3 * Fri Mar 4 2022 zhaoshuang <zhaoshuang@uniontech.com> - 2.1.0-3
- remove unnecessary buildrequires - remove unnecessary buildrequires

Binary file not shown.

BIN
threadpoolctl-3.2.0.tar.gz Normal file

Binary file not shown.