gPodder: 3.10.17 -> 3.10.21

+17 -33
+9 -4
pkgs/applications/audio/gpodder/default.nix
··· 5 6 python3Packages.buildPythonApplication rec { 7 pname = "gpodder"; 8 - version = "3.10.17"; 9 format = "other"; 10 11 src = fetchFromGitHub { 12 owner = pname; 13 repo = pname; 14 rev = version; 15 - sha256 = "0wrk8d4q6ricbcjzlhk10vrk1qg9hi323kgyyd0c8nmh7a82h8pd"; 16 }; 17 18 patches = [ ··· 42 ]; 43 44 checkInputs = with python3Packages; [ 45 - coverage minimock 46 ]; 47 48 doCheck = true; ··· 51 feedparser 52 dbus-python 53 mygpoclient 54 pygobject3 55 eyeD3 56 podcastparser ··· 69 ''; 70 71 installCheckPhase = '' 72 - LC_ALL=C PYTHONPATH=./src:$PYTHONPATH python3 -m gpodder.unittests 73 ''; 74 75 meta = with lib; {
··· 5 6 python3Packages.buildPythonApplication rec { 7 pname = "gpodder"; 8 + version = "3.10.21"; 9 format = "other"; 10 11 src = fetchFromGitHub { 12 owner = pname; 13 repo = pname; 14 rev = version; 15 + sha256 = "0n73jm5ypsj962gpr0dk10lqh83giqsczm63wchyhmrkyf1wgga1"; 16 }; 17 18 patches = [ ··· 42 ]; 43 44 checkInputs = with python3Packages; [ 45 + minimock 46 + pytest 47 + pytest-httpserver 48 + pytest-cov 49 ]; 50 51 doCheck = true; ··· 54 feedparser 55 dbus-python 56 mygpoclient 57 + requests 58 pygobject3 59 eyeD3 60 podcastparser ··· 73 ''; 74 75 installCheckPhase = '' 76 + LC_ALL=C PYTHONPATH=src/:$PYTHONPATH pytest --ignore=tests --ignore=src/gpodder/utilwin32ctypes.py --doctest-modules src/gpodder/util.py src/gpodder/jsonconfig.py 77 + LC_ALL=C PYTHONPATH=src/:$PYTHONPATH pytest tests --ignore=src/gpodder/utilwin32ctypes.py --ignore=src/mygpoclient --cov=gpodder 78 ''; 79 80 meta = with lib; {
+8 -29
pkgs/applications/audio/gpodder/disable-autoupdate.patch
··· 11 </section> 12 <section> 13 <item> 14 - @@ -201,4 +197,4 @@ 15 - </submenu> 16 - </menu> 17 - </interface> 18 - -<!-- :noTabs=true:tabSize=2:indentSize=2: --> 19 - \ No newline at end of file 20 - +<!-- :noTabs=true:tabSize=2:indentSize=2: --> 21 --- a/src/gpodder/config.py 22 +++ b/src/gpodder/config.py 23 - @@ -91,13 +91,6 @@ 24 - 'retries': 3, # number of retries when downloads time out 25 - }, 26 27 - - # Software updates from gpodder.org 28 - - 'software_update': { 29 - 'check_on_startup': True, # check for updates on start 30 - - 'last_check': 0, # unix timestamp of last update check 31 - - 'interval': 5, # interval (in days) to check for updates 32 - - }, 33 - - 34 - 'ui': { 35 - # Settings for the Command-Line Interface 36 - 'cli': { 37 --- a/src/gpodder/gtkui/main.py 38 +++ b/src/gpodder/gtkui/main.py 39 - @@ -224,7 +224,7 @@ 40 - util.idle_add(self.subscribe_to_url, self.options.subscribe) 41 - elif not self.channels: 42 - self.on_itemUpdate_activate() 43 - - elif self.config.software_update.check_on_startup: 44 - + elif False and self.config.software_update.check_on_startup: 45 - # Check for software updates from gpodder.org 46 - diff = time.time() - self.config.software_update.last_check 47 - if diff > (60 * 60 * 24) * self.config.software_update.interval: 48 - @@ -3288,6 +3288,7 @@ 49 If silent=False, a message will be shown even if no updates are 50 available (set silent=False when the check is manually triggered). 51 """
··· 11 </section> 12 <section> 13 <item> 14 --- a/src/gpodder/config.py 15 +++ b/src/gpodder/config.py 16 + @@ -94,7 +94,7 @@ 17 18 + # Software updates from gpodder.org 19 + 'software_update': { 20 - 'check_on_startup': True, # check for updates on start 21 + + 'check_on_startup': False, # check for updates on start 22 + 'last_check': 0, # unix timestamp of last update check 23 + 'interval': 5, # interval (in days) to check for updates 24 + }, 25 --- a/src/gpodder/gtkui/main.py 26 +++ b/src/gpodder/gtkui/main.py 27 + @@ -3445,6 +3445,7 @@ 28 If silent=False, a message will be shown even if no updates are 29 available (set silent=False when the check is manually triggered). 30 """