From a2c9457248b2dab50125952d6bea49c1b561dd82 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Wed, 21 Jan 2026 10:37:38 +0100 Subject: [PATCH] urh: update to 2.10.0 --- srcpkgs/urh/patches/cython-3.1.patch | 20 -------------------- srcpkgs/urh/patches/numpy.patch | 22 ---------------------- srcpkgs/urh/template | 13 +++++++------ 3 files changed, 7 insertions(+), 48 deletions(-) delete mode 100644 srcpkgs/urh/patches/cython-3.1.patch delete mode 100644 srcpkgs/urh/patches/numpy.patch diff --git a/srcpkgs/urh/patches/cython-3.1.patch b/srcpkgs/urh/patches/cython-3.1.patch deleted file mode 100644 index c8ecb5b6018..00000000000 --- a/srcpkgs/urh/patches/cython-3.1.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/urh/dev/native/lib/chackrf.pxd -+++ b/src/urh/dev/native/lib/chackrf.pxd -@@ -54,7 +54,7 @@ - uint32_t part_id[2] - uint32_t serial_no[4] - -- ctypedef struct hackrf_device_list: -+ ctypedef struct c_hackrf_device_list "hackrf_device_list": - char ** serial_numbers - hackrf_usb_board_id * usb_board_ids - int *usb_device_index -@@ -63,7 +63,7 @@ - void ** usb_devices - int usb_devicecount - -- ctypedef hackrf_device_list hackrf_device_list_t; -+ ctypedef c_hackrf_device_list hackrf_device_list_t; - - ctypedef int (*hackrf_sample_block_cb_fn)(hackrf_transfer* transfer) - diff --git a/srcpkgs/urh/patches/numpy.patch b/srcpkgs/urh/patches/numpy.patch deleted file mode 100644 index 76dd552a9d0..00000000000 --- a/srcpkgs/urh/patches/numpy.patch +++ /dev/null @@ -1,22 +0,0 @@ -Either urh works with numpy >= 2.0, or it has been long broken anyway. - ---- a/setup.py -+++ b/setup.py -@@ -142,7 +142,7 @@ - return "" - - --install_requires = ["numpy<2.0.0", "psutil", "cython", "setuptools"] -+install_requires = ["numpy", "psutil", "cython", "setuptools"] - if IS_RELEASE: - install_requires.append("pyqt5") - else: -@@ -168,7 +168,7 @@ - license="GNU General Public License (GPL)", - download_url="https://github.com/jopohl/urh/tarball/v" + str(version.VERSION), - install_requires=install_requires, -- setup_requires=["numpy<2.0.0"], -+ setup_requires=["numpy"], - packages=get_packages(), - ext_modules=get_extensions(), - cmdclass={"build_ext": build_ext}, diff --git a/srcpkgs/urh/template b/srcpkgs/urh/template index 2948f4b1c14..fa7e43cd56f 100644 --- a/srcpkgs/urh/template +++ b/srcpkgs/urh/template @@ -1,13 +1,14 @@ # Template file for 'urh' pkgname=urh -version=2.9.8 -revision=4 +version=2.10.0 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools python3-Cython python3-numpy" -makedepends="python3-devel python3-PyQt5 libairspy-devel librtlsdr-devel +makedepends="python3-devel python3-pyqt6 libairspy-devel librtlsdr-devel libhackrf-devel uhd-devel libgomp-devel" -depends="python3-numpy python3-PyQt5 python3-Cython python3-psutil - python3-setuptools" +depends="python3-numpy python3-pyqt6 python3-pyqt6-gui python3-pyqt6-widgets + python3-pyqt6-devel-tools python3-pyqt6-test python3-Cython + python3-psutil python3-setuptools" checkdepends="$depends" short_desc="Universal Radio Hacker: investigate unknown wireless protocols" maintainer="Emil Miler " @@ -15,7 +16,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/jopohl/urh" changelog="https://github.com/jopohl/urh/releases" distfiles="https://github.com/jopohl/urh/archive/refs/tags/v${version}.tar.gz" -checksum=6d564cbcf1dd5fd0bd86a349826b4ae4a6bc95ff0ec77b0e1027f2f2260fb9fd +checksum=95bf54f9234dd2570ec9706bb632c3df4f24517f52b5ae6ccacd7194f960ff21 post_install() { vinstall data/urh.desktop 644 usr/share/applications