14
0

- Version update to latest 1.0.1 release:

* Dropped support for py 2.6
   * Documentation update
   * Fixes for python 3.7 and 3.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal
2017-12-13 13:39:25 +00:00
committed by Git OBS Bridge
parent 077d2d2984
commit 04ed7dc9b1
4 changed files with 15 additions and 9 deletions

View File

@@ -18,13 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-html5lib
Version: 1.0b10
Version: 1.0.1
Release: 0
Summary: HTML parser based on the WHAT-WG Web Applications 1
License: MIT
Group: Development/Languages/Python
Url: https://github.com/html5lib/html5lib-python
Source: https://pypi.io/packages/source/h/html5lib/html5lib-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/h/html5lib/html5lib-%{version}.tar.gz
BuildRequires: %{python_module Genshi}
BuildRequires: %{python_module datrie}
BuildRequires: %{python_module devel}
@@ -33,15 +33,14 @@ BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest-expect}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 18.5}
BuildRequires: %{python_module six}
BuildRequires: %{python_module six >= 1.9}
BuildRequires: %{python_module webencodings}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six
Requires: python-six >= 1.9
Requires: python-webencodings
Recommends: python-Genshi
Recommends: python-lxml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@@ -69,7 +68,6 @@ simple custom format
%python_expand %python_exec %{_bindir}/py.test --tb=short
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES.rst LICENSE README.rst
%{python_sitelib}/html5lib/
%{python_sitelib}/html5lib-%{version}-py%{python_version}.egg-info