Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
gpodder


Commits:
0fdbc018 by Christian Heusel at 2024-05-09T12:50:12+02:00
upgpkg: 3.11.4-4: fix deprecated imp import

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/gpodder/-/issues/1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = gpodder
        pkgdesc = Podcast client written in Python using GTK
        pkgver = 3.11.4
-       pkgrel = 3
+       pkgrel = 4
        url = https://gpodder.github.io/
        arch = any
        license = GPL3
@@ -19,6 +19,8 @@ pkgbase = gpodder
        optdepends = webkit2gtk: HTML show notes
        optdepends = yt-dlp: Youtube-dl extension
        source = 
https://github.com/gpodder/gpodder/archive/3.11.4/gpodder-3.11.4.tar.gz
+       source = 
gpodder-3_11_4-fix-imp-module.patch::https://github.com/gpodder/gpodder/commit/dd9b594d24a541c0f1d3b096e47b6d7f1c11ca7e.patch
        sha256sums = 
8022a6c29157dc287b5661f8915d04404767c33b6858e8d1a6c728904f8dae55
+       sha256sums = 
974704a51dff3d5b727fe897e72e8d7994715f9a55d4dd0ca3a2f4742a950609
 
 pkgname = gpodder


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=gpodder
 pkgver=3.11.4
-pkgrel=3
+pkgrel=4
 pkgdesc='Podcast client written in Python using GTK'
 arch=('any')
 url='https://gpodder.github.io/'
@@ -15,13 +15,17 @@ optdepends=('libnotify: Gtk+ Desktop Notifications 
extension'
             'python-mutagen: Tag downloaded files, Remove cover art from OGG 
files extensions'
             'webkit2gtk: HTML show notes'
             'yt-dlp: Youtube-dl extension')
-source=("https://github.com/gpodder/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha256sums=('8022a6c29157dc287b5661f8915d04404767c33b6858e8d1a6c728904f8dae55')
+source=("https://github.com/gpodder/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz";
+        
"gpodder-3_11_4-fix-imp-module.patch::https://github.com/gpodder/gpodder/commit/dd9b594d24a541c0f1d3b096e47b6d7f1c11ca7e.patch";)
+sha256sums=('8022a6c29157dc287b5661f8915d04404767c33b6858e8d1a6c728904f8dae55'
+            '974704a51dff3d5b727fe897e72e8d7994715f9a55d4dd0ca3a2f4742a950609')
 
 prepare() {
   cd $pkgname-$pkgver
   # Use gio open directly instead of xdg-open
   sed -i "s/\['xdg-open', filename\]/['gio', 'open', filename]/" 
src/gpodder/util.py
+
+  patch -Np1 < "${srcdir}/gpodder-3_11_4-fix-imp-module.patch"
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gpodder/-/commit/0fdbc018a83dd82a1ca16403d62f34c881b0e8eb

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gpodder/-/commit/0fdbc018a83dd82a1ca16403d62f34c881b0e8eb
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to