Summary: | Ebuild for BeautifulSoup | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nilton Volpato <nilton> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | python |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | beautifulsoup-2.1.1.ebuild |
Description
Nilton Volpato
2005-10-21 16:58:47 UTC
Created attachment 71145 [details]
beautifulsoup-2.1.1.ebuild
- #IUSE="doc" -> IUSE="" * Testing BeautifulSoup installation: # mkdir -p /usr/local/portage/dev-python/beautifulsoup # cd /usr/local/portage/dev-python/beautifulsoup # wget http://bugs.gentoo.org/attachment.cgi?id=71145 -O beautifulsoup-2.1.1.ebuild # sed 's/^#IUSE.*/IUSE=""/' beautifulsoup-2.1.1.ebuild -i # cd # emerge beautifulsoup --digest -av ALL Correct! * Testing modules help: $ ipython : import BeautifulSoupTests : help (BeautifulSoupTests) OK : import BeautifulSoup : help (BeautifulSoup) FAIL: TypeError: cannot concatenate 'str' and 'NullType' objects Sorry, all is right! * Testing modules help: $ ipython : from BeautifulSoup import BeautifulSoup : help (BeautifulSoup) OK It should be in portage, it's a very well parser html/xml. In addition python community recommend its use instead of htmllib.HTMLParser and HTMLParser.HTMLParser (In reply to comment #3) > : help (BeautifulSoup) > > FAIL: TypeError: cannot concatenate 'str' and 'NullType' objects Python's help code explodes trying to document BeautifulSoup.Null, which has a somewhat peculiar type. Not really BeautifulSoup's fault, so committed it with some cleanup. |