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-libs/libiio/
Date: Thu, 24 Aug 2023 01:29:41 +0000 (UTC)	[thread overview]
Message-ID: <1692840512.2f8cabba4de6e43f81ab473d661d141c12301d74.zerochaos@gentoo> (raw)

commit:     2f8cabba4de6e43f81ab473d661d141c12301d74
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 24 01:28:32 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Aug 24 01:28:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8cabba

net-libs/libiio: fix missing conditional

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

 net-libs/libiio/libiio-0.25.ebuild | 6 ++++--
 net-libs/libiio/libiio-9999.ebuild | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-libs/libiio/libiio-0.25.ebuild b/net-libs/libiio/libiio-0.25.ebuild
index 089cda96f936..c752d70a4699 100644
--- a/net-libs/libiio/libiio-0.25.ebuild
+++ b/net-libs/libiio/libiio-0.25.ebuild
@@ -41,8 +41,10 @@ src_configure() {
 
 src_install() {
 	cmake_src_install
-	python_fix_shebang "${ED}"
-	python_optimize
+	if use python; then
+		python_fix_shebang "${ED}"
+		python_optimize
+	fi
 }
 
 pkg_postinst() {

diff --git a/net-libs/libiio/libiio-9999.ebuild b/net-libs/libiio/libiio-9999.ebuild
index 089cda96f936..c752d70a4699 100644
--- a/net-libs/libiio/libiio-9999.ebuild
+++ b/net-libs/libiio/libiio-9999.ebuild
@@ -41,8 +41,10 @@ src_configure() {
 
 src_install() {
 	cmake_src_install
-	python_fix_shebang "${ED}"
-	python_optimize
+	if use python; then
+		python_fix_shebang "${ED}"
+		python_optimize
+	fi
 }
 
 pkg_postinst() {


             reply	other threads:[~2023-08-24  1:29 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-24  1:29 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-23  8:38 [gentoo-commits] repo/gentoo:master commit in: net-libs/libiio/ Thomas Beierlein
2024-05-18  8:18 Arthur Zamarin
2023-08-24  1:29 Rick Farina
2023-08-21  1:55 Rick Farina
2023-08-21  1:55 Rick Farina
2023-02-01 19:27 Andreas Sturmlechner
2022-09-27 11:13 Thomas Beierlein
2022-08-21 11:20 Thomas Beierlein
2022-08-19  5:36 Thomas Beierlein
2022-08-19  5:34 Thomas Beierlein
2022-07-13  6:15 Sam James
2022-04-30 19:09 Marek Szuba
2021-02-25 17:49 Rick Farina
2021-02-25 17:49 Rick Farina
2019-04-11 15:48 Pacho Ramos
2018-09-04 20:54 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=1692840512.2f8cabba4de6e43f81ab473d661d141c12301d74.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