Info2: <<
Package: html-html5-parser-pm%type_pkg[perl]
Version: 0.992
Revision: 2

Type: perl (5.16.2 5.18.2 5.18.4 5.28.2 5.30.2 5.30.3)
Distribution: <<
	(%type_pkg[perl] = 5162) 10.9,
	(%type_pkg[perl] = 5162) 10.10,
	(%type_pkg[perl] = 5162) 10.11,
	(%type_pkg[perl] = 5162) 10.12,
	(%type_pkg[perl] = 5162) 10.13
<<

Description: Parse HTML reliably with Perl
DescDetail: <<
	This library is substantially the same as the non-CPAN module
	Whatpm::HTML. Changes include:
	
	* Provides an XML::LibXML-like DOM interface. If you usually use
	XML::LibXML's DOM parser, this should be a drop-in solution for
	tag soup HTML.
	
	* Constructs an XML::LibXML::Document as the result of parsing.
	
	* Via bundling and modifications, removed external dependencies on
	non-CPAN packages.
<<
License: Artistic/GPL
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>
Homepage: https://metacpan.org/dist/HTML-HTML5-Parser/

BuildDepends: fink (>= 0.29.0), extutils-makemaker-pm%type_pkg[perl] (>= 6.62-1)
Depends: <<
	html-html5-entities-pm (>= 0.002-1),
	http-tiny-pm%type_pkg[perl],
	io-html-pm%type_pkg[perl],
	try-tiny-pm,
	xml-libxml-pm%type_pkg[perl] (>= 1.96-1),
	uri-pm,
	perl%type_pkg[perl]-core
<<

ConfigureParams: --skipdeps

InfoTest: <<
	TestDepends: <<
		moo-pm%type_pkg[perl],
		xml-libxml-devel-setlinenumber-pm%type_pkg[perl]
	<<
<<

Source: mirror:cpan:authors/id/T/TO/TOBYINK/HTML-HTML5-Parser-%v.tar.gz
Source-Checksum: SHA256(a184ca241caf97c57fd37f18e0fe686ef79cfe8eede7e31d93f3e636ed011169)

UpdatePOD: true
DocFiles: Changes README

InstallScript: <<
  %{default_script}
  /bin/mv %i/share/man %i/lib/perl5/%type_raw[perl]
  /bin/mv %i/bin/html2xhtml %i/bin/html2xhtml-pm%type_pkg[perl]
  /bin/mv %i/bin/html5debug %i/bin/html5debug-pm%type_pkg[perl]
<<

PostInstScript: <<
	update-alternatives --install %p/bin/html2xhtml html2xhtml %p/bin/html2xhtml-pm%type_pkg[perl] %type_pkg[perl]
	update-alternatives --install %p/bin/html5debug html5debug %p/bin/html5debug-pm%type_pkg[perl] %type_pkg[perl]
<<

PreRmScript: <<
	update-alternatives --remove html2xhtml %p/bin/html2xhtml-pm%type_pkg[perl]
	update-alternatives --remove html5debug %p/bin/html5debug-pm%type_pkg[perl]
<<
<<