代码拉取完成,页面将自动刷新
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
Name: python-markdown
Version: 3.10
Release: 1
Summary: A Python implementation of John Gruber’s Markdown
License: BSD-3-Clause
URL: https://pypi.org/project/Markdown/
Source0: %{pypi_source markdown}
BuildArch: noarch
BuildRequires: python3-devel >= 3.1 python3-nose2 python3-pyyaml python3-pip python3-wheel
%description
This is a Python implementation of John Gruber’s Markdown.
It is almost completely compliant with the reference implementation,
though there are a few known issues.
%package -n python3-markdown
Summary: Markdown implementation in Python
Requires: python3 >= 3.1
%{?python_provide:%python_provide python3-markdown}
%description -n python3-markdown
This is a Python implementation of John Gruber’s Markdown.
It is almost completely compliant with the reference implementation,
though there are a few known issues.
%prep
%autosetup -n markdown-%{version} -p1
%build
%pyproject_build
%install
%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
* Thu Nov 20 2025 warlock <hunan@kylinos.cn> -3.10-1
- Update package to version 3.10
Officially support Python 3.14 and PyPy 3.11 and drop support for Python 3.9 and PyPy 3.9.
* Thu Sep 18 2025 Yu Peng <yupeng@kylinos.cn> - 3.9-1
- Upgrade to 3.9
* Footnotes are now ordered by the occurrence of their references in the document. A new configuration option
for the footnotes extension, USE_DEFINITION_ORDER, has been added to support restoring the previous
behavior of ordering footnotes by the occurrence of definitions (#1367).
* Ensure inline processing iterates through elements in document order (#1546).
* Fix handling of incomplete HTML tags in code spans in Python 3.14 (#1547).
* Thu Jul 03 2025 yaoxin <1024769339@qq.com> - 3.8.2-1
- Update to 3.8.2:
* Fix codecs deprecation in Python 3.14.
* Fix issue with unclosed comment parsing in Python 3.14.
* Fix issue with unclosed declarations in Python 3.14.
* Fix issue with unclosed HTML tag <foo and Python 3.14.
* Thu Oct 10 2024 Ge Wang <wang__Ge@126.com> - 3.7-1
- Upgrade to 3.7
* 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
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 3.3.1-3
- Provide python-markdown
* Tue Oct 27 2020 wangxiao <wangxiao65@huawei.com> - 3.3.1-2
- remove python2 buildrequires
* Thu Oct 15 2020 Zhipeng Xie <xiezhipeng1@huawei.com> - 3.3.1-1
- upgrade to 3.3.1
* Tue Sep 29 2020 liuweibo <liuweibo10@huawei.com> - 2.4.1-14
- Fix Source0
* Tue Nov 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.4.1-13
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。