quodlibet: support feedparser 6
commit7dfe92ab942256a7cba9d51a781704a494358edd
authorOrivej Desh <orivej@gmx.fr>
dateMon 7 Dec 2020, 01:31 (6 years ago)
parent5fe86e0
pkgs/applications/audio/quodlibet/default.nix+2
@@ -16,6 +16,8 @@ python3.pkgs.buildPythonApplication rec {
1616 sha256 = "1q17ckblfa4fcs7wsjwsq1dj7360ymrdyjkyqmj864wzlqkw1rd2";
1717 };
1818
19+ patches = [ ./quodlibet-feedparser6.patch ];
20+
1921 nativeBuildInputs = [ wrapGAppsHook gettext ];
2022
2123 checkInputs = [ gdk-pixbuf hicolor-icon-theme ] ++ (with python3.pkgs; [ pytest pytest_xdist polib xvfb_run dbus.daemon glibcLocales ]);
pkgs/applications/audio/quodlibet/quodlibet-feedparser6.patchnew file+12
@@ -0,0 +1,12 @@
1+Support feedparser 6, based on https://github.com/quodlibet/quodlibet/pull/3464
2+
3+--- a/quodlibet/browsers/audiofeeds.py
4++++ b/quodlibet/browsers/audiofeeds.py
5+@@ -137,7 +137,4 @@ class Feed(list):
6+ def parse(self):
7+ try:
8+- if not self._check_feed():
9+- return False
10+-
11+ doc = feedparser.parse(self.uri)
12+ except Exception as e: