Declare support for Python 3.8+ only

Signed-off-by: zhangliangpengkun <zhangliangpengkun@xfusion.com>
This commit is contained in:
zhangliangpengkun 2023-01-09 11:16:09 +08:00
parent 6e84ffdc47
commit b4bbb656ad
2 changed files with 42 additions and 1 deletions

View File

@ -0,0 +1,37 @@
From 3eff1f68d0d957421421f57477e3961bcf61c849 Mon Sep 17 00:00:00 2001
From: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Date: Fri, 6 Jan 2023 21:51:12 +0000
Subject: [PATCH] Declare support for Python 3.8+ only (#195)
---
setup.py | 13 ++++++---------
1 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/setup.py b/setup.py
index b7a1779..d1644e7 100644
--- a/setup.py
+++ b/setup.py
@@ -29,16 +29,11 @@ setup(
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
- "Programming Language :: Python",
- "Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.6",
- "Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.2",
- "Programming Language :: Python :: 3.3",
- "Programming Language :: Python :: 3.4",
- "Programming Language :: Python :: 3.5",
- "Programming Language :: Python :: 3.6",
+ "Programming Language :: Python :: 3 :: Only",
+ "Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Documentation",
--
2.39.0.windows.2

View File

@ -1,12 +1,13 @@
name: python-sphinx-theme-alabaster
Version: 0.7.12
Release: 5
Release: 6
Summary: Configurable sidebar-enabled Sphinx theme
License: BSD
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
BuildArch: noarch
@ -49,6 +50,9 @@ rm -rf alabaster.egg-info
%changelog
* Mon Jan 9 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-6
- Declare support for Python 3.8+ only
* Sat Jan 7 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-5
- update-LICENSE-newyear