This commit is contained in:
penelope 2022-01-08 13:21:47 +08:00
parent cd68189d04
commit 30b9fc6cbb
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,21 @@
From ec4ad7e510c8de0b215a89a2c81bc00f08f70c72 Mon Sep 17 00:00:00 2001
From: Julian Knocke <Knocke.Julian@gmail.com>
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",

View File

@ -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 <yangping69@huawei.com> - 0.4.13-13
- fix use 2to3 is invalid
* Fri Sep 11 2020 wangxiao <wangxiao65@huawei.com> - 0.4.13-12
- Remove python2 support, fix BuildRequires