diff --git a/fix_use_2to3_invalid.patch b/fix_use_2to3_invalid.patch new file mode 100644 index 0000000..b282b99 --- /dev/null +++ b/fix_use_2to3_invalid.patch @@ -0,0 +1,21 @@ +From ec4ad7e510c8de0b215a89a2c81bc00f08f70c72 Mon Sep 17 00:00:00 2001 +From: Julian Knocke +Date: Tue, 7 Sep 2021 15:56:51 +0200 +Subject: [PATCH] Remove `use_2to3` from setup configuration + +--- + setup.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 90509cf..68f2b72 100644 +--- a/setup.py ++++ b/setup.py +@@ -37,7 +37,6 @@ def read_file(name): + setup( + name="sphinx-bootstrap-theme", + version=__version__, +- use_2to3=True, + description="Sphinx Bootstrap Theme.", + long_description=read_file("README"), + url="http://ryan-roemer.github.com/sphinx-bootstrap-theme/README.html", diff --git a/python-sphinx-bootstrap-theme.spec b/python-sphinx-bootstrap-theme.spec index f2bb722..d2a27da 100644 --- a/python-sphinx-bootstrap-theme.spec +++ b/python-sphinx-bootstrap-theme.spec @@ -1,10 +1,11 @@ Name: python-sphinx-bootstrap-theme Version: 0.4.13 -Release: 12 +Release: 13 Summary: Sphinx Bootstrap Theme License: MIT and ASL 2.0 URL: http://ryan-roemer.github.com/sphinx-bootstrap-theme Source0: https://files.pythonhosted.org/packages/source/s/sphinx-bootstrap-theme/sphinx-bootstrap-theme-%{version}.tar.gz +Patch0: fix_use_2to3_invalid.patch BuildArch: noarch BuildRequires: web-assets-devel @@ -49,6 +50,10 @@ Help documentation for sphinx-bootstrap-theme. %doc PKG-INFO *.rst %changelog + +* Sat Jan 08 2022 yangping - 0.4.13-13 +- fix use 2to3 is invalid + * Fri Sep 11 2020 wangxiao - 0.4.13-12 - Remove python2 support, fix BuildRequires