!46 [sync] PR-35: [sync] PR-30: Add python_requires

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2024-05-27 08:56:56 +00:00 committed by Gitee
commit c010d7dd0b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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
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<zhangliangpengkun@xfusion.com> - 0.7.12-7
- Add python_requires
* Mon Jan 9 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-6
- Declare support for Python 3.8+ only