!5 解决在22.03-next-lts分支编译失败setup command: use_2to3 is invalid问题

Merge pull request !5 from penelope/openEuler-22.03-LTS-Next
This commit is contained in:
openeuler-ci-bot 2022-01-10 06:18:35 +00:00 committed by Gitee
commit 7f0274536d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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 Name: python-sphinx-bootstrap-theme
Version: 0.4.13 Version: 0.4.13
Release: 12 Release: 13
Summary: Sphinx Bootstrap Theme Summary: Sphinx Bootstrap Theme
License: MIT and ASL 2.0 License: MIT and ASL 2.0
URL: http://ryan-roemer.github.com/sphinx-bootstrap-theme 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 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 BuildArch: noarch
BuildRequires: web-assets-devel BuildRequires: web-assets-devel
@ -49,6 +50,10 @@ Help documentation for sphinx-bootstrap-theme.
%doc PKG-INFO *.rst %doc PKG-INFO *.rst
%changelog %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 * Fri Sep 11 2020 wangxiao <wangxiao65@huawei.com> - 0.4.13-12
- Remove python2 support, fix BuildRequires - Remove python2 support, fix BuildRequires