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/uhd/
Date: Mon, 26 Sep 2022 16:19:41 +0000 (UTC)	[thread overview]
Message-ID: <1664209177.4da8c59251449a199ec14d50f0123f0a7c76e60b.zerochaos@gentoo> (raw)

commit:     4da8c59251449a199ec14d50f0123f0a7c76e60b
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 26 16:18:37 2022 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Sep 26 16:19:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da8c592

net-wireless/uhd: fix bug 839498

fix use flag conditional file removal
minor comment spelling fix

Closes: https://bugs.gentoo.org/839498
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/uhd/uhd-4.1.0.5.ebuild | 12 +++++++-----
 net-wireless/uhd/uhd-4.2.0.0.ebuild | 10 ++++++----
 net-wireless/uhd/uhd-4.3.0.0.ebuild | 10 ++++++----
 3 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/net-wireless/uhd/uhd-4.1.0.5.ebuild b/net-wireless/uhd/uhd-4.1.0.5.ebuild
index f77c3fbc8a83..abf30a8c22b6 100644
--- a/net-wireless/uhd/uhd-4.1.0.5.ebuild
+++ b/net-wireless/uhd/uhd-4.1.0.5.ebuild
@@ -38,7 +38,7 @@ RDEPEND="${PYTHON_DEPS}
 	')
 "
 DEPEND="${RDEPEND}"
-#zip an gzip are directly used by the build system
+#zip and gzip are directly used by the build system
 BDEPEND="
 	doc? ( app-doc/doxygen )
 	$(python_gen_cond_dep '
@@ -97,10 +97,12 @@ src_configure() {
 src_install() {
 	cmake_src_install
 	python_optimize
-	use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
-	if [[ "${PV}" != "9999" ]]; then
-		rm -r "${ED}/usr/bin/uhd_images_downloader" || die
-		rm -r "${ED}/usr/share/man/man1/uhd_images_downloader.1" || die
+	if use utils; then
+		python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
+		if [[ "${PV}" != "9999" ]]; then
+			rm -r "${ED}/usr/bin/uhd_images_downloader" || die
+			rm -r "${ED}/usr/share/man/man1/uhd_images_downloader.1" || die
+		fi
 	fi
 
 	udev_dorules "${S}/utils/uhd-usrp.rules"

diff --git a/net-wireless/uhd/uhd-4.2.0.0.ebuild b/net-wireless/uhd/uhd-4.2.0.0.ebuild
index 065339744a53..43bc62d7590a 100644
--- a/net-wireless/uhd/uhd-4.2.0.0.ebuild
+++ b/net-wireless/uhd/uhd-4.2.0.0.ebuild
@@ -38,7 +38,7 @@ RDEPEND="${PYTHON_DEPS}
 	')
 "
 DEPEND="${RDEPEND}"
-#zip an gzip are directly used by the build system
+#zip and gzip are directly used by the build system
 BDEPEND="
 	doc? ( app-doc/doxygen )
 	$(python_gen_cond_dep '
@@ -96,9 +96,11 @@ src_configure() {
 src_install() {
 	cmake_src_install
 	python_optimize
-	use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
-	if [[ "${PV}" != "9999" ]]; then
-		rm -r "${ED}/usr/bin/uhd_images_downloader" || die
+	if use utils; then
+		python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
+		if [[ "${PV}" != "9999" ]]; then
+			rm -r "${ED}/usr/bin/uhd_images_downloader" || die
+		fi
 	fi
 	# do not install test files (bug #857492)
 	if use test; then

diff --git a/net-wireless/uhd/uhd-4.3.0.0.ebuild b/net-wireless/uhd/uhd-4.3.0.0.ebuild
index 065339744a53..43bc62d7590a 100644
--- a/net-wireless/uhd/uhd-4.3.0.0.ebuild
+++ b/net-wireless/uhd/uhd-4.3.0.0.ebuild
@@ -38,7 +38,7 @@ RDEPEND="${PYTHON_DEPS}
 	')
 "
 DEPEND="${RDEPEND}"
-#zip an gzip are directly used by the build system
+#zip and gzip are directly used by the build system
 BDEPEND="
 	doc? ( app-doc/doxygen )
 	$(python_gen_cond_dep '
@@ -96,9 +96,11 @@ src_configure() {
 src_install() {
 	cmake_src_install
 	python_optimize
-	use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
-	if [[ "${PV}" != "9999" ]]; then
-		rm -r "${ED}/usr/bin/uhd_images_downloader" || die
+	if use utils; then
+		python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
+		if [[ "${PV}" != "9999" ]]; then
+			rm -r "${ED}/usr/bin/uhd_images_downloader" || die
+		fi
 	fi
 	# do not install test files (bug #857492)
 	if use test; then


             reply	other threads:[~2022-09-26 16:19 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-26 16:19 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-05  6:18 [gentoo-commits] repo/gentoo:master commit in: net-wireless/uhd/ Arthur Zamarin
2025-02-23 13:47 Thomas Beierlein
2024-12-08  5:23 Matt Jolly
2024-05-18  8:18 Arthur Zamarin
2024-01-25 16:44 Rick Farina
2024-01-25 16:44 Rick Farina
2023-08-19 22:48 Rick Farina
2023-08-19 13:34 Rick Farina
2023-08-19 13:34 Rick Farina
2023-08-19 13:34 Rick Farina
2023-07-28 18:23 Rick Farina
2023-07-28 18:23 Rick Farina
2023-04-06  2:18 Rick Farina
2022-09-19 13:33 Rick Farina
2022-07-15 13:48 Sam James
2022-07-11 17:44 Thomas Beierlein
2022-07-11  5:05 Thomas Beierlein
2022-07-11  4:52 Thomas Beierlein
2022-07-10 18:19 Thomas Beierlein
2022-04-30 15:53 Marek Szuba
2022-04-28  3:38 Sam James
2022-04-22 16:53 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-24 16:04 Rick Farina
2022-02-14  3:33 Rick Farina
2021-10-15 17:20 Rick Farina
2021-10-12 15:37 Rick Farina
2021-02-15  2:19 Rick Farina
2020-09-19 12:29 Michał Górny
2020-06-09 21:09 Rick Farina
2020-04-10 20:19 Rick Farina
2020-04-09 15:18 Rick Farina
2020-04-09  1:29 Rick Farina
2020-04-09  1:29 Rick Farina
2020-01-07 17:27 Rick Farina
2019-03-27 14:53 Rick Farina
2018-09-05 15:42 Richard Farina
2018-06-06 20:51 Richard Farina
2018-03-08 19:25 Richard Farina
2017-10-04  9:15 Michał Górny
2017-07-03 20:54 Jason Donenfeld
2017-04-23 21:01 David Seifert
2017-04-22 22:28 Jason Donenfeld
2017-04-17 20:47 Richard Farina
2017-04-03 18:16 Richard Farina
2015-12-25  9:11 Sergey Popov

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=1664209177.4da8c59251449a199ec14d50f0123f0a7c76e60b.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