!8 update package version 1.43 of mkdocs

From: @luolu12 
Reviewed-by: @desert-sailor 
Signed-off-by: @desert-sailor
This commit is contained in:
luolu_girl 2023-06-27 07:15:35 +00:00 committed by openeuler-ci-bot
parent f13ec77d72
commit 3a0f5629f0
4 changed files with 40 additions and 31 deletions

View File

@ -0,0 +1,25 @@
From 48e5ffc4610957f263f37d1665624142f4f4244a Mon Sep 17 00:00:00 2001
From: luolu12 <luluoc@isoftstone.com>
Date: Tue, 27 Jun 2023 10:24:30 +0800
Subject: [PATCH] patch
---
pyproject.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index 9c32c94..4209fe8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,7 +35,7 @@ requires-python = ">=3.7"
dependencies = [
"click >=7.0",
"Jinja2 >=2.11.1",
- "Markdown >=3.2.1, <3.4",
+ "Markdown >=3.2.1, <=3.4.1",
"PyYAML >=5.1",
"watchdog >=2.0",
"ghp-import >=1.0",
--
2.33.0

View File

@ -1,25 +0,0 @@
From 16eec781d87b4c1d941290405cc7203624697d0c Mon Sep 17 00:00:00 2001
From: luolu12 <luluoc@isoftstone.com>
Date: Thu, 15 Jun 2023 14:45:43 +0800
Subject: [PATCH] patch add
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 1115ce0..94bd15a 100755
--- a/setup.py
+++ b/setup.py
@@ -64,7 +64,7 @@ setup(
install_requires=[
'click>=3.3',
'Jinja2>=2.10.2',
- 'Markdown>=3.2.1,<3.4',
+ 'Markdown>=3.2.1,<=3.4.1',
'PyYAML>=3.10',
'watchdog>=2.0',
'ghp-import>=1.0',
--
2.33.0

View File

@ -1,6 +1,6 @@
# Created by pyp2rpm-3.3.9 # Created by pyp2rpm-3.3.9
%global pypi_name mkdocs %global pypi_name mkdocs
%global pypi_version 1.3.1 %global pypi_version 1.4.3
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: %{pypi_version} Version: %{pypi_version}
@ -9,13 +9,19 @@ Summary: Project documentation with Markdown
License: BSD License: BSD
URL: https://www.mkdocs.org URL: https://www.mkdocs.org
Source0: https://files.pythonhosted.org/packages/52/16/2c2de8fac0437fb81d8f31558111fddcedf56eb56d90dea6ec922fcd588a/mkdocs-1.3.1.tar.gz Source0: https://files.pythonhosted.org/packages/b0/ef/49b4427e5eec761b77a3c3c421d3fd63010e2798b7401dc0fa2b875ef6b5/mkdocs-1.4.3.tar.gz
BuildArch: noarch BuildArch: noarch
Patch001:markdown-version.patch Patch001:0001-markdown_mkdocs1.4.3.patch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools)
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-editables
BuildRequires: python3-hatch-vcs
BuildRequires: python3-hatchling
BuildRequires: python3-babel
%description %description
MkDocs is a fast and simple way to create a website from source files written MkDocs is a fast and simple way to create a website from source files written
@ -43,18 +49,21 @@ MkDocs is Python powered, this package is built with Python 3.
rm -rf %{pypi_name}.egg-info rm -rf %{pypi_name}.egg-info
%build %build
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name}
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{_bindir}/mkdocs %{_bindir}/mkdocs
%{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-*.egg-info %{python3_sitelib}/%{pypi_name}-*-info
%changelog %changelog
* Mon Jun 26 2023 luolu12 <luluoc@isoftstone.com> - 1.4.3-1
- update package of version 1.4.3.
* Thu Jun 15 2023 luolu12 <luluoc@isoftstone.com> - 1.3.1-1 * Thu Jun 15 2023 luolu12 <luluoc@isoftstone.com> - 1.3.1-1
- Initial package. - Initial package.