Group :: Development/Python3
RPM: python3-module-mistune
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname mistune
Name: python3-module-%oname
Version: 0.8.3
Release: alt2
Summary: The fastest markdown parser in pure Python
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/mistune/
# https://github.com/lepture/mistune.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-wheel
BuildPreReq: python3-module-nose
BuildPreReq: python3-module-Cython
%py3_provides %oname
%description
The fastest markdown parser in pure Python, inspired by marked.
Features:
* Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy.
* Very Fast. It is the fastest in all pure Python markdown parsers.
* More Features. Table, footnotes, autolink, fenced code etc.
%prep
%setup
%build
%add_optflags -fno-strict-aliasing
%python3_build
%install
%python3_install
rm -fR %buildroot%python3_sitelibdir/*.py \
%buildroot%python3_sitelibdir/__pycache__
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
nosetests3 -v
%files
%doc *.rst docs/*.rst
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here
Name: python3-module-%oname
Version: 0.8.3
Release: alt2
Summary: The fastest markdown parser in pure Python
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/mistune/
# https://github.com/lepture/mistune.git
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildPreReq: python3-module-wheel
BuildPreReq: python3-module-nose
BuildPreReq: python3-module-Cython
%py3_provides %oname
%description
The fastest markdown parser in pure Python, inspired by marked.
Features:
* Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy.
* Very Fast. It is the fastest in all pure Python markdown parsers.
* More Features. Table, footnotes, autolink, fenced code etc.
%prep
%setup
%build
%add_optflags -fno-strict-aliasing
%python3_build
%install
%python3_install
rm -fR %buildroot%python3_sitelibdir/*.py \
%buildroot%python3_sitelibdir/__pycache__
%check
export PYTHONPATH=%buildroot%python3_sitelibdir
nosetests3 -v
%files
%doc *.rst docs/*.rst
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here