From 0d66fa54bba3a89ad0e088bee1439310eea211ff5df864d718deaf3a3798ac2f Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 7 Apr 2017 20:44:49 +0000 Subject: [PATCH] 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 --- mistune-0.7.4.tar.gz | 3 +++ mistune-0.7.tar.gz | 3 --- python-mistune.changes | 25 +++++++++++++++++++++++++ python-mistune.spec | 35 +++++++++++++++++++---------------- 4 files changed, 47 insertions(+), 19 deletions(-) create mode 100644 mistune-0.7.4.tar.gz delete mode 100644 mistune-0.7.tar.gz diff --git a/mistune-0.7.4.tar.gz b/mistune-0.7.4.tar.gz new file mode 100644 index 0000000..44717fd --- /dev/null +++ b/mistune-0.7.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8517af9f5cd1857bb83f9a23da75aa516d7538c32a2c5d5c56f3789a9e4cd22f +size 49304 diff --git a/mistune-0.7.tar.gz b/mistune-0.7.tar.gz deleted file mode 100644 index 817a8af..0000000 --- a/mistune-0.7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1daa2e55f5de63ecde7c446c4677c0447006752f78ad2c9c1c3c3452d395f89f -size 48203 diff --git a/python-mistune.changes b/python-mistune.changes index b86777a..6105fc1 100644 --- a/python-mistune.changes +++ b/python-mistune.changes @@ -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 diff --git a/python-mistune.spec b/python-mistune.spec index f7a879b..371dc84 100644 --- a/python-mistune.spec +++ b/python-mistune.spec @@ -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,8 +16,9 @@ # +%{?!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 @@ -25,15 +26,14 @@ 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-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