mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
net-wireless/urh: drop 2.9.6_p20240428-r1
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST urh-2.9.6_p20240428.gh.tar.gz 13439550 BLAKE2B ad71275f2a3d0c5a680bac361949a70d1eb9a0fe496d720bbc831ef1e34b40ed187106825a295e421bf9e224de5f65cc4ed2791839307bbb75f900ba4f05aa61 SHA512 a278d4b5fcd09cf61cc63341545604882591b6732009ca61b41aa58c71666410175d7b75106c56f43dfd538db287a38f14288cc3d2dbde0260caef370850af03
|
||||
DIST urh-2.9.8.gh.tar.gz 13436054 BLAKE2B efc106fc1ef4879a0cebfe65e120dd4789576264b853b02b7ecf4065b9feeba26428b696a388298e2904e084302eed8b049f5f6d2c9a205730a9726d39c505e9 SHA512 a5327bee699bba8e6ffef2e7ec54f5f4b354feda18340c9b567b10b8c9283c5c907a546fd8a5660a2c325d42b8928cb9592630d0c2a5ed7dfdcf5dc434be4cb2
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Universal Radio Hacker: investigate wireless protocols like a boss"
|
||||
HOMEPAGE="https://github.com/jopohl/urh"
|
||||
|
||||
if [ "${PV}" = "9999" ]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/jopohl/urh.git"
|
||||
else
|
||||
COMMIT="544efd35ac4e0105cb63a31f2dc209c3834bc7bd"
|
||||
SRC_URI="https://github.com/jopohl/urh/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
#SRC_URI="https://github.com/jopohl/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="airspy audio bladerf hackrf limesdr plutosdr rtlsdr sdrplay uhd"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
net-wireless/gnuradio[zeromq]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyzmq[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
airspy? ( net-wireless/airspy:= )
|
||||
audio? ( dev-python/pyaudio[${PYTHON_USEDEP}] )
|
||||
bladerf? ( net-wireless/bladerf:= )
|
||||
hackrf? ( net-libs/libhackrf:= )
|
||||
limesdr? ( net-wireless/limesuite )
|
||||
plutosdr? ( net-libs/libiio:= )
|
||||
rtlsdr? ( net-wireless/rtl-sdr:= )
|
||||
sdrplay? ( <net-wireless/sdrplay-3.0.0:= )
|
||||
uhd? ( net-wireless/uhd:= )"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pyqt5[${PYTHON_USEDEP},testlib]
|
||||
net-wireless/gr-osmosdr"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2.9.7-no-numpy-setup.patch" )
|
||||
|
||||
python_configure_all() {
|
||||
DISTUTILS_ARGS=(
|
||||
$(use_with airspy)
|
||||
$(use_with bladerf)
|
||||
$(use_with hackrf)
|
||||
$(use_with limesdr)
|
||||
$(use_with plutosdr)
|
||||
$(use_with rtlsdr)
|
||||
$(use_with sdrplay)
|
||||
$(use_with uhd usrp)
|
||||
)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Why are these disabled?
|
||||
# import errors AND hangs forever after 'tests/test_spectrogram.py::TestSpectrogram::test_cancel_filtering'
|
||||
# import errors 'tests/test_continuous_modulator.py::TestContinuousModulator::test_modulate_continuously'
|
||||
# import errors 'tests/test_send_recv_dialog_gui.py::TestSendRecvDialog::test_continuous_send_dialog'
|
||||
# import errors 'tests/test_spectrogram.py::TestSpectrogram::test_channel_separation_with_negative_frequency'
|
||||
local EPYTEST_DESELECT=(
|
||||
'tests/test_spectrogram.py::TestSpectrogram::test_cancel_filtering'
|
||||
'tests/test_continuous_modulator.py::TestContinuousModulator::test_modulate_continuously'
|
||||
'tests/test_send_recv_dialog_gui.py::TestSendRecvDialog::test_continuous_send_dialog'
|
||||
'tests/test_spectrogram.py::TestSpectrogram::test_channel_separation_with_negative_frequency'
|
||||
|
||||
)
|
||||
cd "${T}" || die
|
||||
epytest -s --pyargs urh.cythonext "${S}/tests" || die
|
||||
}
|
||||
Reference in New Issue
Block a user