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
Created attachment 138603 [details] html5lib ebuild
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
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
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
Created attachment 180733 [details] html5lib-0.11.1.ebuild Adds tests and examples.
+*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!
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 ...
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,