From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1390792-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 6AE2615808E
	for <garchives@archives.gentoo.org>; Thu, 28 Apr 2022 03:38:25 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 96BE5E0898;
	Thu, 28 Apr 2022 03:38:24 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 679CCE0891
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Apr 2022 03:38:24 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5C884341614
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Apr 2022 03:38:23 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D23E03FB
	for <gentoo-commits@lists.gentoo.org>; Thu, 28 Apr 2022 03:38:21 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1651116964.65919306b5d04096b3fec8c67dac8c214dfe1b62.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/uhd/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-wireless/uhd/uhd-4.1.0.5.ebuild net-wireless/uhd/uhd-4.2.0.0.ebuild
X-VCS-Directories: net-wireless/uhd/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 65919306b5d04096b3fec8c67dac8c214dfe1b62
X-VCS-Branch: master
Date: Thu, 28 Apr 2022 03:38:21 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d0ac7400-fca9-4f1d-b44f-b928ec90cd9f
X-Archives-Hash: f0b03e93fc5d06bbb12c023c88b6a763

commit:     65919306b5d04096b3fec8c67dac8c214dfe1b62
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 28 03:34:58 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 28 03:36:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65919306

net-wireless/uhd: use get_udevdir

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-wireless/uhd/uhd-4.1.0.5.ebuild | 5 ++---
 net-wireless/uhd/uhd-4.2.0.0.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/net-wireless/uhd/uhd-4.1.0.5.ebuild b/net-wireless/uhd/uhd-4.1.0.5.ebuild
index 6d285be59c72..f77c3fbc8a83 100644
--- a/net-wireless/uhd/uhd-4.1.0.5.ebuild
+++ b/net-wireless/uhd/uhd-4.1.0.5.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8,9,10} )
 
-inherit cmake gnome2-utils python-single-r1
+inherit cmake gnome2-utils python-single-r1 udev
 
 DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver"
 HOMEPAGE="https://kb.ettus.com"
@@ -103,8 +103,7 @@ src_install() {
 		rm -r "${ED}/usr/share/man/man1/uhd_images_downloader.1" || die
 	fi
 
-	insinto /lib/udev/rules.d/
-	doins "${S}/utils/uhd-usrp.rules"
+	udev_dorules "${S}/utils/uhd-usrp.rules"
 
 	rm -r "${WORKDIR}/images/winusb_driver" || die
 	if ! use b100; then

diff --git a/net-wireless/uhd/uhd-4.2.0.0.ebuild b/net-wireless/uhd/uhd-4.2.0.0.ebuild
index aa1063896294..ccf27525ff51 100644
--- a/net-wireless/uhd/uhd-4.2.0.0.ebuild
+++ b/net-wireless/uhd/uhd-4.2.0.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8,9,10} )
 
-inherit cmake gnome2-utils python-single-r1
+inherit cmake gnome2-utils python-single-r1 udev
 
 DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver"
 HOMEPAGE="https://kb.ettus.com"
@@ -98,8 +98,7 @@ src_install() {
 		rm -r "${ED}/usr/bin/uhd_images_downloader" || die
 	fi
 
-	insinto /lib/udev/rules.d/
-	doins "${S}/utils/uhd-usrp.rules"
+	udev_dorules "${S}/utils/uhd-usrp.rules"
 
 	rm -r "${WORKDIR}/images/winusb_driver" || die
 	if ! use b100; then