[arch-commits] Commit in gpodder/repos/community-any (3 files)
Balló György
bgyorgy at archlinux.org
Mon Sep 10 03:34:44 UTC 2018
Date: Monday, September 10, 2018 @ 03:34:43
Author: bgyorgy
Revision: 378948
archrelease: copy trunk to community-any
Added:
gpodder/repos/community-any/PKGBUILD
(from rev 378947, gpodder/trunk/PKGBUILD)
Deleted:
gpodder/repos/community-any/PKGBUILD
gpodder/repos/community-any/python37.patch
----------------+
PKGBUILD | 58 +++++++++++++++++++++++--------------------------------
python37.patch | 39 ------------------------------------
2 files changed, 25 insertions(+), 72 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-10 03:34:39 UTC (rev 378947)
+++ PKGBUILD 2018-09-10 03:34:43 UTC (rev 378948)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Jan Magnus Brevik <janmbrevik at gmail.com>
-
-pkgname=gpodder
-pkgver=3.10.3
-pkgrel=3
-pkgdesc='Podcast client written in Python using GTK+'
-arch=(any)
-url='https://gpodder.github.io/'
-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')
-
-prepare() {
- cd $pkgname-$pkgver
- # Fix for Python 3.7
- patch -Np1 -i ../python37.patch
-}
-
-build() {
- cd $pkgname-$pkgver
- make messages
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: gpodder/repos/community-any/PKGBUILD (from rev 378947, gpodder/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-10 03:34:43 UTC (rev 378948)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jan Magnus Brevik <janmbrevik at gmail.com>
+
+pkgname=gpodder
+pkgver=3.10.4
+pkgrel=1
+pkgdesc='Podcast client written in Python using GTK+'
+arch=(any)
+url='https://gpodder.github.io/'
+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)
+sha256sums=('54613170d12feaa51f245271ee508403eed394c31402b342fee83281e1854cfa')
+
+build() {
+ cd $pkgname-$pkgver
+ make messages
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Deleted: python37.patch
===================================================================
--- python37.patch 2018-09-10 03:34:39 UTC (rev 378947)
+++ python37.patch 2018-09-10 03:34:43 UTC (rev 378948)
@@ -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