Projects
Eulaceura:Factory
python-markdown2
_service:obs_scm:python-markdown2.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-markdown2.spec of Package python-markdown2
%global _empty_manifest_terminate_build 0 Name: python-markdown2 Version: 2.5.1 Release: 1 Summary: A fast and complete Python implementation of Markdown License: MIT URL: https://github.com/trentm/python-markdown2 Source0: https://files.pythonhosted.org/packages/source/m/markdown2/markdown2-%{version}.tar.gz BuildArch: noarch %description Markdown is a text-to-HTML filter; it translates an easy-to-read / easy-to-write structured text format into HTML. Markdown's text format is most similar to that of plain text email, and supports features such as headers, *emphasis*, code blocks, blockquotes, and links. %package -n python3-markdown2 Summary: A fast and complete Python implementation of Markdown Provides: python-markdown2 = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools %description -n python3-markdown2 Markdown is a text-to-HTML filter; it translates an easy-to-read / easy-to-write structured text format into HTML. Markdown's text format is most similar to that of plain text email, and supports features such as headers, *emphasis*, code blocks, blockquotes, and links. %package help Summary: Development documents and examples for markdown2 Provides: python3-markdown2-doc %description help Development documents and examples for markdown2 %prep %autosetup -n markdown2-%{version} %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-markdown2 -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Nov 05 2024 songliyang <songliyang@kylinos.cn> - 2.5.1-1 - Update package to version 2.5.1 - Add option to output to file in CLI - Add support for Python 3.13 - Remove redundant version checks - Fix tox: 'failed with make is not allowed, use allowlist_externals to allow it' * Tue Jul 16 2024 zhaoshuang <zhaoshuang@uniontech.com> - 2.5.0-1 - Update package to version 2.5.0 Add support for custom extras Drop Python 3.5\3.6\3.7 support Add prepend arg to toc extra Process HTML comments as markdown in 'escape' safe mode Fix syntax warnings in test suite Process inline tags as HTML blocks when they span multiple lines Add new LaTeX Extra Fix html, head and body tags being wrapped in <p> tags Graceful handling of broken lists when cuddled-lists extra is enabled Add type hints Drop Python 3.6 and 3.7 support Fix fenced code blocks breaking lists Fix #583 by tweaking incomplete tag regex Fix AssertionError on malformed HTML * Tue Mar 26 2024 zhaojingyu <zhaojingyu@kylinos.cn> - 2.4.13-1 - Update package to version 2.4.13 * Tue Mar 19 2024 zhaojinyu <zhaojingyu@kylinos.cn> - 2.4.11-1 - Update package to version 2.4.11 * Tue Aug 01 2023 zhangchenglin <zhangchenglin@kylinos.cn> - 2.4.10-1 - Update package to version 2.4.10 * Tue Jul 04 2023 chenzixuan <chenzixuan@kylinos.cn> - 2.4.9-1 - Update package to version 2.4.9 * Wed Mar 01 2023 wangjunqi <wangjunqi@kylinos.cn> - 2.4.8-1 - Update package to version 2.4.8 * Mon Nov 14 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 2.4.6-1 - Upgrade package to version 2.4.6 * Mon Sep 26 2022 guozhengxin <guozhengxin@kylinos.cn> - 2.4.5-1 - Upgrade package to version 2.4.5 * Sun May 23 2021 Python_Bot <Python_Bot@openeuler.org> - 2.4.0-1 - Package Spec generated
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2