quodlibet: support feedparser 6
This commit is contained in:
parent
5fe86e006e
commit
7dfe92ab94
|
@ -16,6 +16,8 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
sha256 = "1q17ckblfa4fcs7wsjwsq1dj7360ymrdyjkyqmj864wzlqkw1rd2";
|
sha256 = "1q17ckblfa4fcs7wsjwsq1dj7360ymrdyjkyqmj864wzlqkw1rd2";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [ ./quodlibet-feedparser6.patch ];
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
nativeBuildInputs = [ wrapGAppsHook gettext ];
|
||||||
|
|
||||||
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]);
|
checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]);
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
Support feedparser 6, based on https://github.com/quodlibet/quodlibet/pull/3464
|
||||||
|
|
||||||
|
--- a/quodlibet/browsers/audiofeeds.py
|
||||||
|
+++ b/quodlibet/browsers/audiofeeds.py
|
||||||
|
@@ -137,7 +137,4 @@ class Feed(list):
|
||||||
|
def parse(self):
|
||||||
|
try:
|
||||||
|
- if not self._check_feed():
|
||||||
|
- return False
|
||||||
|
-
|
||||||
|
doc = feedparser.parse(self.uri)
|
||||||
|
except Exception as e:
|
Loading…
Reference in New Issue