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

- update to version 0.7.4
- Initial singlespec version

OBS-URL: https://build.opensuse.org/request/show/486626
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistune?expand=0&rev=10
This commit is contained in:
Todd R 2017-04-07 20:44:49 +00:00 committed by Git OBS Bridge
parent 5941bca7da
commit 0d66fa54bb
4 changed files with 47 additions and 19 deletions

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

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

View File

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

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Fri Apr 7 20:00:54 UTC 2017 - toddrme2178@gmail.com
- update to version 0.7.4:
* Fix escape_link method by Marcos Ojeda
* Handle block HTML with no content by David Baumgold
* Use expandtabs for tab
* Fix escape option for text renderer
* Fix HTML attribute regex pattern
- update to version 0.7.3:
* Fix strikethrough regex
* Fix HTML attribute regex
* Fix close tag regex
- update to version 0.7.2:
* Fix hard_wrap options on renderer.
* Fix emphasis regex pattern
* Fix base64 image link #80.
* Fix link security per #87.
- update to version 0.7.1:
* Fix inline html when there is no content per #71.
- specfile:
* Initial singlespec version
* update copyright year
* updated source url to files.pythonhosted.org
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 13 12:08:46 UTC 2015 - toddrme2178@gmail.com Thu Aug 13 12:08:46 UTC 2015 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-mistune # spec file for package python-mistune
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,8 +16,9 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-mistune Name: python-mistune
Version: 0.7 Version: 0.7.4
Release: 0 Release: 0
Summary: The fastest markdown parser in pure Python Summary: The fastest markdown parser in pure Python
License: BSD-3-Clause License: BSD-3-Clause
@ -25,15 +26,14 @@ Group: Development/Languages/Python
Url: https://github.com/lepture/mistune Url: https://github.com/lepture/mistune
Source0: https://pypi.python.org/packages/source/m/mistune/mistune-%{version}.tar.gz Source0: https://pypi.python.org/packages/source/m/mistune/mistune-%{version}.tar.gz
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-devel BuildRequires: python-rpm-macros
BuildRequires: python-nose BuildRequires: %{python_module Cython}
BuildRequires: python-setuptools BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRoot: %{_tmppath}/%{name}-%{version}-build 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()")} %python_subpackages
%else
BuildArch: noarch
%endif
%description %description
The fastest markdown parser in pure Python, inspired by marked. The fastest markdown parser in pure Python, inspired by marked.
@ -42,15 +42,18 @@ The fastest markdown parser in pure Python, inspired by marked.
%setup -q -n mistune-%{version} %setup -q -n mistune-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%fdupes %{buildroot} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %check
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE README.rst %doc CHANGES.rst LICENSE README.rst
%{python_sitelib}/* %{python_sitearch}/*
%changelog %changelog