Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f200b4b1a7
!35 Upgrade to 3.5.1
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-01-09 01:31:06 +00:00
lyn1001
686fedef84 update to 3.5.1 2024-01-08 11:27:27 +08:00
openeuler-ci-bot
a52c1461bd
!29 Upgrade to 3.4.1
From: @chen-jan 
Reviewed-by: @lyn1001 
Signed-off-by: @lyn1001
2023-06-01 01:09:03 +00:00
chen-jan
a6a9f6221d Upgrade to 3.4.1 2023-05-31 15:38:05 +08:00
openeuler-ci-bot
1275dcdd01
!21 Update th/td to use style attribute
From: @cao-fei8 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
2023-01-17 07:32:27 +00:00
cao-fei8
b449f1fdc0 Update th/td to use style attribute
Reference:
659a43659c

Signed-off-by: cao-fei8 <caofei@xfusion.com>
2023-01-16 19:25:47 +08:00
openeuler-ci-bot
6abdc03e25
!18 Package upgrade
From: @lyn1001 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-06-14 03:11:48 +00:00
lyn1001
f1f6aad15e Package upgrade 2022-06-13 16:44:43 +08:00
openeuler-ci-bot
c664bb2600
!17 License compliance rectification
From: @wang--ge 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-05-11 01:14:57 +00:00
wang--ge
b549b2dcbc License compliance rectification 2022-05-10 17:25:02 +08:00
3 changed files with 27 additions and 10 deletions

Binary file not shown.

BIN
Markdown-3.5.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,16 +1,16 @@
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
Name: python-markdown
Version: 3.3.1
Release: 4
Version: 3.5.1
Release: 1
Summary: A Python implementation of John Grubers Markdown
License: BSD
License: BSD-3-Clause
URL: https://pypi.org/project/Markdown/
Source0: https://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gz
Source0: %{pypi_source Markdown}
BuildArch: noarch
BuildRequires: python3-devel >= 3.1 python3-nose2 python3-pyyaml
BuildRequires: python3-devel >= 3.1 python3-nose2 python3-pyyaml python3-pip python3-wheel
%description
This is a Python implementation of John Grubers Markdown.
@ -30,23 +30,40 @@ though there are a few known issues.
%prep
%autosetup -n Markdown-%{version} -p1
find markdown -type f -name '*.py' -exec sed -i -e '/^#!/{1D}' {} \;
find docs -type f -exec sed -i 's/\r//' {} \;
%build
%{__python3} setup.py build
%pyproject_build
%install
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
%pyproject_install
PYTHONPATH=%{buildroot}%{python3_sitelib} \
%{buildroot}%{_bindir}/markdown_py \
LICENSE.md > LICENSE.html
%check
%{__python3} -m unittest discover tests
%files -n python3-markdown
%license LICENSE.html LICENSE.md
%{python3_sitelib}/*
%{_bindir}/markdown_py
%changelog
* Mon Jan 8 2024 liyanan <liyanan61@h-partners.com> - 3.5.1-1
- Upgrade to 3.5.1
* Wed May 31 2023 chenchen <chen_aka_jan@163.com> - 3.4.1-1
- Upgrade to 3.4.1
* Tue Jan 17 2023 caofei <caofei@xfusion.com> - 3.3.7-2
- Update th/td to use style attribute
* Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 3.3.7-1
- Upgrade to version 3.3.7
* Tue May 10 2022 Ge Wang <wangge20@h-partner.com> - 3.3.1-5
- License compliance rectification
* Wed Jan 05 2022 Ge Wang <wangge20@huawei.com> - 3.3.1-4
- Change BuildRequires from python3-nose to python3-nose2 due to python3-nose is abandoned