Accepting request 486644 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/486644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mistune?expand=0&rev=3
This commit is contained in:
Yuchen Lin 2017-04-12 15:35:44 +00:00 committed by Git OBS Bridge
commit a296fcdf44
4 changed files with 53 additions and 20 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,33 @@
-------------------------------------------------------------------
Fri Apr 7 21:13:02 UTC 2017 - toddrme2178@gmail.com
- Fix source url.
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -16,24 +16,24 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-mistune
Version: 0.7
Version: 0.7.4
Release: 0
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
Source0: https://files.pythonhosted.org/packages/source/m/mistune/mistune-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
BuildRequires: python-rpm-macros
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module 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
%python_subpackages
%description
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}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes %{buildroot}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files
%check
%python_expand nosetests-%{$python_bin_suffix}
%files %{python_files}
%defattr(-,root,root)
%doc LICENSE README.rst
%{python_sitelib}/*
%doc CHANGES.rst LICENSE README.rst
%{python_sitearch}/*
%changelog