LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-html5lib.spec of Package python-html5lib (Project home:lenovo-lico:lico-dep:5.1:el6)

%global modulename html5lib

Name:		python-%{modulename}
Summary:	A python based HTML parser/tokenizer
Version:	1.0.1
Release:	1%{?dist}
Group:		Development/Libraries
License:	MIT
URL:		https://pypi.python.org/pypi/%{modulename}
Source0:    https://github.com/html5lib/html5lib-python/archive/%{version}.tar.gz
BuildArch:	noarch

BuildRequires:	python27-setuptools
BuildRequires:	python27-devel

%description
A python based HTML parser/tokenizer based on the WHATWG HTML5 
specification for maximum compatibility with major desktop web browsers.

%package -n python27-%{modulename}
Summary:	A python based HTML parser/tokenizer 
Group:		Development/Libraries 

Requires:	python27-six >= 1.9
Requires:	python27-webencodings

%description -n python27-%{modulename}
A python based HTML parser/tokenizer based on the WHATWG HTML5 
specification for maximum compatibility with major desktop web browsers.

%prep
%autosetup -n %{modulename}-python-%{version} 

%build
%py27_build

%install
%py27_install

%files -n python27-%{modulename}
%doc CHANGES.rst README.rst LICENSE 
%{python27_sitelib}/%{modulename}-*.egg-info
%{python27_sitelib}/%{modulename}


%changelog
* Wed Jan 17 2018 Yunfei Shi <shiyf2@lenovo.com> - 1.0.1-1
- Initial spec