Add python_requires

Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
(cherry picked from commit 24639aeb959ba0ed514b6093941bc0d6d57178d5)
(cherry picked from commit 3aae08b188fb2abd55f0a7fbd5e80fb152804718)
This commit is contained in:
zhang-liang-pengkun 2023-11-16 16:05:37 +08:00 committed by openeuler-sync-bot
parent 1c43132a57
commit 7ff7db6621
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From b23b4dc9b23fe89e0f6594b503cf354f9aa07931 Mon Sep 17 00:00:00 2001
From: Jeff Forcier <jeff@bitprophet.org>
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

View File

@ -1,6 +1,6 @@
name: python-sphinx-theme-alabaster name: python-sphinx-theme-alabaster
Version: 0.7.12 Version: 0.7.12
Release: 6 Release: 7
Summary: Configurable sidebar-enabled Sphinx theme Summary: Configurable sidebar-enabled Sphinx theme
License: BSD 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 Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
Patch0001: update-LICENSE-newyear.patch Patch0001: update-LICENSE-newyear.patch
Patch0002: Declare-support-for-Python-3_8+only.patch Patch0002: Declare-support-for-Python-3_8+only.patch
Patch0003: 0001-Add-python_requires.patch
BuildArch: noarch BuildArch: noarch
@ -50,6 +51,9 @@ rm -rf alabaster.egg-info
%changelog %changelog
* Thu Nov 16 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-7
- Add python_requires
* Mon Jan 9 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-6 * Mon Jan 9 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-6
- Declare support for Python 3.8+ only - Declare support for Python 3.8+ only