Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 202456

Summary: html5lib-0.10 (new package)
Product: Gentoo Linux Reporter: me
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED FIXED    
Severity: enhancement CC: plaes, python, quantumsummers
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://code.google.com/p/html5lib/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: html5lib ebuild
html5lib ebuild (fixed)
A ruby/python based HTML parser/tokenizer
html5lib-0.11.1.ebuild

Description me 2007-12-16 09:42:16 UTC
Hi,

I have attached an ebuild for html5lib version 0.10

html5lib is a HTML parser library for the Python scripting language, which is based on the WHATWG HTML5 specification for maximum compatibility with major web browsers.

It supports different tree builders to output the parser tree, including minidom, ElementTree (lxml.etree and cElementTree) and a custum simpletree format.

Please include this ebuild into the portage tree.

Thx
Sebastian Wiesner

Reproducible: Always
Comment 1 me 2007-12-16 09:46:53 UTC
Created attachment 138603 [details]
html5lib ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-12-16 09:53:25 UTC
Comment on attachment 138603 [details]
html5lib ebuild

Sorry, but we cannot include this with copyright header like this one (note I have nothing against WTFPL :P). See

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
${PORTDIR}/header.txt
Comment 3 me 2007-12-16 10:13:27 UTC
Created attachment 138604 [details]
html5lib ebuild (fixed)

Sorry, I forgot to check my ebuild.

I hope, this version is finally correct (IUSE was missing, too).

Sebastian Wiesner
Comment 4 Juan P Daza P 2008-07-06 14:09:30 UTC
Created attachment 159702 [details]
A ruby/python based HTML parser/tokenizer 

Create a portir structures like this:
   /usr/local/portage/dev-python/html5lib/

Save there the ebuild, an then generate the Manifest file with:
   # ebuild /usr/local/portage/dev-python/html5lib/html5lib-0.11.1.ebuild digest

Add the ~x86 keyword in your /etc/portage/package.keywords file, to allow
the emerge.

Then emerge with:
   # emerge -va =dev-python/html5lib-0.11.1
Comment 5 Priit Laes (IRC: plaes) 2009-02-02 20:11:16 UTC
Created attachment 180733 [details]
html5lib-0.11.1.ebuild

Adds tests and examples.
Comment 6 Patrick Lauer gentoo-dev 2009-02-03 19:45:51 UTC
+*html5lib-0.11.1 (03 Feb 2009)
+
+  03 Feb 2009; Patrick Lauer <patrick@gentoo.org> +metadata.xml,
+  +html5lib-0.11.1.ebuild:
+  Initial import. Ebuild based on #202456 with minor tweaks. Thanks to
+  Sebastian Wiesner and Priit Laes


Had to nuke some ARCHes because of json dep not being keyworded there.
Found a dep on python[xml] by accident and added it.

Thanks for your contribution!
Comment 7 Matt Summers (RETIRED) gentoo-dev 2009-02-10 18:50:25 UTC
Package Fails with:

emerge: there are no ebuilds built with USE flags to satisfy "dev-lang/python[xml]".
!!! One of the following packages is required to complete your request:
- dev-lang/python-2.5.2-r7 (Missing IUSE: xml)
- dev-lang/python-2.4.4-r14 (Missing IUSE: xml)
- dev-lang/python-2.4.4-r6 (Missing IUSE: xml)
- dev-lang/python-2.4.4-r5 (Missing IUSE: xml)


AMD64 here.

Looks like it might need pyxml, but the setup.py doesn't indicate if that or another python xml lib would be ok.

Sorry to reopen, but ... 
Comment 8 Jesus Rivero (RETIRED) gentoo-dev 2009-02-10 22:45:01 UTC
Hello, 

  Now all python ebuild have an xml use flag. If you sync your tree, you shouldn't have this problem no more. 

  Best regards,