From 59bc710be07bb9e88159ac9f8bc33b3e88ebbbad Mon Sep 17 00:00:00 2001 From: zhang-liang-pengkun Date: Thu, 28 Dec 2023 16:13:30 +0800 Subject: [PATCH] Don't import deprecated module Signed-off-by: zhang-liang-pengkun --- 0003-Don-t-import-deprecated-module.patch | 28 +++++++++++++++++++++++ python-sphinx-theme-alabaster.spec | 6 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 0003-Don-t-import-deprecated-module.patch diff --git a/0003-Don-t-import-deprecated-module.patch b/0003-Don-t-import-deprecated-module.patch new file mode 100644 index 0000000..84cb8f4 --- /dev/null +++ b/0003-Don-t-import-deprecated-module.patch @@ -0,0 +1,28 @@ +From 96bb1c2ae28333046e2a81f9dfcc1e21aa7624d2 Mon Sep 17 00:00:00 2001 +From: Jeff Forcier +Date: Thu, 8 Sep 2022 17:41:11 -0400 +Subject: [PATCH] Don't import deprecated module + +--- + tasks.py | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/tasks.py b/tasks.py +index b15ee74..b3358e5 100644 +--- a/tasks.py ++++ b/tasks.py +@@ -1,9 +1,9 @@ + from invoke import Collection +-from invocations import docs, travis, checks ++from invocations import docs, checks + from invocations.packaging import release + + +-ns = Collection(release, docs, travis, checks.blacken) ++ns = Collection(release, docs, checks.blacken) + ns.configure( + { + "packaging": { +-- +2.39.0.windows.2 + diff --git a/python-sphinx-theme-alabaster.spec b/python-sphinx-theme-alabaster.spec index 620296a..18aea24 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: 3 +Release: 4 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: 0001-Declare-support-for-Python-3.8-only.patch Patch0002: 0002-Nix-setup.cfg.patch +Patch0003: 0003-Don-t-import-deprecated-module.patch BuildArch: noarch BuildRequires: python2-devel python2-setuptools @@ -66,6 +67,9 @@ rm -rf alabaster.egg-info %changelog +* Thu Dec 28 2023 zhangliangpengkun - 0.7.12-4 +- Don't import deprecated module + * Tue Dec 05 2023 zhangliangpengkun - 0.7.12-3 - Nix setup.cfg