Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202456 - html5lib-0.10 (new package)
Summary: html5lib-0.10 (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://code.google.com/p/html5lib/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-12-16 09:42 UTC by me
Modified: 2009-06-28 21:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
html5lib ebuild (html5lib-0.10.ebuild,669 bytes, text/plain)
2007-12-16 09:46 UTC, me
Details
html5lib ebuild (fixed) (html5lib-0.10.ebuild,414 bytes, text/plain)
2007-12-16 10:13 UTC, me
Details
A ruby/python based HTML parser/tokenizer (html5lib-0.11.1.ebuild,505 bytes, text/plain)
2008-07-06 14:09 UTC, Juan P Daza P
Details
html5lib-0.11.1.ebuild (html5lib-0.11.1.ebuild,886 bytes, text/plain)
2009-02-02 20:11 UTC, Priit Laes (IRC: plaes)
Details

Note You need to log in before you can comment on or make changes to this bug.
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,