From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-embedded/esp-idf/
Date: Sat, 28 May 2022 10:17:09 +0000 (UTC) [thread overview]
Message-ID: <1653733002.f806b08f7bd011ab675a8ce408174b3ffb4d8f4e.andrewammerlaan@gentoo> (raw)
Message-ID: <20220528101709.clZIWcZ8n2oKKo5I9Sp4YnBRNZrdgekylvmNxMD7XpI@z> (raw)
commit: f806b08f7bd011ab675a8ce408174b3ffb4d8f4e
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 10:16:42 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 28 10:16:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f806b08f
dev-embedded/esp-idf: pkgcheck QA, python-r1 -> python-single-r1
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-embedded/esp-idf/esp-idf-4.4.1.ebuild | 55 ++++++++++++++++---------------
dev-embedded/esp-idf/metadata.xml | 6 ++++
2 files changed, 34 insertions(+), 27 deletions(-)
diff --git a/dev-embedded/esp-idf/esp-idf-4.4.1.ebuild b/dev-embedded/esp-idf/esp-idf-4.4.1.ebuild
index 0a8c05c04..2d21d4be1 100644
--- a/dev-embedded/esp-idf/esp-idf-4.4.1.ebuild
+++ b/dev-embedded/esp-idf/esp-idf-4.4.1.ebuild
@@ -3,13 +3,12 @@
EAPI=8
-
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8..10} )
VER="esp-2021r2-patch3"
CROSSTOOL_URL="https://github.com/espressif/crosstool-NG/releases/download/${VER}"
-inherit python-r1
+inherit python-single-r1
DESCRIPTION="Espressif IoT Development Framework"
HOMEPAGE="https://www.espressif.com/"
@@ -27,23 +26,27 @@ S="${WORKDIR}/${PN}-v${PV}"
KEYWORDS="~amd64"
LICENSE="Apache-2.0"
-IUSE="+esp32 esp32s2 esp32s3 riscv32"
SLOT="0"
-
-RDEPEND="
- dev-python/click[${PYTHON_USEDEP}]
- dev-python/bitstring[${PYTHON_USEDEP}]
- dev-python/construct[${PYTHON_USEDEP}]
- dev-python/ecdsa[${PYTHON_USEDEP}]
- dev-python/future[${PYTHON_USEDEP}]
- dev-python/kconfiglib[${PYTHON_USEDEP}]
- dev-python/pyelftools[${PYTHON_USEDEP}]
- <dev-python/pyparsing-2.4.0[${PYTHON_USEDEP}]
- dev-python/pyserial[${PYTHON_USEDEP}]
- dev-python/python-socketio[${PYTHON_USEDEP}]
- dev-python/reedsolomon[${PYTHON_USEDEP}]
- dev-embedded/esptool[${PYTHON_USEDEP}]
+IUSE="+esp32 esp32s2 esp32s3 riscv32"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/bitstring[${PYTHON_USEDEP}]
+ dev-python/construct[${PYTHON_USEDEP}]
+ dev-python/ecdsa[${PYTHON_USEDEP}]
+ dev-python/future[${PYTHON_USEDEP}]
+ dev-python/kconfiglib[${PYTHON_USEDEP}]
+ dev-python/pyelftools[${PYTHON_USEDEP}]
+ <dev-python/pyparsing-2.4.0[${PYTHON_USEDEP}]
+ dev-python/pyserial[${PYTHON_USEDEP}]
+ dev-python/python-socketio[${PYTHON_USEDEP}]
+ dev-python/reedsolomon[${PYTHON_USEDEP}]
+ ')
+ dev-embedded/esptool[${PYTHON_SINGLE_USEDEP}]
"
+BDEPEND="app-arch/unzip"
RESTRICT="strip"
@@ -51,7 +54,7 @@ QA_PREBUILT="opt/* usr/lib* usr/share/esp-idf/*"
QA_PRESTRIPPED="opt/*"
install_tool() {
- shopt -s globstar
+ shopt -s globstar || die
into /opt/${1}
@@ -61,13 +64,13 @@ install_tool() {
dolib.so ${i}
done
fi
-
+
if stat *.a &>/dev/null; then
for i in ../${1}/lib/**/*.a*; do
dolib.a ${i}
done
fi
-
+
insinto /opt/${1}/lib
doins -r ../${1}/lib/*
fi
@@ -87,10 +90,10 @@ install_tool() {
insinto /opt/${1}
doins -r include
fi
-
+
if [[ -d "share" ]]; then
insinto /opt/${1}
- doins -r share
+ doins -r share
fi
)
@@ -117,7 +120,7 @@ src_install() {
install_tool xtensa-esp32s2-elf
fi
- if use esp32s3; then
+ if use esp32s3; then
install_tool xtensa-esp32s3-elf
fi
@@ -132,10 +135,8 @@ src_install() {
insinto /usr/share/${PN}
rm requirements.txt || die
- touch requirements.txt
+ touch requirements.txt || die
rm -r .git || die
doins -r .
}
-
-
diff --git a/dev-embedded/esp-idf/metadata.xml b/dev-embedded/esp-idf/metadata.xml
index 01c1fc848..980d00b17 100644
--- a/dev-embedded/esp-idf/metadata.xml
+++ b/dev-embedded/esp-idf/metadata.xml
@@ -5,4 +5,10 @@
<email>davidroman96@gmail.com</email>
<name>David Roman</name>
</maintainer>
+ <use>
+ <flag name="esp32"></flag>
+ <flag name="esp32s2"></flag>
+ <flag name="esp32s3"></flag>
+ <flag name="riscv32"></flag>
+ </use>
</pkgmetadata>
next reply other threads:[~2022-05-28 10:17 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-28 10:17 Andrew Ammerlaan [this message]
2022-05-28 10:17 ` [gentoo-commits] repo/proj/guru:dev commit in: dev-embedded/esp-idf/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2023-07-18 9:14 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-07-25 14:57 [gentoo-commits] repo/proj/guru:dev " David Roman
2023-07-25 15:02 ` [gentoo-commits] repo/proj/guru:master " David Roman
2023-09-04 11:04 Andrew Ammerlaan
2023-11-20 14:14 David Roman
2023-11-20 14:14 David Roman
2024-02-19 22:00 Julien Roy
2024-02-19 22:00 Julien Roy
2024-03-14 10:19 David Roman
2024-04-16 7:05 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-04-16 7:06 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-04-16 7:05 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-04-16 7:06 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-05-08 12:34 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 12:26 David Roman
2024-06-04 12:26 David Roman
2024-06-19 7:15 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-06-19 7:15 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-06-19 7:15 [gentoo-commits] repo/proj/guru:dev " Florian Schmaus
2024-06-19 7:15 ` [gentoo-commits] repo/proj/guru:master " Florian Schmaus
2024-07-04 11:19 David Roman
2024-07-25 9:20 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-07-25 10:10 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-09-05 10:38 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-09-06 8:52 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-09-05 10:43 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-09-06 8:52 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-09-05 12:08 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-09-06 8:52 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-09-19 13:49 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-09-19 13:52 ` [gentoo-commits] repo/proj/guru:master " David Roman
2024-10-07 10:02 [gentoo-commits] repo/proj/guru:dev " David Roman
2024-10-07 10:03 ` [gentoo-commits] repo/proj/guru:master " 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=1653733002.f806b08f7bd011ab675a8ce408174b3ffb4d8f4e.andrewammerlaan@gentoo \
--to=andrewammerlaan@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