update package of version 1.5.2 mkdocs
This commit is contained in:
parent
0b07cde742
commit
528bad3235
@ -1,25 +0,0 @@
|
||||
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
|
||||
|
||||
Binary file not shown.
@ -1,21 +1,19 @@
|
||||
# Created by pyp2rpm-3.3.9
|
||||
%global pypi_name mkdocs
|
||||
%global pypi_version 1.4.3
|
||||
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: %{pypi_version}
|
||||
Version: 1.5.2
|
||||
Release: 1
|
||||
Summary: Project documentation with Markdown
|
||||
|
||||
License: BSD
|
||||
URL: https://www.mkdocs.org
|
||||
Source0: https://files.pythonhosted.org/packages/b0/ef/49b4427e5eec761b77a3c3c421d3fd63010e2798b7401dc0fa2b875ef6b5/mkdocs-1.4.3.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/35/6a/63612e19d9c903a608caf91fd2c1f07ccbb9610de4ddb6f187aec1cce197/mkdocs-1.5.2.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
Patch001:0001-markdown_mkdocs1.4.3.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3dist(setuptools)
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-editables
|
||||
@ -34,6 +32,16 @@ MkDocs is Python powered, this package is built with Python 3.
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python3-%{pypi_name}}
|
||||
|
||||
%package help
|
||||
Summary: %{summary}
|
||||
Provides: python3-%{pypi_name}-doc
|
||||
%description help
|
||||
MkDocs is a fast and simple way to create a website from source files written
|
||||
in Markdown, and configured with a YAML configuration file, the documentation
|
||||
can be hosted anywhere, even in free hosting services like Read the Docs and
|
||||
GitHub Pages.
|
||||
MkDocs is Python powered, this package is built with Python 3.
|
||||
|
||||
%description -n python3-%{pypi_name}
|
||||
MkDocs is a fast and simple way to create a website from source files written
|
||||
in Markdown, and configured with a YAML configuration file, the documentation
|
||||
@ -41,27 +49,42 @@ can be hosted anywhere, even in free hosting services like Read the Docs and
|
||||
GitHub Pages.
|
||||
MkDocs is Python powered, this package is built with Python 3.
|
||||
|
||||
%patch001 -p1
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{pypi_version}
|
||||
# Remove bundled egg-info
|
||||
rm -rf %{pypi_name}.egg-info
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||
pushd %{buildroot}
|
||||
touch doclist.lst
|
||||
if [ -d usr/share/man ]; then
|
||||
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||
fi
|
||||
popd
|
||||
mv %{buildroot}/doclist.lst .
|
||||
|
||||
%files -n python3-%{pypi_name}
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/mkdocs
|
||||
%{python3_sitelib}/%{pypi_name}
|
||||
%{python3_sitelib}/%{pypi_name}-*-info
|
||||
%{python3_sitelib}/%{pypi_name}*
|
||||
|
||||
%files help
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 25 2023 luolu12 <luluoc@isoftstone.com> - 1.5.2-1
|
||||
- update package of version 1.5.2.
|
||||
|
||||
* Mon Jun 26 2023 luolu12 <luluoc@isoftstone.com> - 1.4.3-1
|
||||
- update package of version 1.4.3.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user