diff --git a/srcpkgs/urh/patches/numpy.patch b/srcpkgs/urh/patches/numpy.patch new file mode 100644 index 00000000000..76dd552a9d0 --- /dev/null +++ b/srcpkgs/urh/patches/numpy.patch @@ -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}, diff --git a/srcpkgs/urh/template b/srcpkgs/urh/template index 7c109b044b1..64c93f19ccc 100644 --- a/srcpkgs/urh/template +++ b/srcpkgs/urh/template @@ -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