From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/drgn/
Date: Fri, 20 Jun 2025 01:00:12 +0000 (UTC) [thread overview]
Message-ID: <1750381172.ef63e9bcb1f296ed524a4d020b01d19cdaff41fe.sam@gentoo> (raw)
commit: ef63e9bcb1f296ed524a4d020b01d19cdaff41fe
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 20 00:57:35 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 20 00:59:32 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef63e9bc
dev-debug/drgn: add 0.0.32
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-debug/drgn/Manifest | 1 +
dev-debug/drgn/drgn-0.0.32.ebuild | 68 +++++++++++++++++++++++++++++++++++++++
dev-debug/drgn/metadata.xml | 1 +
3 files changed, 70 insertions(+)
diff --git a/dev-debug/drgn/Manifest b/dev-debug/drgn/Manifest
index 0e8b577fca5d..4ee06ad42320 100644
--- a/dev-debug/drgn/Manifest
+++ b/dev-debug/drgn/Manifest
@@ -1 +1,2 @@
DIST drgn-0.0.31.tar.gz 1493026 BLAKE2B fe4714a5492e6d7059d699183e36b3cb51f0c52a648e73dfa7e81443ab124b6d06a2b0b2a562c3fe98771e8939f362fc1f1f957a5dbd59664595a26187cf75a9 SHA512 9a851e0968ad660c39ff3b26ff1f478a7622db8ddae0c35b60b2db8bc96f3b53e519e0782c1d57171cf45e02db60701d5958190df18b1a41c283a31feb7fc1d2
+DIST drgn-0.0.32.tar.gz 1531692 BLAKE2B d16e7b54609f74515126c9791518976173e5d6a3c9db8df7a14d6e9dac8a0cd8884390cc19f5bbc766e59b1a28bf042247a4096a5358dd46b4c1355974a52dbc SHA512 9a2eb0f714dacdb7f3e70dd393878c7d3b0a6b1577e7a0a437aa938cec77b489fc5737fe82238d43609a00d7dc17016f72e8bdffa53546bae24660a94004a1dd
diff --git a/dev-debug/drgn/drgn-0.0.32.ebuild b/dev-debug/drgn/drgn-0.0.32.ebuild
new file mode 100644
index 000000000000..2b04167b1c42
--- /dev/null
+++ b/dev-debug/drgn/drgn-0.0.32.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 multiprocessing pypi toolchain-funcs
+
+DESCRIPTION="Programmable debugger"
+HOMEPAGE="
+ https://github.com/osandov/drgn
+ https://pypi.org/project/drgn/
+ https://drgn.readthedocs.io/en/latest/
+"
+
+LICENSE="LGPL-2.1+"
+# Note that as of 0.0.31 at least, the API+ABI of libdrgn is unstable.
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="debuginfod lzma openmp"
+
+DEPEND="
+ >=dev-libs/elfutils-0.165[debuginfod?]
+ dev-libs/libkdumpfile:=
+ lzma? ( app-arch/xz-utils )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ test? ( dev-libs/check )
+"
+
+distutils_enable_tests unittest
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_configure() {
+ tc-export AR CC OBJCOPY OBJDUMP PKG_CONFIG RANLIB STRIP
+
+ cat >> setup.cfg <<-EOF || die
+ [build_ext]
+ parallel = $(makeopts_jobs)
+ EOF
+
+ # setuptools calls autotools (!)
+ export CONFIGURE_FLAGS
+ CONFIGURE_FLAGS="--disable-dependency-tracking --disable-silent-rules"
+ CONFIGURE_FLAGS+=" --with-libkdumpfile"
+ CONFIGURE_FLAGS+=" --enable-libdrgn"
+ CONFIGURE_FLAGS+=" --enable-python-extension"
+ CONFIGURE_FLAGS+=" --disable-dlopen-debuginfod"
+ CONFIGURE_FLAGS+=" $(use_with debuginfod)"
+ CONFIGURE_FLAGS+=" $(use_with lzma)"
+ CONFIGURE_FLAGS+=" $(use_enable openmp)"
+ CONFIGURE_FLAGS+=" --build=${CBUILD}"
+ CONFIGURE_FLAGS+=" --host=${CHOST}"
+ CONFIGURE_FLAGS+=" --target=${CTARGET}"
+ distutils-r1_src_configure
+}
diff --git a/dev-debug/drgn/metadata.xml b/dev-debug/drgn/metadata.xml
index abc3cbd0bd21..93a3688bd14f 100644
--- a/dev-debug/drgn/metadata.xml
+++ b/dev-debug/drgn/metadata.xml
@@ -11,5 +11,6 @@
</upstream>
<use>
<flag name="debuginfod">Enable debuginfod support</flag>
+ <flag name="lzma">Support XZ-compressed debug information (MiniDebugInfo).</flag>
</use>
</pkgmetadata>
next reply other threads:[~2025-06-20 1:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-20 1:00 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-20 1:00 [gentoo-commits] repo/gentoo:master commit in: dev-debug/drgn/ Sam James
2025-04-17 1:58 Sam James
2025-04-17 1:56 Sam James
2024-12-26 10:59 Sam James
2024-12-20 6:10 Sam James
2024-10-11 1:57 Sam James
2024-09-21 5:32 Sam James
2024-09-21 5:32 Sam James
2024-08-29 1:14 Sam James
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=1750381172.ef63e9bcb1f296ed524a4d020b01d19cdaff41fe.sam@gentoo \
--to=sam@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