urh: update to 2.9.8.

This commit is contained in:
Andrew J. Hesford 2024-11-16 09:27:44 -05:00
parent 0a18123b3b
commit f3bae63f58
2 changed files with 27 additions and 6 deletions

View file

@ -0,0 +1,22 @@
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},

View file

@ -1,12 +1,12 @@
# Template file for 'urh'
pkgname=urh
version=2.9.6
revision=2
version=2.9.8
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython0.29 python3-numpy"
hostmakedepends="python3-setuptools python3-Cython python3-numpy"
makedepends="python3-devel python3-PyQt5 libairspy-devel librtlsdr-devel
libhackrf-devel uhd-devel libgomp-devel"
depends="python3-numpy python3-PyQt5 python3-Cython0.29 python3-psutil
depends="python3-numpy python3-PyQt5 python3-Cython python3-psutil
python3-setuptools"
checkdepends="$depends"
short_desc="Universal Radio Hacker: investigate unknown wireless protocols"
@ -15,8 +15,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=34128f15bf57b21241fd629938826e17bc6fb32c1662665fda8b1d4c14a74559
make_check=no # Test suite is taking too long and CI times out
checksum=6d564cbcf1dd5fd0bd86a349826b4ae4a6bc95ff0ec77b0e1027f2f2260fb9fd
post_install() {
vinstall data/urh.desktop 644 usr/share/applications