public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/ubertooth/
Date: Wed, 22 Feb 2023 16:35:50 +0000 (UTC)	[thread overview]
Message-ID: <1677083738.94d0e8a53d05b6ab5f88fe63ac7e969b386f660f.zerochaos@gentoo> (raw)

commit:     94d0e8a53d05b6ab5f88fe63ac7e969b386f660f
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 22 16:33:58 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Feb 22 16:35:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d0e8a5

net-wireless/ubertooth: minor qa

adjust deps
add udev_reload
Closes: https://bugs.gentoo.org/849650
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 ...ooth-2020.12.1.ebuild => ubertooth-2020.12.1-r1.ebuild} | 14 +++++++++++---
 net-wireless/ubertooth/ubertooth-9999.ebuild               | 14 +++++++++++---
 2 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/net-wireless/ubertooth/ubertooth-2020.12.1.ebuild b/net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild
similarity index 93%
rename from net-wireless/ubertooth/ubertooth-2020.12.1.ebuild
rename to net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild
index c3cfc4790455..580e009cffa1 100644
--- a/net-wireless/ubertooth/ubertooth-2020.12.1.ebuild
+++ b/net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 inherit cmake udev
 
@@ -14,7 +14,7 @@ IUSE="+bluez static-libs +ubertooth1-firmware +udev"
 DEPEND="bluez? ( net-wireless/bluez:= )
 	>=net-libs/libbtbb-${PV}:=[static-libs?]
 	static-libs? ( dev-libs/libusb[static-libs] )
-	virtual/libusb:1="
+	virtual/libusb:1"
 RDEPEND="${DEPEND}
 	udev? ( virtual/udev )"
 
@@ -67,3 +67,11 @@ src_install() {
 	elog "Everyone can read from the ubertooth, but to talk to it"
 	elog "your user needs to be in the usb group."
 }
+
+pkg_postinst() {
+	use udev && udev_reload
+}
+
+pkg_postrm() {
+	use udev && udev_reload
+}

diff --git a/net-wireless/ubertooth/ubertooth-9999.ebuild b/net-wireless/ubertooth/ubertooth-9999.ebuild
index 4a9603a7e8d4..580e009cffa1 100644
--- a/net-wireless/ubertooth/ubertooth-9999.ebuild
+++ b/net-wireless/ubertooth/ubertooth-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=8
 
 inherit cmake udev
 
@@ -14,7 +14,7 @@ IUSE="+bluez static-libs +ubertooth1-firmware +udev"
 DEPEND="bluez? ( net-wireless/bluez:= )
 	>=net-libs/libbtbb-${PV}:=[static-libs?]
 	static-libs? ( dev-libs/libusb[static-libs] )
-	virtual/libusb:1="
+	virtual/libusb:1"
 RDEPEND="${DEPEND}
 	udev? ( virtual/udev )"
 
@@ -67,3 +67,11 @@ src_install() {
 	elog "Everyone can read from the ubertooth, but to talk to it"
 	elog "your user needs to be in the usb group."
 }
+
+pkg_postinst() {
+	use udev && udev_reload
+}
+
+pkg_postrm() {
+	use udev && udev_reload
+}


             reply	other threads:[~2023-02-22 16:35 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-22 16:35 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-19 13:34 [gentoo-commits] repo/gentoo:master commit in: net-wireless/ubertooth/ Rick Farina
2023-04-09 19:38 Sam James
2023-04-09 19:38 Sam James
2023-04-09 18:41 Arthur Zamarin
2021-03-30 23:25 Sam James
2021-03-30 20:20 Rick Farina
2021-01-07  3:00 Rick Farina
2020-07-05 13:44 Agostino Sarubbo
2020-07-05 13:38 Agostino Sarubbo
2020-07-05 13:36 Agostino Sarubbo
2020-06-12 14:20 Rick Farina
2019-03-20  2:25 Rick Farina
2018-08-07 23:10 Richard Farina
2018-06-27 19:00 Andreas Sturmlechner
2018-06-27 19:00 Andreas Sturmlechner
2018-02-28 18:50 Richard Farina
2017-10-04  9:15 Michał Górny
2017-03-20 17:07 Richard Farina
2017-03-04  5:06 Richard Farina
2016-02-03 23:00 Richard Farina
2016-02-03 23:00 Richard Farina
2015-09-05  2:39 Richard Farina
2015-09-05  2:39 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1677083738.94d0e8a53d05b6ab5f88fe63ac7e969b386f660f.zerochaos@gentoo \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox