From 0f2d869fcb4777846d8f1bc03aa8a309b4407f61 Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Fri, 5 Jan 2024 16:42:42 +0800 Subject: [PATCH] Corrected minor details in packaging metadata Signed-off-by: zhang-liang-pengkun --- ...-minor-details-in-packaging-metadata.patch | 38 +++++++++++++++++++ python-futures.spec | 6 ++- 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 0006-Corrected-minor-details-in-packaging-metadata.patch diff --git a/0006-Corrected-minor-details-in-packaging-metadata.patch b/0006-Corrected-minor-details-in-packaging-metadata.patch new file mode 100644 index 0000000..70e52d2 --- /dev/null +++ b/0006-Corrected-minor-details-in-packaging-metadata.patch @@ -0,0 +1,38 @@ +From 734643bf64bf2eeda2c05ccf11137f2b834ee8d2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= +Date: Fri, 1 Dec 2017 00:44:18 +0200 +Subject: [PATCH] Corrected minor details in packaging metadata + +--- + setup.py | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 5d947ae..6b03042 100755 +--- a/setup.py ++++ b/setup.py +@@ -1,4 +1,5 @@ + #!/usr/bin/env python ++# coding: utf-8 + from warnings import warn + import os.path + import sys +@@ -21,12 +22,12 @@ with open(os.path.join(here, 'README.rst')) as f: + + setup(name='futures', + version='3.1.1', +- description='Backport of the concurrent.futures package from Python 3.2', ++ description='Backport of the concurrent.futures package from Python 3', + long_description=readme, + author='Brian Quinlan', + author_email='brian@sweetapp.com', +- maintainer='Alex Gronholm', +- maintainer_email='alex.gronholm+pypi@nextday.fi', ++ maintainer=u'Alex Grönholm', ++ maintainer_email='alex.gronholm@nextday.fi', + url='https://github.com/agronholm/pythonfutures', + packages=['concurrent', 'concurrent.futures'], + python_requires='>=2.6, <3', +-- +2.39.0.windows.2 + diff --git a/python-futures.spec b/python-futures.spec index 89ead7c..414d18f 100644 --- a/python-futures.spec +++ b/python-futures.spec @@ -1,6 +1,6 @@ Name: python-futures Version: 3.1.1 -Release: 10 +Release: 11 Summary: Backport of the concurrent.futures standard library module to Python 3.2 License: Python URL: https://github.com/agronholm/pythonfutures @@ -10,6 +10,7 @@ Patch02: 0002-Specify-python_requires-to-prevent-installation-on-P.patch Patch03: 0003-Backport-fixes-to-as_completed-and-map-iterators-bpo.patch Patch04: 0004-Make-Future.__repr__-subclass-friendly-bpo-22033-65.patch Patch05: 0005-Fixed-tests-hanging-on-PyPy.patch +Patch06: 0006-Corrected-minor-details-in-packaging-metadata.patch BuildRequires: python2-devel BuildArch: noarch @@ -44,6 +45,9 @@ The concurrent.futures module provides a high-level interface for asynchronously %{python2_sitelib}/futures-*.egg-info* %changelog +* Fri Jan 05 2024 zhangliangpengkun - 3.1.1-11 +- Corrected minor details in packaging metadata + * Fri Dec 29 2023 zhangliangpengkun - 3.1.1-10 - Fixed tests hanging on PyPy -- Gitee