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 {
pname = "gpodder";
version = "3.10.17";
version = "3.10.21";
format = "other";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0wrk8d4q6ricbcjzlhk10vrk1qg9hi323kgyyd0c8nmh7a82h8pd";
sha256 = "0n73jm5ypsj962gpr0dk10lqh83giqsczm63wchyhmrkyf1wgga1";
};
patches = [
@ -42,7 +42,10 @@ python3Packages.buildPythonApplication rec {
];
checkInputs = with python3Packages; [
coverage minimock
minimock
pytest
pytest-httpserver
pytest-cov
];
doCheck = true;
@ -51,6 +54,7 @@ python3Packages.buildPythonApplication rec {
feedparser
dbus-python
mygpoclient
requests
pygobject3
eyeD3
podcastparser
@ -69,7 +73,8 @@ python3Packages.buildPythonApplication rec {
'';
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; {

View file

@ -11,41 +11,20 @@
</section>
<section>
<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
+++ b/src/gpodder/config.py
@@ -91,13 +91,6 @@
'retries': 3, # number of retries when downloads time out
},
@@ -94,7 +94,7 @@
- # Software updates from gpodder.org
- 'software_update': {
# Software updates from gpodder.org
'software_update': {
- 'check_on_startup': True, # check for updates on start
- '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': {
+ 'check_on_startup': False, # check for updates on start
'last_check': 0, # unix timestamp of last update check
'interval': 5, # interval (in days) to check for updates
},
--- a/src/gpodder/gtkui/main.py
+++ b/src/gpodder/gtkui/main.py
@@ -224,7 +224,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 @@
@@ -3445,6 +3445,7 @@
If silent=False, a message will be shown even if no updates are
available (set silent=False when the check is manually triggered).
"""