Date: Wednesday, April 12, 2023 @ 15:50:03
  Author: jelle
Revision: 1444961

upgpkg: d-feet 0.3.16-3: python 3.11 rebuild

Added:
  d-feet/trunk/meson-drop-unused-argument.patch
  d-feet/trunk/python-del-fix.patch
Modified:
  d-feet/trunk/PKGBUILD

----------------------------------+
 PKGBUILD                         |   10 +++++++---
 meson-drop-unused-argument.patch |   36 ++++++++++++++++++++++++++++++++++++
 python-del-fix.patch             |   12 ++++++++++++
 3 files changed, 55 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-12 15:46:12 UTC (rev 1444960)
+++ PKGBUILD    2023-04-12 15:50:03 UTC (rev 1444961)
@@ -2,7 +2,7 @@
 
 pkgname=d-feet
 pkgver=0.3.16
-pkgrel=2
+pkgrel=3
 pkgdesc="D-Bus debugger for GNOME"
 arch=('any')
 url="https://wiki.gnome.org/Apps/DFeet";
@@ -10,11 +10,15 @@
 depends=('gtk3' 'python-gobject')
 makedepends=('gobject-introspection' 'meson' 'python-pycodestyle' 'yelp-tools')
 checkdepends=('xorg-server-xvfb')
-source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha512sums=('ff4db968cbd679e2065c614d538187fe3c56118b44638771ec9f7472bdba4a798dc682565f520a8680a8001ea39ce88555b07cda172e60f88eb6bdf1e00b5a6d')
+source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
 meson-drop-unused-argument.patch python-del-fix.patch)
+sha512sums=('ff4db968cbd679e2065c614d538187fe3c56118b44638771ec9f7472bdba4a798dc682565f520a8680a8001ea39ce88555b07cda172e60f88eb6bdf1e00b5a6d'
+            
'019dbeff67c22eccab4e34ed3c3aa292a86c6113f0f9575ecbec948aa5e2fc06f0f862d8e07d8ce566045e6aeb985cebddbc3c70ce6cffc8a074c1e08c80e27c'
+            
'082938045dda067c1fca4d3954fffbaf6d3fe39e5a69ce4e6d629aa62c148009e7f228f01b76863d2b78d6fac663a93eb06988b1239901bfb41b2f65d62f249e')
 
 prepare() {
   cd $pkgname-$pkgver
+  patch -Np1 -i ${srcdir}/meson-drop-unused-argument.patch
+  patch -Np1 -i ${srcdir}/python-del-fix.patch
 }
 
 build() {

Added: meson-drop-unused-argument.patch
===================================================================
--- meson-drop-unused-argument.patch                            (rev 0)
+++ meson-drop-unused-argument.patch    2023-04-12 15:50:03 UTC (rev 1444961)
@@ -0,0 +1,36 @@
+From 05465d486afdba116dbc22fc22c1e6573aea4f22 Mon Sep 17 00:00:00 2001
+From: Jan Beich <[email protected]>
+Date: Mon, 24 Jan 2022 12:11:57 +0000
+Subject: [PATCH] meson: drop unused argument for i18n.merge_file()
+
+Ignored in Meson < 0.60.0, deprecated since 0.60.1 and fatal since 0.61.0.
+
+data/meson.build:15:0: ERROR: Function does not take positional arguments.
+data/meson.build:27:0: ERROR: Function does not take positional arguments.
+---
+ data/meson.build | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/data/meson.build b/data/meson.build
+index 026bd80..3b03b94 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -13,7 +13,6 @@ desktop_in = configure_file(
+ )
+ 
+ i18n.merge_file(
+-  desktop,
+   type: 'desktop',
+   input: desktop_in,
+   output: '@BASENAME@',
+@@ -25,7 +24,6 @@ i18n.merge_file(
+ appdata = df_namespace + '.appdata.xml'
+ 
+ i18n.merge_file(
+-  appdata,
+   input: appdata + '.in',
+   output: '@BASENAME@',
+   po_dir: po_dir,
+-- 
+GitLab
+

Added: python-del-fix.patch
===================================================================
--- python-del-fix.patch                                (rev 0)
+++ python-del-fix.patch        2023-04-12 15:50:03 UTC (rev 1444961)
@@ -0,0 +1,12 @@
+diff -aur d-feet-0.3.16.old/src/dfeet/bus_watch.py 
d-feet-0.3.16/src/dfeet/bus_watch.py
+--- d-feet-0.3.16.old/src/dfeet/bus_watch.py   2023-04-12 17:39:11.358506803 
+0200
++++ d-feet-0.3.16/src/dfeet/bus_watch.py       2023-04-12 17:47:58.276821099 
+0200
+@@ -189,7 +189,7 @@
+             self.box_bus.remove(childs[-1])
+ 
+         try:
+-            del(self.__addr_info)
++            del self.__addr_info
+         except AttributeError:
+             pass
+ 

Reply via email to