Date: Monday, November 30, 2020 @ 18:29:23 Author: foutrelis Revision: 766640
upgpkg: catfish 1.4.13-4: add fix for Python 3.9; drop obsolete sed Modified: catfish/trunk/PKGBUILD ----------+ PKGBUILD | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-11-30 17:15:01 UTC (rev 766639) +++ PKGBUILD 2020-11-30 18:29:23 UTC (rev 766640) @@ -6,10 +6,10 @@ pkgname=catfish pkgver=1.4.13 -pkgrel=3 +pkgrel=4 pkgdesc='Versatile file searching tool' arch=(any) -url='https://git.xfce.org/apps/catfish/about/' +url='https://docs.xfce.org/apps/catfish/start' license=(GPL) install=$pkgname.install depends=(gtk3 python-cairo python-gobject python-pexpect @@ -18,13 +18,15 @@ conflicts=('zeitgeist') # FS#65344 optdepends=('mlocate: filename search') # 'zeitgeist: integration with zeitgeist') -source=("git+https://git.xfce.org/apps/catfish/#commit=bd10e884b21ab3df5020a8d1c06f0011910c5ba8") # catfish-1.4.13 +source=("git+https://gitlab.xfce.org/apps/catfish.git#commit=bd10e884b21ab3df5020a8d1c06f0011910c5ba8") # catfish-1.4.13 sha512sums=('SKIP') prepare() { - # Patch for FS#62864 - sed -i 's/monitor_at_window(s.get_active/monitor_at_window(s.get_root/g' \ - "$pkgname/$pkgname/CatfishWindow.py" + cd $pkgname + + # Support python 3.9 + git format-patch -1 --stdout 04dd64cff5d9f561830ff546ebd455e948f6b581 \ + catfish_lib/Builder.py | patch -Np1 } build() {