15
0

- 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
This commit is contained in:
2017-11-17 10:44:29 +00:00
committed by Git OBS Bridge
parent bdacf48698
commit bfe54db129
4 changed files with 35 additions and 9 deletions

3
3.0.0.tar.gz Normal file
View File

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

View File

@@ -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

View File

@@ -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

View File

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