Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
urh


Commits:
fbdbb2ad by Jelle van der Waa at 2024-04-13T16:48:53+02:00
upgpkg: 2.9.6-2: rebuild with python 3.12

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + fieldtypes.xml-not-found.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = urh
        pkgdesc = Universal Radio Hacker: investigate wireless protocols like a 
boss
        pkgver = 2.9.6
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/jopohl/urh
        arch = x86_64
        license = GPL3
@@ -34,6 +34,8 @@ pkgbase = urh
        optdepends = gnuradio-osmosdr: OsmoSDR backend, via GNURadio
        optdepends = python-pyaudio: Soundcard backend
        source = 
urh-2.9.6.tar.gz::https://github.com/jopohl/urh/archive/v2.9.6.tar.gz
+       source = fieldtypes.xml-not-found.patch
        sha512sums = 
c5a153bf6df2421b496c58957b5ea0d591efd8caa12e08638560c125014d935abf279328a8b91fd09ab21444a58eea6ab7e59c3524b5c586c294b11123bff250
+       sha512sums = 
816dc20bda3ec96ec4ca43a46257499d05505f64c80d60b47a7bc5a1e88f1eaf1c3130b3a113d2ed432d3c22fd1536fa3d500b97919afcd518049ca095acd000
 
 pkgname = urh


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=urh
 pkgver=2.9.6
-pkgrel=1
+pkgrel=2
 pkgdesc='Universal Radio Hacker: investigate wireless protocols like a boss'
 arch=('x86_64')
 url='https://github.com/jopohl/urh'
@@ -22,8 +22,15 @@ optdepends=('airspy: Airspy backend'
             'python-pylibiio: IIO backend (PlutoSDR)'
             'gnuradio-osmosdr: OsmoSDR backend, via GNURadio'
             'python-pyaudio: Soundcard backend')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz";)
-sha512sums=('c5a153bf6df2421b496c58957b5ea0d591efd8caa12e08638560c125014d935abf279328a8b91fd09ab21444a58eea6ab7e59c3524b5c586c294b11123bff250')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jopohl/urh/archive/v$pkgver.tar.gz";
+       "fieldtypes.xml-not-found.patch")
+sha512sums=('c5a153bf6df2421b496c58957b5ea0d591efd8caa12e08638560c125014d935abf279328a8b91fd09ab21444a58eea6ab7e59c3524b5c586c294b11123bff250'
+            
'816dc20bda3ec96ec4ca43a46257499d05505f64c80d60b47a7bc5a1e88f1eaf1c3130b3a113d2ed432d3c22fd1536fa3d500b97919afcd518049ca095acd000')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -Np1 -i ${srcdir}/fieldtypes.xml-not-found.patch
+}
 
 build() {
   cd $pkgname-$pkgver


=====================================
fieldtypes.xml-not-found.patch
=====================================
@@ -0,0 +1,20 @@
+From 10607cd6c5e5bf89a4b0b629496543b42e9d2e42 Mon Sep 17 00:00:00 2001
+From: "Dr. Johannes Pohl" <[email protected]>
+Date: Thu, 14 Mar 2024 21:42:01 +0100
+Subject: [PATCH] Add conftest.py to awre test dir (#1109)
+
+To prevent fieldtypes.xml not found for tests on macOS
+---
+ tests/awre/conftest.py | 3 +++
+ 1 file changed, 3 insertions(+)
+ create mode 100644 tests/awre/conftest.py
+
+diff --git a/tests/awre/conftest.py b/tests/awre/conftest.py
+new file mode 100644
+index 000000000..374c016ec
+--- /dev/null
++++ b/tests/awre/conftest.py
+@@ -0,0 +1,3 @@
++from urh.controller.dialogs.OptionsDialog import OptionsDialog
++
++OptionsDialog.write_default_options()



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/urh/-/commit/fbdbb2ad77720da77b591789cdd1edbb2d48f2c2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/urh/-/commit/fbdbb2ad77720da77b591789cdd1edbb2d48f2c2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to