From: "Florian Schmaus" <flow@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-embedded/esp-idf/ Date: Wed, 19 Jun 2024 07:15:02 +0000 (UTC) [thread overview] Message-ID: <1718781296.b8d29619de43a844d6b94f313cbf1c94fd01c6f8.flow@gentoo> (raw) commit: b8d29619de43a844d6b94f313cbf1c94fd01c6f8 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Wed Jun 19 07:14:49 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Jun 19 07:14:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8d29619 dev-embedded/esp-idf: use estack.eclass and newbin with heredoc Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-embedded/esp-idf/esp-idf-5.2.2.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild b/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild index af3eb9ab0..075aec06e 100644 --- a/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild +++ b/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild @@ -10,7 +10,7 @@ GDB_VER="14.2_20240403" CROSSTOOL_URL="https://github.com/espressif/crosstool-NG/releases/download/esp-${VER}" -inherit python-r1 +inherit estack python-r1 DESCRIPTION="Espressif IoT Development Framework" HOMEPAGE="https://www.espressif.com/" @@ -67,7 +67,7 @@ PATCHES=( ) install_tool() { - shopt -s globstar + eshopts_push -s globstar into /opt/${1} @@ -119,12 +119,17 @@ install_tool() { done ) - shopt -u globstar + eshopts_pop } src_install() { - echo -e "#!/bin/sh\npython /usr/share/${PN}/tools/idf.py \"\$@\"" > idf - dobin idf + newbin - idf <<-EOF + #!/bin/sh + + # Silence a warning by idf.py + export IDF_PYTHON_ENV_PATH= + exec python /usr/share/${PN}/tools/idf.py \$@ +EOF install_tool xtensa-esp-elf install_tool xtensa-esp-elf/xtensa-esp-elf
WARNING: multiple messages have this Message-ID (diff)
From: "Florian Schmaus" <flow@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/esp-idf/ Date: Wed, 19 Jun 2024 07:15:27 +0000 (UTC) [thread overview] Message-ID: <1718781296.b8d29619de43a844d6b94f313cbf1c94fd01c6f8.flow@gentoo> (raw) Message-ID: <20240619071527.N4NhrbgKbyj-zfbAtpegGUxKuxBUQBTWbh6At9XJYxM@z> (raw) commit: b8d29619de43a844d6b94f313cbf1c94fd01c6f8 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Wed Jun 19 07:14:49 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Jun 19 07:14:56 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8d29619 dev-embedded/esp-idf: use estack.eclass and newbin with heredoc Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-embedded/esp-idf/esp-idf-5.2.2.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild b/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild index af3eb9ab0..075aec06e 100644 --- a/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild +++ b/dev-embedded/esp-idf/esp-idf-5.2.2.ebuild @@ -10,7 +10,7 @@ GDB_VER="14.2_20240403" CROSSTOOL_URL="https://github.com/espressif/crosstool-NG/releases/download/esp-${VER}" -inherit python-r1 +inherit estack python-r1 DESCRIPTION="Espressif IoT Development Framework" HOMEPAGE="https://www.espressif.com/" @@ -67,7 +67,7 @@ PATCHES=( ) install_tool() { - shopt -s globstar + eshopts_push -s globstar into /opt/${1} @@ -119,12 +119,17 @@ install_tool() { done ) - shopt -u globstar + eshopts_pop } src_install() { - echo -e "#!/bin/sh\npython /usr/share/${PN}/tools/idf.py \"\$@\"" > idf - dobin idf + newbin - idf <<-EOF + #!/bin/sh + + # Silence a warning by idf.py + export IDF_PYTHON_ENV_PATH= + exec python /usr/share/${PN}/tools/idf.py \$@ +EOF install_tool xtensa-esp-elf install_tool xtensa-esp-elf/xtensa-esp-elf
next reply other threads:[~2024-06-19 7:15 UTC|newest] Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-06-19 7:15 Florian Schmaus [this message] 2024-06-19 7:15 ` [gentoo-commits] repo/proj/guru:master commit in: dev-embedded/esp-idf/ Florian Schmaus -- strict thread matches above, loose matches on Subject: below -- 2025-04-02 12:40 [gentoo-commits] repo/proj/guru:dev " David Roman 2025-03-31 10:50 David Roman 2025-02-25 15:15 David Roman 2025-02-11 14:26 David Roman 2025-01-08 11:02 David Roman 2024-12-11 13:58 David Roman 2024-10-07 10:02 David Roman 2024-09-19 13:49 David Roman 2024-09-05 12:08 David Roman 2024-09-05 10:43 David Roman 2024-09-05 10:38 David Roman 2024-09-05 10:38 David Roman 2024-09-05 10:38 David Roman 2024-07-25 9:20 David Roman 2024-07-04 3:51 Lucio Sauer 2024-06-19 7:15 Florian Schmaus 2024-06-04 12:26 [gentoo-commits] repo/proj/guru:master " David Roman 2024-06-04 9:18 ` [gentoo-commits] repo/proj/guru:dev " David Roman 2024-06-04 12:26 [gentoo-commits] repo/proj/guru:master " David Roman 2024-06-04 9:18 ` [gentoo-commits] repo/proj/guru:dev " David Roman 2024-06-04 9:18 David Roman 2024-05-08 12:34 [gentoo-commits] repo/proj/guru:master " David Roman 2024-05-08 12:27 ` [gentoo-commits] repo/proj/guru:dev " David Roman 2024-04-16 7:05 Florian Schmaus 2024-04-16 7:05 Florian Schmaus 2024-03-14 10:19 [gentoo-commits] repo/proj/guru:master " David Roman 2024-03-14 9:40 ` [gentoo-commits] repo/proj/guru:dev " David Roman 2024-02-19 15:43 David Roman 2024-02-19 15:43 David Roman 2023-11-20 14:14 [gentoo-commits] repo/proj/guru:master " David Roman 2023-11-20 13:58 ` [gentoo-commits] repo/proj/guru:dev " David Roman 2023-11-20 14:14 [gentoo-commits] repo/proj/guru:master " David Roman 2023-11-20 14:05 ` [gentoo-commits] repo/proj/guru:dev " David Roman 2023-09-04 10:54 David Roman 2023-07-25 14:57 David Roman 2023-07-17 23:00 Anna Vyalkova 2023-07-05 14:49 David Roman 2023-07-05 13:44 David Roman 2022-05-28 10:17 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan 2022-05-28 10:17 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan 2022-05-25 8:24 David Roman
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=1718781296.b8d29619de43a844d6b94f313cbf1c94fd01c6f8.flow@gentoo \ --to=flow@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: linkBe 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