Initial import (#722874).
This commit is contained in:
parent
d9594f8327
commit
55b8fb6da2
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/html5lib-0.90.zip
|
40
python-html5lib.spec
Normal file
40
python-html5lib.spec
Normal file
@ -0,0 +1,40 @@
|
||||
%global modulename html5lib
|
||||
|
||||
Name: python-%{modulename}
|
||||
Summary: A python based HTML parser/tokenizer
|
||||
Version: 0.90
|
||||
Release: 1%{?dist}
|
||||
Group: Development/Libraries
|
||||
License: MIT
|
||||
URL: http://code.google.com/p/%{modulename}/
|
||||
|
||||
Source0: http://html5lib.googlecode.com/files/%{modulename}-%{version}.zip
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
|
||||
%description
|
||||
A python based HTML parser/tokenizer based on the WHATWG HTML5
|
||||
specification for maximum compatibility with major desktop web browsers.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modulename}-%{version}
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
%install
|
||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
||||
|
||||
%check
|
||||
%{__python} setup.py test
|
||||
|
||||
%files
|
||||
%doc examples README
|
||||
%{python_sitelib}/%{modulename}-*.egg-info
|
||||
%{python_sitelib}/%{modulename}
|
||||
|
||||
%changelog
|
||||
* Mon Jul 18 2011 Praveen Kumar <kumarpraveen.nitdgp@gmail.com> - 0.90-1
|
||||
- Initial spec
|
Loading…
Reference in New Issue
Block a user