forked from pool/python-html5lib
		
	- Initial package (0.11.1) for openSUSE.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-html5lib?expand=0&rev=1
This commit is contained in:
		
							
								
								
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitattributes
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| ## Default LFS | ||||
| *.7z filter=lfs diff=lfs merge=lfs -text | ||||
| *.bsp filter=lfs diff=lfs merge=lfs -text | ||||
| *.bz2 filter=lfs diff=lfs merge=lfs -text | ||||
| *.gem filter=lfs diff=lfs merge=lfs -text | ||||
| *.gz filter=lfs diff=lfs merge=lfs -text | ||||
| *.jar filter=lfs diff=lfs merge=lfs -text | ||||
| *.lz filter=lfs diff=lfs merge=lfs -text | ||||
| *.lzma filter=lfs diff=lfs merge=lfs -text | ||||
| *.obscpio filter=lfs diff=lfs merge=lfs -text | ||||
| *.oxt filter=lfs diff=lfs merge=lfs -text | ||||
| *.pdf filter=lfs diff=lfs merge=lfs -text | ||||
| *.png filter=lfs diff=lfs merge=lfs -text | ||||
| *.rpm filter=lfs diff=lfs merge=lfs -text | ||||
| *.tbz filter=lfs diff=lfs merge=lfs -text | ||||
| *.tbz2 filter=lfs diff=lfs merge=lfs -text | ||||
| *.tgz filter=lfs diff=lfs merge=lfs -text | ||||
| *.ttf filter=lfs diff=lfs merge=lfs -text | ||||
| *.txz filter=lfs diff=lfs merge=lfs -text | ||||
| *.whl filter=lfs diff=lfs merge=lfs -text | ||||
| *.xz filter=lfs diff=lfs merge=lfs -text | ||||
| *.zip filter=lfs diff=lfs merge=lfs -text | ||||
| *.zst filter=lfs diff=lfs merge=lfs -text | ||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| .osc | ||||
							
								
								
									
										3
									
								
								html5lib-0.11.1.tar.bz2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								html5lib-0.11.1.tar.bz2
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:819e12c9fd99e58541900f0dd8a96c2896658c0453c2b638c4a8a3ab6574e864 | ||||
| size 129186 | ||||
							
								
								
									
										4
									
								
								python-html5lib.changes
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								python-html5lib.changes
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,4 @@ | ||||
| ------------------------------------------------------------------- | ||||
| Wed Oct 14 16:53:20 UTC 2009 - alexandre@exatati.com.br | ||||
|  | ||||
| - Initial package (0.11.1) for openSUSE. | ||||
							
								
								
									
										46
									
								
								python-html5lib.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								python-html5lib.spec
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,46 @@ | ||||
| # norootforbuild | ||||
|  | ||||
| Name:           python-html5lib | ||||
| Version:        0.11.1 | ||||
| Release:        1 | ||||
| Summary:        HTML parser based on the WHAT-WG Web Applications | ||||
| License:        MIT | ||||
| Group:          Development/Libraries/Python | ||||
| Source:         html5lib-%{version}.tar.bz2 | ||||
| URL:            http://code.google.com/p/html5lib | ||||
| BuildRequires:  python-devel, python-setuptools | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| %{py_requires} | ||||
| %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} | ||||
| BuildArch: noarch | ||||
| %endif | ||||
|  | ||||
|  | ||||
| %description | ||||
| HTML parser designed to follow the WHATWG HTML5 specification. The parser is designed to handle all | ||||
| flavours of HTML and parses invalid documents using well-defined error handling rules compatible | ||||
| with the behaviour of major desktop web browsers. | ||||
| Output is to a tree structure; the current release supports output to ElementTree (including | ||||
| cElementTree and lxml.etree), minidom, and a custom simpletree format. | ||||
| html5lib also includes a HTML sanitizer, "treewalkers" for converting various tree formats into | ||||
| streams and filters and serializers to operate on those streams. | ||||
|  | ||||
| Author: | ||||
| -------- | ||||
|     James Graham <jg307@cam.ac.uk> | ||||
|  | ||||
|  | ||||
| %prep | ||||
| %setup -q -n html5lib-%{version} | ||||
|  | ||||
|  | ||||
| %build | ||||
| %{__python} setup.py build | ||||
|  | ||||
|  | ||||
| %install | ||||
| %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES | ||||
|  | ||||
|  | ||||
| %files -f INSTALLED_FILES | ||||
| %defattr(-,root,root) | ||||
		Reference in New Issue
	
	Block a user