同步操作将从 src-openEuler/python-markdown 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%{!?python2_sitelib: %global python2_sitelib %{python_sitelib}}%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")}Name: python-markdownVersion: 2.4.1Release: 13Summary: A Python implementation of John Gruber’s MarkdownLicense: BSDURL: https://pypi.org/project/Markdown/Source0: http://pypi.python.org/packages/source/M/Markdown/Markdown-%{version}.tar.gzBuildArch: noarchBuildRequires: python-devel >= 2.6 python-nose python3-devel >= 3.1 python3-nose%descriptionThis 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 python2-markdownSummary: A Python implementation of John Gruber’s MarkdownRequires: python >= 2.6Provides: python2-markdown(abi) = 2.4%description -n python2-markdownThis 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-markdownSummary: Markdown implementation in PythonRequires: python3 >= 3.1Provides: python3-markdown(abi) = 2.4%description -n python3-markdownThis 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} -p1find markdown -type f -name '*.py' -exec sed -i -e '/^#!/{1D}' {} \;find bin docs -type f -exec sed -i 's/\r//' {} \;cp -a . %{py3dir}%build%{__python2} setup.py buildcd %{py3dir}%{__python3} setup.py buildcd -%install%{__python2} setup.py install -O1 --skip-build --root %{buildroot}mv %{buildroot}%{_bindir}/markdown_py{,-%{python_version}}cd %{py3dir}%{__python3} setup.py install -O1 --skip-build --root %{buildroot}cd -mv %{buildroot}%{_bindir}/markdown_py{,-%{python3_version}}ln -s markdown_py-%{python_version} %{buildroot}%{_bindir}/markdown_py%check%{__python2} run-tests.py || :cd %{py3dir}%{__python3} run-tests.py || :cd -%files -n python2-markdown%doc build/docs/*%{python2_sitelib}/*%{_bindir}/markdown_py%{_bindir}/markdown_py-%{python_version}%files -n python3-markdown%doc build/docs/*%{python3_sitelib}/*%{_bindir}/markdown_py-%{python3_version}%changelog* Tue Nov 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.101-2- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。