Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221979 - Please keyword dev-python/feedparser-4.1 and net-news/rawdog-2.11
Summary: Please keyword dev-python/feedparser-4.1 and net-news/rawdog-2.11
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2008-05-13 18:56 UTC by Ali Polatel (RETIRED)
Modified: 2008-05-13 19:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Polatel (RETIRED) gentoo-dev 2008-05-13 18:56:25 UTC
+*rawdog-2.11 (13 May 2008)
+
+  13 May 2008; Ali Polatel <hawking@gentoo.org>
+  +files/rawdog-2.11-system-feedparser.patch, +rawdog-2.11.ebuild:
+  Version bump. Added patch to use system feedparser. Dropped hppa and s390
+  keywords due to feedparser lacking those keywords.
+

Please test and add keywords.
Thanks.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-13 19:26:58 UTC
What does this mean?

jeroen@elmer ~ $ rawdog -w
Traceback (most recent call last):
  File "/usr/bin/rawdog", line 31, in <module>
    launch()
  File "/usr/bin/rawdog", line 24, in launch
    sys.exit(main(sys.argv[1:]))
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1511, in main
    rawdog.write(config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1385, in write
    self.write_output_file(articles, article_dates, config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1324, in write_output_file
    bits = self.get_main_template_bits(config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 1298, in get_main_template_bits
    print >>f, '<td>' + feed.get_html_link(config) + '</td>'
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 450, in get_html_link
    s = self.get_html_name(config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 444, in get_html_name
    r = string_to_html(self.url, config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 202, in string_to_html
    return sanitise_html(cgi.escape(s), "", True, config)
  File "/usr/lib/python2.5/site-packages/rawdoglib/rawdog.py", line 94, in sanitise_html
    html = feedparser._resolveRelativeURIs(html, baseurl, "UTF-8", type)
TypeError: _resolveRelativeURIs() takes exactly 3 arguments (4 given)
Comment 2 Ali Polatel (RETIRED) gentoo-dev 2008-05-13 19:55:25 UTC
Ahh, turns out the feedparser rawdog uses is more uptodate then the system
version and has other tweaks.
Readded keywords and removed feedparser DEPEND.
Sorry about this.
/me fails...