+# TODO: python3 support since 0.99
%define module html5lib
Summary: HTML parser/tokenizer based on the WHATWG HTML5 specification
Summary(pl.UTF-8): Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5
Name: python-%{module}
-Version: 0.90
-Release: 3
+Version: 0.95
+Release: 1
License: MIT
Group: Libraries/Python
-Source0: http://html5lib.googlecode.com/files/%{module}-%{version}.zip
-# Source0-md5: 691e6b9ebe15b333a28280974b2ce432
-URL: http://code.google.com/p/html5lib/
+#Source0Download: https://github.com/html5lib/html5lib-python/releases
+Source0: https://github.com/html5lib/html5lib-python/archive/%{version}/%{module}-%{version}.tar.gz
+# Source0-md5: f240ce1af4402d0439cbf1ba26f5d93c
+URL: https://github.com/html5lib/
BuildRequires: python-devel >= 1:2.5
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.710
+BuildRequires: rpmbuild(macros) >= 1.714
BuildRequires: unzip
%pyrequires_eq python-libs
BuildArch: noarch
Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5.
%prep
-%setup -q -n %{module}-%{version}
+%setup -q -n %{module}-python-%{version}
%build
%py_build
%install
rm -rf $RPM_BUILD_ROOT
+
%py_install
%py_postclean