From bfe54db1297bf150d8f6a0a3d98215e3e283625a567df79b337ee8b3d8bb0cbf Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Fri, 17 Nov 2017 10:44:29 +0000 Subject: [PATCH] - update to version 3.0.0: * Update to the current version of html5lib * Bugfixes: * Fix handling of HTML entities in extended pre blocks. (#55) * Empty definitions in definition lists raised an exception (#56) * Fix handling of unicode in img attributes (#58) - fix dependencies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textile?expand=0&rev=14 --- 3.0.0.tar.gz | 3 +++ python-textile.changes | 15 +++++++++++++++ python-textile.spec | 23 +++++++++++++++++------ textile-2.3.16.tar.gz | 3 --- 4 files changed, 35 insertions(+), 9 deletions(-) create mode 100644 3.0.0.tar.gz delete mode 100644 textile-2.3.16.tar.gz diff --git a/3.0.0.tar.gz b/3.0.0.tar.gz new file mode 100644 index 0000000..28d1625 --- /dev/null +++ b/3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5fd714b9e10afb48a2285ef504002c611bde277eebfa6b75425e3ae4a98bbc0c +size 47822 diff --git a/python-textile.changes b/python-textile.changes index bf4b38a..a8dbad1 100644 --- a/python-textile.changes +++ b/python-textile.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Nov 16 21:55:29 UTC 2017 - sebix+novell.com@sebix.at + +- update to version 3.0.0: + * Update to the current version of html5lib + * Bugfixes: + * Fix handling of HTML entities in extended pre blocks. (#55) + * Empty definitions in definition lists raised an exception (#56) + * Fix handling of unicode in img attributes (#58) + +------------------------------------------------------------------- +Sun Sep 17 14:05:59 UTC 2017 - sebix+novell.com@sebix.at + +- fix dependencies + ------------------------------------------------------------------- Wed Aug 16 19:35:04 UTC 2017 - sebix+novell.com@sebix.at diff --git a/python-textile.spec b/python-textile.spec index 6213487..5279a5c 100644 --- a/python-textile.spec +++ b/python-textile.spec @@ -19,22 +19,30 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-textile -Version: 2.3.16 +Version: 3.0.0 Release: 0 Summary: Textile processing for python License: BSD-3-Clause Group: Development/Languages/Python Url: http://github.com/textile/python-textile -Source: https://files.pythonhosted.org/packages/source/t/textile/textile-%{version}.tar.gz -Requires: python-Pillow -Requires: python-html5lib +# Does not have tests included, see https://github.com/textile/python-textile/issues/59 +# Source: https://files.pythonhosted.org/packages/source/t/textile/textile-%%{version}.tar.gz +Source: https://github.com/textile/python-textile/archive/%{version}.tar.gz +Requires: python-Pillow >= 3.0.0 +Requires: python-html5lib >= 0.999999999 +Requires: python-six +Recommends: python-regex BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module setuptools} +%if %{with test} +# not needed as the test requires internet connection +#BuildRequires: %%{python_module Pillow >= 3.0.0} +BuildRequires: %{python_module html5lib >= 0.999999999} +%endif BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages @@ -47,13 +55,16 @@ Allen. This is a Python port with support for code validation, itex to MathML translation, Python code coloring and much more. %prep -%setup -q -n textile-%{version} +#%%setup -q -n textile-%%{version} +%setup -q -n python-textile-%{version} %build %python_build +%if %{with test} %check %python_exec setup.py test +%endif %install %python_install diff --git a/textile-2.3.16.tar.gz b/textile-2.3.16.tar.gz deleted file mode 100644 index f5d4924..0000000 --- a/textile-2.3.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f151c1a4119fc5f795b59efdb4a35998718b1a55c2d882e54785a189cfb5907 -size 47578