112 Star 0 Fork 27

src-openEuler/python-markdown
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-markdown.spec 3.44 KB
一键复制 编辑 原始数据 按行查看 历史
warlock 提交于 2025-11-21 10:26 +08:00 . Update package with version 3.10.0
%{!?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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-markdown.git
git@gitee.com:src-openeuler/python-markdown.git
src-openeuler
python-markdown
python-markdown
master

搜索帮助