From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F4DB1584AD for ; Thu, 17 Apr 2025 01:56:52 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4EEE4342F99 for ; Thu, 17 Apr 2025 01:56:52 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4274A110494; Thu, 17 Apr 2025 01:56:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3586F110494 for ; Thu, 17 Apr 2025 01:56:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B71A0342F99 for ; Thu, 17 Apr 2025 01:56:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB62D19B9 for ; Thu, 17 Apr 2025 01:56:48 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1744854972.e382d12f34ba28cfe3a9eb8e17dab28ce476d07d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/drgn/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-debug/drgn/Manifest dev-debug/drgn/drgn-0.0.31.ebuild dev-debug/drgn/metadata.xml X-VCS-Directories: dev-debug/drgn/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e382d12f34ba28cfe3a9eb8e17dab28ce476d07d X-VCS-Branch: master Date: Thu, 17 Apr 2025 01:56:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 851b9136-9cdc-4124-a5fa-bc6c09869c2a X-Archives-Hash: 1c3a7d56df7a93a8f19ad7bf4f416bb2 commit: e382d12f34ba28cfe3a9eb8e17dab28ce476d07d Author: Sam James gentoo org> AuthorDate: Thu Apr 17 01:56:12 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Apr 17 01:56:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e382d12f dev-debug/drgn: add 0.0.31 Signed-off-by: Sam James gentoo.org> dev-debug/drgn/Manifest | 1 + dev-debug/drgn/drgn-0.0.31.ebuild | 66 +++++++++++++++++++++++++++++++++++++++ dev-debug/drgn/metadata.xml | 3 ++ 3 files changed, 70 insertions(+) diff --git a/dev-debug/drgn/Manifest b/dev-debug/drgn/Manifest index 1d33818fa1b2..601938d5b0fa 100644 --- a/dev-debug/drgn/Manifest +++ b/dev-debug/drgn/Manifest @@ -1 +1,2 @@ DIST drgn-0.0.30.tar.gz 1268753 BLAKE2B 28fc686771f0eebca4c8be6a4552e0d8ca060ea1d39d656768d807f8115323ca00f1a9311d3aa5208d2a609fa296cda691f350e545b1e23b5ef0b200a9d6f77b SHA512 6c17052baf5c2295167e41e5b7fd9899c1ca90af6f83704034371827953f690c034415780c4f45d20e1235085c198cf69e8ee9bdbf8081e22e3f860d21e839e9 +DIST drgn-0.0.31.tar.gz 1493026 BLAKE2B fe4714a5492e6d7059d699183e36b3cb51f0c52a648e73dfa7e81443ab124b6d06a2b0b2a562c3fe98771e8939f362fc1f1f957a5dbd59664595a26187cf75a9 SHA512 9a851e0968ad660c39ff3b26ff1f478a7622db8ddae0c35b60b2db8bc96f3b53e519e0782c1d57171cf45e02db60701d5958190df18b1a41c283a31feb7fc1d2 diff --git a/dev-debug/drgn/drgn-0.0.31.ebuild b/dev-debug/drgn/drgn-0.0.31.ebuild new file mode 100644 index 000000000000..7a098af1e83d --- /dev/null +++ b/dev-debug/drgn/drgn-0.0.31.ebuild @@ -0,0 +1,66 @@ +# 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_{10..13} ) + +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 openmp" + +DEPEND=" + >=dev-libs/elfutils-0.165 + dev-libs/libkdumpfile:= +" +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_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 277a11e65a36..abc3cbd0bd21 100644 --- a/dev-debug/drgn/metadata.xml +++ b/dev-debug/drgn/metadata.xml @@ -9,4 +9,7 @@ drgn osandov/drgn + + Enable debuginfod support +