Upgrade to version 3.0.0
This commit is contained in:
parent
678e64dda9
commit
c4e370fd1f
@ -2,14 +2,14 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 2.1.0
|
Version: 3.0.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://github.com/joblib/threadpoolctl/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel python3-flit python3-pip
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: python3-pytest
|
BuildRequires: python3-pytest
|
||||||
@ -32,13 +32,13 @@ 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
|
||||||
FLIT_NO_NETWORK=1 FLIT_ROOT_INSTALL=1 flit build --format=wheel
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install_wheel threadpoolctl-*.whl
|
%py3_install
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
@ -49,11 +49,13 @@ py.test-%{python3_version}
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md CHANGES.md
|
%doc README.md CHANGES.md
|
||||||
%{python3_sitelib}/threadpoolctl.py
|
%{python3_sitelib}/threadpoolctl.py
|
||||||
%{python3_sitelib}/%{pypi_name}-*.dist-info/
|
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
||||||
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
%{python3_sitelib}/__pycache__/%{pypi_name}.*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 25 2022 yaoxin30 <yaoxin30@h-partners.com> - 3.0.0-1
|
||||||
|
- Upgrade to version 3.0.0
|
||||||
|
|
||||||
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 2.1.0-1
|
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 2.1.0-1
|
||||||
- upgrade version to 2.1.0
|
- upgrade version to 2.1.0
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
threadpoolctl-3.0.0.tar.gz
Normal file
BIN
threadpoolctl-3.0.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user