1
0

Accepting request 322406 from home:TheBlackCat:branches:devel:languages:python

update to version 0.7

OBS-URL: https://build.opensuse.org/request/show/322406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistune?expand=0&rev=8
This commit is contained in:
Todd R 2015-08-13 12:25:50 +00:00 committed by Git OBS Bridge
parent cab9b1ad52
commit 5941bca7da
4 changed files with 33 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cc66489a28845c0e1848ae290af5b555074eb76185136ca058e8eed1faa89692
size 183864

3
mistune-0.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1daa2e55f5de63ecde7c446c4677c0447006752f78ad2c9c1c3c3452d395f89f
size 48203

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Aug 13 12:08:46 UTC 2015 - toddrme2178@gmail.com
- update to version 0.7:
* Fix the breaking change in version 0.6 with options:
parse_inline_html and parse_block_html
* Breaking change: remove parse_html option for explicit
* Change option escape default value to True for security reason
- update to version 0.6:
* Breaking change on inline HTML, text in inline HTML will not be
parsed per #38.
* Replace tag renderer with inline_html for breaking change on
inline HTML
* Double emphasis, emphasis, code, and strikethrough can contain one
linebreak per #48.
* Match autolinks that do not have / in their URI via #53.
* A work around on link that contains ) per #46.
* Add <font> tag for inline tags per #55.
-------------------------------------------------------------------
Tue Apr 7 11:16:51 UTC 2015 - zaitor@opensuse.org

View File

@ -17,18 +17,23 @@
Name: python-mistune
Version: 0.5.1
Version: 0.7
Release: 0
Source0: https://pypi.python.org/packages/source/m/mistune/mistune-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: https://github.com/lepture/mistune
Summary: The fastest markdown parser in pure Python
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/lepture/mistune
Source0: https://pypi.python.org/packages/source/m/mistune/mistune-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-Cython
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
The fastest markdown parser in pure Python, inspired by marked.
@ -37,7 +42,6 @@ The fastest markdown parser in pure Python, inspired by marked.
%setup -q -n mistune-%{version}
%build
export CFLAGS="%{optflags}"
python setup.py build
%install
@ -47,7 +51,6 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc LICENSE README.rst
%{python_sitearch}/mistune-%{version}-py*.egg-info
%{python_sitearch}/mistune.*
%{python_sitelib}/*
%changelog