urh: update to 2.10.0

This commit is contained in:
Emil Miler
2026-02-03 08:18:29 -05:00
committed by Andrew J. Hesford
parent 40a495a1ee
commit a2c9457248
3 changed files with 7 additions and 48 deletions
-20
View File
@@ -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)
-22
View File
@@ -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},
+7 -6
View File
@@ -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 <em@0x45.cz>"
@@ -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