[arch-commits] Commit in gpodder/trunk (PKGBUILD python37.patch)
Balló György
bgyorgy at archlinux.org
Mon Sep 10 03:34:40 UTC 2018
Date: Monday, September 10, 2018 @ 03:34:39
Author: bgyorgy
Revision: 378947
upgpkg: gpodder 3.10.4-1
Update to new version
Modified:
gpodder/trunk/PKGBUILD
Deleted:
gpodder/trunk/python37.patch
----------------+
PKGBUILD | 16 ++++------------
python37.patch | 39 ---------------------------------------
2 files changed, 4 insertions(+), 51 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-10 03:30:05 UTC (rev 378946)
+++ PKGBUILD 2018-09-10 03:34:39 UTC (rev 378947)
@@ -3,8 +3,8 @@
# Contributor: Jan Magnus Brevik <janmbrevik at gmail.com>
pkgname=gpodder
-pkgver=3.10.3
-pkgrel=3
+pkgver=3.10.4
+pkgrel=1
pkgdesc='Podcast client written in Python using GTK+'
arch=(any)
url='https://gpodder.github.io/'
@@ -11,17 +11,9 @@
license=(GPL3)
depends=(gtk3 python-cairo python-dbus python-gobject python-mygpoclient python-podcastparser)
makedepends=(intltool)
-source=($pkgname-$pkgver.tar.gz::http://github.com/gpodder/$pkgname/archive/$pkgver.tar.gz
- python37.patch)
-sha256sums=('a53b23c605b3a92701aed3e318f0695ae2e4de1ba64692337e0a8f77253ebbb1'
- 'ccd6c3c781e585b44e037c4ba7712477edd631b7982d93f546e2dbb081c7c8aa')
+source=($pkgname-$pkgver.tar.gz::http://github.com/gpodder/$pkgname/archive/$pkgver.tar.gz)
+sha256sums=('54613170d12feaa51f245271ee508403eed394c31402b342fee83281e1854cfa')
-prepare() {
- cd $pkgname-$pkgver
- # Fix for Python 3.7
- patch -Np1 -i ../python37.patch
-}
-
build() {
cd $pkgname-$pkgver
make messages
Deleted: python37.patch
===================================================================
--- python37.patch 2018-09-10 03:30:05 UTC (rev 378946)
+++ python37.patch 2018-09-10 03:34:39 UTC (rev 378947)
@@ -1,39 +0,0 @@
-From 638ce45addd6dd9f456699bf0f66cdbec1dc78ab Mon Sep 17 00:00:00 2001
-From: Todd Zullinger <tmz at pobox.com>
-Date: Mon, 25 Jun 2018 10:28:17 -0400
-Subject: [PATCH] Avoid python-3.7 reserved keyword "async"
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-The "async" keyword was added in python-3.7¹. Using it throws
-SyntaxError exception.
-
-¹ https://docs.python.org/3.7/whatsnew/3.7.html
- https://bugs.python.org/issue30406
----
- src/gpodder/gtkui/services.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/gpodder/gtkui/services.py b/src/gpodder/gtkui/services.py
-index e65634e9..69de8553 100644
---- a/src/gpodder/gtkui/services.py
-+++ b/src/gpodder/gtkui/services.py
-@@ -101,7 +101,7 @@ def replace_cover(self, channel, custom_url=None):
- """
- self.request_cover(channel, custom_url)
-
-- def __get_cover(self, channel, url, async=False, avoid_downloading=False):
-+ def __get_cover(self, channel, url, async_mode=False, avoid_downloading=False):
- def get_filename():
- return self.downloader.get_cover(channel.cover_file,
- url or channel.cover_url, channel.url, channel.title,
-@@ -131,7 +131,7 @@ def get_filename():
- logger.warn('Corrupt cover art on server, deleting', exc_info=True)
- util.delete_file(filename)
-
-- if async:
-+ if async_mode:
- self.notify('cover-available', channel, pixbuf)
- else:
- return (channel.url, pixbuf)
More information about the arch-commits
mailing list