diff options
author | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2022-02-15 14:52:56 -0500 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2022-02-24 11:04:26 -0500 |
commit | dc727b47beafd06361e8152c554ea3adf7459844 (patch) | |
tree | 8b636b03583b0e01bc11ff1134bd361bb3029099 /net-wireless/uhd | |
parent | net-wireless/uhd: remove sed (diff) | |
download | gentoo-dc727b47beafd06361e8152c554ea3adf7459844.tar.gz gentoo-dc727b47beafd06361e8152c554ea3adf7459844.tar.bz2 gentoo-dc727b47beafd06361e8152c554ea3adf7459844.zip |
net-wireless/uhd: remove unneeded functions
sort inherit
remove src_test, no longer needed after upstream bug fix https://github.com/EttusResearch/uhd/issues/338
drop force and add missing die for rm
Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/uhd')
-rw-r--r-- | net-wireless/uhd/uhd-4.1.0.4.ebuild | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/net-wireless/uhd/uhd-4.1.0.4.ebuild b/net-wireless/uhd/uhd-4.1.0.4.ebuild index 7a928c6e80c9..9ed87e644bbf 100644 --- a/net-wireless/uhd/uhd-4.1.0.4.ebuild +++ b/net-wireless/uhd/uhd-4.1.0.4.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8,9,10} ) -inherit python-single-r1 gnome2-utils cmake +inherit cmake gnome2-utils python-single-r1 DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver" HOMEPAGE="https://kb.ettus.com" @@ -91,19 +91,13 @@ src_configure() { cmake_src_configure } -src_test() { - #we can disable the python tests - #ctest -E 'py*' - PYTHON_PATH=python/ cmake_src_test -} - src_install() { cmake_src_install python_optimize use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/ if [[ "${PV}" != "9999" ]]; then - rm -rf "${ED}/usr/bin/uhd_images_downloader" - rm -rf "${ED}/usr/share/man/man1/uhd_images_downloader.1" + rm -r "${ED}/usr/bin/uhd_images_downloader" || die + rm -r "${ED}/usr/share/man/man1/uhd_images_downloader.1" || die fi insinto /lib/udev/rules.d/ |