Date: Monday, December 13, 2021 @ 23:51:40 Author: foutrelis Revision: 1072576
archrelease: copy trunk to community-x86_64 Added: pitivi/repos/community-x86_64/PKGBUILD (from rev 1072575, pitivi/trunk/PKGBUILD) pitivi/repos/community-x86_64/python310.patch (from rev 1072575, pitivi/trunk/python310.patch) Deleted: pitivi/repos/community-x86_64/PKGBUILD -----------------+ PKGBUILD | 73 +++++++++++++++++++++++++++++------------------------- python310.patch | 44 ++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-13 23:51:35 UTC (rev 1072575) +++ PKGBUILD 2021-12-13 23:51:40 UTC (rev 1072576) @@ -1,33 +0,0 @@ -# Maintainer: Balló György <ballogyor+arch at gmail dot com> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Abhishek Dasgupta <abh...@gmail.com> -# Contributor: Gabor Nyekhelyi (n0gabor) <n0ga...@vipmail.hu> - -pkgname=pitivi -pkgver=2021.05 -pkgrel=2 -pkgdesc='Editor for audio/video projects using the GStreamer framework' -arch=('x86_64') -url='http://pitivi.org/' -license=('LGPL') -depends=('gsound' 'gst-editing-services' 'gst-plugin-gtk' 'gst-plugins-bad' 'gst-plugins-good' 'gst-python' - 'gtk3' 'libnotify' 'libpeas' 'python-cairo' 'python-gobject' 'python-matplotlib' 'python-numpy') -makedepends=('appstream-glib' 'intltool' 'itstool' 'meson') -optdepends=('frei0r-plugins: additional video effects, clip transformation feature' - 'gst-libav: additional multimedia codecs' - 'gst-plugins-ugly: additional multimedia codecs') -source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz") -sha256sums=('cf5693c46c42ab0da14a2e59bfcf4bc880604b41e9cd3aa8d2ebdc60827b75c7') - -build() { - arch-meson $pkgname-$pkgver build - meson compile -C build -} - -check() { - meson test -C build --print-errorlogs -} - -package() { - DESTDIR="$pkgdir" meson install -C build -} Copied: pitivi/repos/community-x86_64/PKGBUILD (from rev 1072575, pitivi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-13 23:51:40 UTC (rev 1072576) @@ -0,0 +1,40 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Abhishek Dasgupta <abh...@gmail.com> +# Contributor: Gabor Nyekhelyi (n0gabor) <n0ga...@vipmail.hu> + +pkgname=pitivi +pkgver=2021.05 +pkgrel=3 +pkgdesc='Editor for audio/video projects using the GStreamer framework' +arch=('x86_64') +url='http://pitivi.org/' +license=('LGPL') +depends=('gsound' 'gst-editing-services' 'gst-plugin-gtk' 'gst-plugins-bad' 'gst-plugins-good' 'gst-python' + 'gtk3' 'libnotify' 'libpeas' 'python-cairo' 'python-gobject' 'python-matplotlib' 'python-numpy') +makedepends=('appstream-glib' 'intltool' 'itstool' 'meson') +optdepends=('frei0r-plugins: additional video effects, clip transformation feature' + 'gst-libav: additional multimedia codecs' + 'gst-plugins-ugly: additional multimedia codecs') +source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" + python310.patch) +sha256sums=('cf5693c46c42ab0da14a2e59bfcf4bc880604b41e9cd3aa8d2ebdc60827b75c7' + 'bebb9d3308a1ff5f1bd47cbab23b534e72b41b59f7366fa6333999aad0d2ab7f') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 --no-backup-if-mismatch -i ../python310.patch +} + +build() { + arch-meson $pkgname-$pkgver build + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build +} Copied: pitivi/repos/community-x86_64/python310.patch (from rev 1072575, pitivi/trunk/python310.patch) =================================================================== --- python310.patch (rev 0) +++ python310.patch 2021-12-13 23:51:40 UTC (rev 1072576) @@ -0,0 +1,44 @@ +From 4391235c1c1705504dfacfa2585c90e130f9e98c Mon Sep 17 00:00:00 2001 +From: Gwyn Ciesla <gw...@protonmail.com> +Date: Mon, 6 Sep 2021 06:32:00 +0000 +Subject: [PATCH] utils: Update collections import + +Fixes #2571 +--- + pitivi/utils/loggable.py | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/pitivi/utils/loggable.py b/pitivi/utils/loggable.py +index b002665ea..20048d241 100644 +--- a/pitivi/utils/loggable.py ++++ b/pitivi/utils/loggable.py +@@ -14,7 +14,7 @@ + # + # You should have received a copy of the GNU Lesser General Public + # License along with this program; if not, see <http://www.gnu.org/licenses/>. +-import collections ++import collections.abc + import errno + import fnmatch + import os +@@ -714,7 +714,7 @@ def add_log_handler(func): + Raises: + TypeError: When func is not a callable. + """ +- if not isinstance(func, collections.Callable): ++ if not isinstance(func, collections.abc.Callable): + raise TypeError("func must be callable") + + if func not in _log_handlers: +@@ -736,7 +736,7 @@ def add_limited_log_handler(func): + Raises: + TypeError: When func is not a callable. + """ +- if not isinstance(func, collections.Callable): ++ if not isinstance(func, collections.abc.Callable): + raise TypeError("func must be callable") + + if func not in _log_handlers_limited: +-- +GitLab +