[python-html5lib] Initial import (#722874).

kumarpraveen kumarpraveen at fedoraproject.org
Mon Jul 18 17:00:54 UTC 2011


commit 55b8fb6da22848938a1c90d7bc129c768cf930a2
Author: Praveen <daredevil at localhost.localdomain>
Date:   Mon Jul 18 22:29:43 2011 +0530

    Initial import (#722874).

 .gitignore           |    1 +
 python-html5lib.spec |   40 ++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 42 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4aa3155 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/html5lib-0.90.zip
diff --git a/python-html5lib.spec b/python-html5lib.spec
new file mode 100644
index 0000000..2658ecd
--- /dev/null
+++ b/python-html5lib.spec
@@ -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 at gmail.com> - 0.90-1
+- Initial spec
diff --git a/sources b/sources
index e69de29..faf78a0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+691e6b9ebe15b333a28280974b2ce432  html5lib-0.90.zip


More information about the scm-commits mailing list