diff --git a/0001-add-setup.py.patch b/0001-add-setup.py.patch new file mode 100644 index 0000000000000000000000000000000000000000..6340fc9de4e3cf7c77d7bbac1dab570791b3c601 --- /dev/null +++ b/0001-add-setup.py.patch @@ -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', ++ ) diff --git a/python-threadpoolctl.spec b/python-threadpoolctl.spec index 7234d4769d921a90d0af189ceab6fcaa2a4973f4..5a67d6e865eddff9d0268f178d8c8e2167b7f391 100644 --- a/python-threadpoolctl.spec +++ b/python-threadpoolctl.spec @@ -2,12 +2,13 @@ %bcond_with test Name: python-%{pypi_name} -Version: 3.0.0 +Version: 3.1.0 Release: 1 Summary: Python helpers to limit the number of threads -License: BSD 3-Clause +License: BSD-3-Clause 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 BuildRequires: python3-devel @@ -33,6 +34,7 @@ Summary: %{summary} %prep %autosetup -n %{pypi_name}-%{version} -p1 +%patch0 %build %py3_build @@ -53,6 +55,9 @@ py.test-%{python3_version} %{python3_sitelib}/__pycache__/%{pypi_name}.* %changelog +* Fri Oct 28 2022 wangjunqi - 3.1.0-1 +- Update package to version 3.1.0 + * Thu Jun 23 2022 SimpleUpdate Robot - 3.0.0-1 - Upgrade to version 3.0.0 diff --git a/threadpoolctl-3.0.0.tar.gz b/threadpoolctl-3.0.0.tar.gz deleted file mode 100644 index 562ad12cf782b10a019885aec3d990df653691a2..0000000000000000000000000000000000000000 Binary files a/threadpoolctl-3.0.0.tar.gz and /dev/null differ diff --git a/threadpoolctl-3.1.0.tar.gz b/threadpoolctl-3.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..64196ba12b98049d8efd4b3565cf15e918e6e9e8 Binary files /dev/null and b/threadpoolctl-3.1.0.tar.gz differ