From 7ff7db6621978a22faa69b2fbd2d852af73f9029 Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Thu, 16 Nov 2023 16:05:37 +0800 Subject: [PATCH] Add python_requires Signed-off-by: zhang-liang-pengkun (cherry picked from commit 24639aeb959ba0ed514b6093941bc0d6d57178d5) (cherry picked from commit 3aae08b188fb2abd55f0a7fbd5e80fb152804718) --- 0001-Add-python_requires.patch | 24 ++++++++++++++++++++++++ python-sphinx-theme-alabaster.spec | 6 +++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 0001-Add-python_requires.patch diff --git a/0001-Add-python_requires.patch b/0001-Add-python_requires.patch new file mode 100644 index 0000000..a9d5eac --- /dev/null +++ b/0001-Add-python_requires.patch @@ -0,0 +1,24 @@ +From b23b4dc9b23fe89e0f6594b503cf354f9aa07931 Mon Sep 17 00:00:00 2001 +From: Jeff Forcier +Date: Thu, 12 Jan 2023 22:11:45 -0500 +Subject: [PATCH] Add python_requires + +--- + setup.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/setup.py b/setup.py +index 9393391..6833b0e 100644 +--- a/setup.py ++++ b/setup.py +@@ -24,6 +24,7 @@ setup( + packages=["alabaster"], + include_package_data=True, + entry_points={"sphinx.html_themes": ["alabaster = alabaster"]}, ++ python_requires=">=3.6", + classifiers=[ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", +-- +2.39.0.windows.2 + diff --git a/python-sphinx-theme-alabaster.spec b/python-sphinx-theme-alabaster.spec index 230a3fe..833e2e8 100644 --- a/python-sphinx-theme-alabaster.spec +++ b/python-sphinx-theme-alabaster.spec @@ -1,6 +1,6 @@ name: python-sphinx-theme-alabaster Version: 0.7.12 -Release: 6 +Release: 7 Summary: Configurable sidebar-enabled Sphinx theme License: BSD @@ -8,6 +8,7 @@ URL: https://pypi.python.org/pypi/alabaster Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz Patch0001: update-LICENSE-newyear.patch Patch0002: Declare-support-for-Python-3_8+only.patch +Patch0003: 0001-Add-python_requires.patch BuildArch: noarch @@ -50,6 +51,9 @@ rm -rf alabaster.egg-info %changelog +* Thu Nov 16 2023 zhangliangpengkun - 0.7.12-7 +- Add python_requires + * Mon Jan 9 2023 zhangliangpengkun - 0.7.12-6 - Declare support for Python 3.8+ only