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/gr-osmosdr/
Date: Wed,  3 Jan 2024 19:31:59 +0000 (UTC)	[thread overview]
Message-ID: <1704310316.3719f5cfec4ca504373c4c5eb8a2175defeb872a.zerochaos@gentoo> (raw)

commit:     3719f5cfec4ca504373c4c5eb8a2175defeb872a
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 19:30:18 2024 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 19:31:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3719f5cf

net-wireless/gr-osmosdr: rm foot gun USE=python

USE=python controls the gnuradio-companion source and sink blocks,
disabling it causes a super bad user experience.  Additionally the use
flag doesn't even control the deps properly so this never saved anyone
much.
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 ...gr-osmosdr-0.2.5.ebuild => gr-osmosdr-0.2.5-r1.ebuild} | 15 ++++++---------
 net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild            | 15 ++++++---------
 2 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.5.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.5-r1.ebuild
similarity index 85%
rename from net-wireless/gr-osmosdr/gr-osmosdr-0.2.5.ebuild
rename to net-wireless/gr-osmosdr/gr-osmosdr-0.2.5-r1.ebuild
index 9ff0faaaba65..459a7b7e0e51 100644
--- a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.5.ebuild
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,7 +23,7 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0/${PV}"
-IUSE="airspy bladerf doc hackrf iqbalance python rtlsdr sdrplay soapy uhd xtrx"
+IUSE="airspy bladerf doc hackrf iqbalance rtlsdr sdrplay soapy uhd xtrx"
 
 RDEPEND="${PYTHON_DEPS}
 	dev-libs/boost:=
@@ -62,7 +62,7 @@ src_configure() {
 		-DENABLE_BLADERF="$(usex bladerf ON OFF)"
 		-DENABLE_HACKRF="$(usex hackrf ON OFF)"
 		-DENABLE_IQBALANCE="$(usex iqbalance ON OFF)"
-		-DENABLE_PYTHON="$(usex python ON OFF)"
+		-DENABLE_PYTHON=ON
 		-DENABLE_RTL="$(usex rtlsdr ON OFF)"
 		-DENABLE_RTL_TCP="$(usex rtlsdr ON OFF)"
 		-DENABLE_SDRPLAY="$(usex sdrplay ON OFF)"
@@ -78,10 +78,7 @@ src_configure() {
 
 src_install() {
 	cmake_src_install
-	if use python; then
-		find "${ED}" -name '*.py[oc]' -delete || die
-		python_fix_shebang "${ED}"/usr/bin
-		python_optimize
-	fi
-	mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${P}"
+	find "${ED}" -name '*.py[oc]' -delete || die
+	python_fix_shebang "${ED}"/usr/bin
+	python_optimize
 }

diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
index 9ff0faaaba65..459a7b7e0e51 100644
--- a/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,7 +23,7 @@ fi
 
 LICENSE="GPL-3"
 SLOT="0/${PV}"
-IUSE="airspy bladerf doc hackrf iqbalance python rtlsdr sdrplay soapy uhd xtrx"
+IUSE="airspy bladerf doc hackrf iqbalance rtlsdr sdrplay soapy uhd xtrx"
 
 RDEPEND="${PYTHON_DEPS}
 	dev-libs/boost:=
@@ -62,7 +62,7 @@ src_configure() {
 		-DENABLE_BLADERF="$(usex bladerf ON OFF)"
 		-DENABLE_HACKRF="$(usex hackrf ON OFF)"
 		-DENABLE_IQBALANCE="$(usex iqbalance ON OFF)"
-		-DENABLE_PYTHON="$(usex python ON OFF)"
+		-DENABLE_PYTHON=ON
 		-DENABLE_RTL="$(usex rtlsdr ON OFF)"
 		-DENABLE_RTL_TCP="$(usex rtlsdr ON OFF)"
 		-DENABLE_SDRPLAY="$(usex sdrplay ON OFF)"
@@ -78,10 +78,7 @@ src_configure() {
 
 src_install() {
 	cmake_src_install
-	if use python; then
-		find "${ED}" -name '*.py[oc]' -delete || die
-		python_fix_shebang "${ED}"/usr/bin
-		python_optimize
-	fi
-	mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${P}"
+	find "${ED}" -name '*.py[oc]' -delete || die
+	python_fix_shebang "${ED}"/usr/bin
+	python_optimize
 }


             reply	other threads:[~2024-01-03 19:32 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03 19:31 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-08  5:23 [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-osmosdr/ Matt Jolly
2024-06-22 14:54 Thomas Beierlein
2024-05-31 10:43 Thomas Beierlein
2024-01-03 19:31 Rick Farina
2024-01-03 19:31 Rick Farina
2023-12-16  3:04 Rick Farina
2023-04-06  2:18 Rick Farina
2023-04-04 23:55 Sam James
2023-02-17 22:26 Rick Farina
2023-02-17 22:26 Rick Farina
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2022-11-22 16:42 Thomas Beierlein
2022-11-22  7:16 Thomas Beierlein
2022-11-22  7:16 Thomas Beierlein
2022-11-19  1:07 Yixun Lan
2022-11-18  6:38 Arthur Zamarin
2022-08-29 12:08 Thomas Beierlein
2022-08-18 17:51 Thomas Beierlein
2022-07-19  1:50 Sam James
2022-07-19  1:50 Sam James
2022-06-10 13:45 Thomas Beierlein
2021-06-02 17:31 Rick Farina
2021-03-25 18:29 Rick Farina
2021-02-15  2:19 Rick Farina
2020-12-18 19:41 Rick Farina
2020-11-24 18:22 Rick Farina
2020-10-11 14:33 Mikle Kolyada
2020-09-04 16:22 Rick Farina
2020-09-04 16:22 Rick Farina
2020-09-04 16:22 Rick Farina
2020-06-01 20:45 Rick Farina
2020-02-09 16:34 Michał Górny
2019-12-04  0:25 Rick Farina
2019-08-28 16:14 Rick Farina
2019-07-03  5:22 Rick Farina
2018-11-07 20:01 Rick Farina
2018-11-07 20:01 Rick Farina
2018-08-25 19:22 Christian Ruppert
2018-08-16 20:45 Richard Farina
2018-08-16 20:45 Richard Farina
2018-06-06  8:17 Andreas Sturmlechner
2018-06-06  8:13 Andreas Sturmlechner
2018-02-22  3:14 Richard Farina
2018-02-19 17:29 Richard Farina
2015-12-19 14:04 Chí-Thanh Christopher Nguyễn

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=1704310316.3719f5cfec4ca504373c4c5eb8a2175defeb872a.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