代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-markdown 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}
Name: python-markdown
Version: 3.4.1
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
%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
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
%install
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
%check
%{__python3} -m unittest discover tests
%files -n python3-markdown
%{python3_sitelib}/*
%{_bindir}/markdown_py
%changelog
* Wed May 31 2023 chenchen <[email protected]> - 3.4.1-1
- Upgrade to 3.4.1
* Tue Jan 17 2023 caofei <[email protected]> - 3.3.7-2
- Update th/td to use style attribute
* Thu Jun 09 2022 SimpleUpdate Robot <[email protected]> - 3.3.7-1
- Upgrade to version 3.3.7
* Tue May 10 2022 Ge Wang <[email protected]> - 3.3.1-5
- License compliance rectification
* Wed Jan 05 2022 Ge Wang <[email protected]> - 3.3.1-4
- Change BuildRequires from python3-nose to python3-nose2 due to python3-nose is abandoned
* Mon Sep 27 2021 lingsheng <[email protected]> - 3.3.1-3
- Provide python-markdown
* Tue Oct 27 2020 wangxiao <[email protected]> - 3.3.1-2
- remove python2 buildrequires
* Thu Oct 15 2020 Zhipeng Xie <[email protected]> - 3.3.1-1
- upgrade to 3.3.1
* Tue Sep 29 2020 liuweibo <[email protected]> - 2.4.1-14
- Fix Source0
* Tue Nov 26 2019 openEuler Buildteam <[email protected]> - 2.4.1-13
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。