!7 upgrade openEuler-22.03-LTS-Next python-sphinx-bootstrap-theme 0.8.1
From: @cherry530 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
8991443d75
@ -1,21 +0,0 @@
|
||||
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",
|
||||
@ -1,11 +1,12 @@
|
||||
Name: python-sphinx-bootstrap-theme
|
||||
Version: 0.4.13
|
||||
Release: 13
|
||||
%global srcname sphinx-bootstrap-theme
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.8.1
|
||||
Release: 1
|
||||
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
|
||||
URL: http://ryan-roemer.github.com/%{srcname}
|
||||
Source0: https://github.com/ryan-roemer/sphinx-bootstrap-theme/archive/v%{version}/%{srcname}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: web-assets-devel
|
||||
|
||||
@ -14,13 +15,13 @@ This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various
|
||||
hierarchical menu navigation, and mobile-friendly responsive design.It is configurable, extensible,
|
||||
and can use any number of different Bootswatch CSS themes.
|
||||
|
||||
%package -n python3-sphinx-bootstrap-theme
|
||||
%package -n python3-%{srcname}
|
||||
Summary: Sphinx Bootstrap Theme
|
||||
BuildRequires: python3-devel python3-setuptools
|
||||
Requires: python3-sphinx
|
||||
%{?python_provide:%python_provide python3-sphinx-bootstrap-theme}
|
||||
|
||||
%description -n python3-sphinx-bootstrap-theme
|
||||
%description -n python3-%{srcname}
|
||||
This Sphinx theme integrates the Bootstrap CSS/JavaScript framework with various layout options,
|
||||
hierarchicalmenunavigation,and mobile-friendly responsive design.It is configurable, extensible,
|
||||
and can use any number of different Bootswatch CSS themes.
|
||||
@ -32,8 +33,8 @@ Summary: Help documentation for sphinx-bootstrap-theme
|
||||
Help documentation for sphinx-bootstrap-theme.
|
||||
|
||||
%prep
|
||||
%{__rm} -rf *.egg-info
|
||||
%autosetup -n sphinx-bootstrap-theme-%{version} -p1
|
||||
%autosetup -n %{srcname}-%{version} -p1
|
||||
rm -rf *.egg-info
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -41,15 +42,17 @@ Help documentation for sphinx-bootstrap-theme.
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%files -n python3-sphinx-bootstrap-theme
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE.txt
|
||||
%{python3_sitelib}/sphinx_bootstrap_theme
|
||||
%{python3_sitelib}/sphinx_bootstrap_theme-%{version}-py%{python3_version}.egg-info
|
||||
|
||||
%files help
|
||||
%doc PKG-INFO *.rst
|
||||
%doc *.rst
|
||||
|
||||
%changelog
|
||||
* Thu Oct 27 2022 xu_ping <xuping33@h-partners.com> - 0.8.1-1
|
||||
- Upgrade python-sphinx-bootstrap-theme to 0.8.1
|
||||
|
||||
* Sat Jan 08 2022 yangping <yangping69@huawei.com> - 0.4.13-13
|
||||
- fix use 2to3 is invalid
|
||||
|
||||
Binary file not shown.
BIN
sphinx-bootstrap-theme-0.8.1.tar.gz
Normal file
BIN
sphinx-bootstrap-theme-0.8.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user