Merge pull request #163452 from wamserma/bump-gpodder

gPodder: 3.10.17 -> 3.10.21
This commit is contained in:
Jörg Thalheim 2022-03-09 15:02:31 +00:00 committed by GitHub
commit 8cbb8c3b1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 33 deletions

View File

@ -5,14 +5,14 @@
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "gpodder"; pname = "gpodder";
version = "3.10.17"; version = "3.10.21";
format = "other"; format = "other";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0wrk8d4q6ricbcjzlhk10vrk1qg9hi323kgyyd0c8nmh7a82h8pd"; sha256 = "0n73jm5ypsj962gpr0dk10lqh83giqsczm63wchyhmrkyf1wgga1";
}; };
patches = [ patches = [
@ -42,7 +42,10 @@ python3Packages.buildPythonApplication rec {
]; ];
checkInputs = with python3Packages; [ checkInputs = with python3Packages; [
coverage minimock minimock
pytest
pytest-httpserver
pytest-cov
]; ];
doCheck = true; doCheck = true;
@ -51,6 +54,7 @@ python3Packages.buildPythonApplication rec {
feedparser feedparser
dbus-python dbus-python
mygpoclient mygpoclient
requests
pygobject3 pygobject3
eyeD3 eyeD3
podcastparser podcastparser
@ -69,7 +73,8 @@ python3Packages.buildPythonApplication rec {
''; '';
installCheckPhase = '' installCheckPhase = ''
LC_ALL=C PYTHONPATH=./src:$PYTHONPATH python3 -m gpodder.unittests LC_ALL=C PYTHONPATH=src/:$PYTHONPATH pytest --ignore=tests --ignore=src/gpodder/utilwin32ctypes.py --doctest-modules src/gpodder/util.py src/gpodder/jsonconfig.py
LC_ALL=C PYTHONPATH=src/:$PYTHONPATH pytest tests --ignore=src/gpodder/utilwin32ctypes.py --ignore=src/mygpoclient --cov=gpodder
''; '';
meta = with lib; { meta = with lib; {

View File

@ -11,41 +11,20 @@
</section> </section>
<section> <section>
<item> <item>
@@ -201,4 +197,4 @@
</submenu>
</menu>
</interface>
-<!-- :noTabs=true:tabSize=2:indentSize=2: -->
\ No newline at end of file
+<!-- :noTabs=true:tabSize=2:indentSize=2: -->
--- a/src/gpodder/config.py --- a/src/gpodder/config.py
+++ b/src/gpodder/config.py +++ b/src/gpodder/config.py
@@ -91,13 +91,6 @@ @@ -94,7 +94,7 @@
'retries': 3, # number of retries when downloads time out
},
- # Software updates from gpodder.org # Software updates from gpodder.org
- 'software_update': { 'software_update': {
- 'check_on_startup': True, # check for updates on start - 'check_on_startup': True, # check for updates on start
- 'last_check': 0, # unix timestamp of last update check + 'check_on_startup': False, # check for updates on start
- 'interval': 5, # interval (in days) to check for updates 'last_check': 0, # unix timestamp of last update check
- }, 'interval': 5, # interval (in days) to check for updates
- },
'ui': {
# Settings for the Command-Line Interface
'cli': {
--- a/src/gpodder/gtkui/main.py --- a/src/gpodder/gtkui/main.py
+++ b/src/gpodder/gtkui/main.py +++ b/src/gpodder/gtkui/main.py
@@ -224,7 +224,7 @@ @@ -3445,6 +3445,7 @@
util.idle_add(self.subscribe_to_url, self.options.subscribe)
elif not self.channels:
self.on_itemUpdate_activate()
- elif self.config.software_update.check_on_startup:
+ elif False and self.config.software_update.check_on_startup:
# Check for software updates from gpodder.org
diff = time.time() - self.config.software_update.last_check
if diff > (60 * 60 * 24) * self.config.software_update.interval:
@@ -3288,6 +3288,7 @@
If silent=False, a message will be shown even if no updates are If silent=False, a message will be shown even if no updates are
available (set silent=False when the check is manually triggered). available (set silent=False when the check is manually triggered).
""" """