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 1FF7C1584AD for ; Sat, 26 Apr 2025 19:37:29 +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)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 0632433F9FD for ; Sat, 26 Apr 2025 19:37:29 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id F36A41102A2; Sat, 26 Apr 2025 19:37:27 +0000 (UTC) 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 bobolink.gentoo.org (Postfix) with ESMTPS id E85D11102A2 for ; Sat, 26 Apr 2025 19:37:27 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 650DA33F9FD for ; Sat, 26 Apr 2025 19:37:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05343C3A for ; Sat, 26 Apr 2025 19:37:26 +0000 (UTC) From: "Matthias Schwarzott" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Schwarzott" Message-ID: <1745696204.9bf07b1f12fa56af0cc19abfb7bfdd75a3d14e77.zzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pahole/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pahole/Manifest dev-util/pahole/pahole-1.30.ebuild X-VCS-Directories: dev-util/pahole/ X-VCS-Committer: zzam X-VCS-Committer-Name: Matthias Schwarzott X-VCS-Revision: 9bf07b1f12fa56af0cc19abfb7bfdd75a3d14e77 X-VCS-Branch: master Date: Sat, 26 Apr 2025 19:37:26 +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: c2559216-e1dc-407c-899f-c8ad6219a89a X-Archives-Hash: c81df20580085764f915aa85c46b58f3 commit: 9bf07b1f12fa56af0cc19abfb7bfdd75a3d14e77 Author: Matthias Schwarzott gentoo org> AuthorDate: Sat Apr 26 19:35:14 2025 +0000 Commit: Matthias Schwarzott gentoo org> CommitDate: Sat Apr 26 19:36:44 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf07b1f dev-util/pahole: add 1.30 Closes: https://bugs.gentoo.org/954402 Signed-off-by: Matthias Schwarzott gentoo.org> dev-util/pahole/Manifest | 2 ++ dev-util/pahole/pahole-1.30.ebuild | 74 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/dev-util/pahole/Manifest b/dev-util/pahole/Manifest index 680be6c597da..1c9439a3cbb2 100644 --- a/dev-util/pahole/Manifest +++ b/dev-util/pahole/Manifest @@ -2,3 +2,5 @@ DIST dwarves-1.27.tar.sign 228 BLAKE2B c15de74840aac809912b4b8bdd4c9171ba909bf6a DIST dwarves-1.27.tar.xz 2254968 BLAKE2B 0a0f8ec8bf26240e17dc3319e76e16299514d662a79b25c4c962f723127f55d185d557adba7230d23b2e2b38fc62044aaa3474a458dc3df2000260637f995121 SHA512 4eae00e2e5b636fce6c6b38f59ac561b0e613c23af1bc6e16d9e9df2b71323e090d4101dde7e5020e30c2251c364cb731c82865fd0c65c4aa417b7cc706cfe25 DIST dwarves-1.29.tar.sign 228 BLAKE2B ebf58feb5a3823263ef0bd2cd1fabfd4ed196a02954b3479faca6a028168bc2198fe6bd25b8a508704762c19809047babaa2ceeaf00d14e1be49ec5208e69fd0 SHA512 1c679706b87b763771b2a83b67df952b1fa27023e4d56d558772bcccda114cd7febcbcce7ee52211c9161e7f7984197d37e6c68955312271a282af90e3e6925e DIST dwarves-1.29.tar.xz 2341312 BLAKE2B a13738139445ed78243566d569e635600bbf9515c77bccde856ac41537541ad4f5c432913fd6becfa959b7a912a9d483b9d77d7aa597f7f5e96495bd70bfb7e2 SHA512 02f1922d8db46e60b4aedb4e37da34eaf28d6ee86d8c202c9eaaf31f8acc931dc2ec8c715fd62e1adef676022f366b45f3ac843d93e9b1e7865323bb0a92ca24 +DIST dwarves-1.30.tar.sign 228 BLAKE2B 13de57292cf934ea41367227eb8468884c1b95714036b4b646a63d7bdbde57f378e54a053cbd42210a3001ed490ddda54b7b7c43fb3a360500a3c4f7314163ef SHA512 13862a60d331295492b85c52a70cf92a952c69a2a0c813cab0df9929a77f5f1e244d6f8a37f572f8d1a20f06e834aaa1b47123ac5f2fc9313b0cdd08dfc085d5 +DIST dwarves-1.30.tar.xz 2345336 BLAKE2B c45da2970669baecbb2c12d962fa769b45f435d4ec5fd7fe0db587b1ee4ac072e431d626ab796193b967a4221a95072314a84c9009a431eff5b31ff324e896ee SHA512 222ad1f8e7bd4e079b4bf9059eaadebc23a0f4a95a77374b1162a1704acdceb794743e61bc14ec1cbda9a7c686f6972c243e784aeedf39cc15b6a8c6a4f1e2eb diff --git a/dev-util/pahole/pahole-1.30.ebuild b/dev-util/pahole/pahole-1.30.ebuild new file mode 100644 index 000000000000..aec4fed1deb0 --- /dev/null +++ b/dev-util/pahole/pahole-1.30.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake python-single-r1 + +MY_PN=dwarves +MY_P=${MY_PN}-${PV%%_p*} + +DESCRIPTION="pahole (Poke-a-Hole) and other DWARF utilities" +HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/" + +if [[ ${PV} == 9999 ]] ; then + EGIT_BRANCH="next" + EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/pahole/pahole.git" + inherit git-r3 +else + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/arnaldocarvalhodemelo.asc + inherit verify-sig + SRC_URI="http://fedorapeople.org/~acme/${MY_PN}/${MY_P}.tar.xz + verify-sig? ( http://fedorapeople.org/~acme/${MY_PN}/${MY_P}.tar.sign )" + if [[ ${PV} == *_p* ]] ; then + # Patch rollups from git format-patch. Sometimes there are important + # fixes in git which haven't been released (and no release in sight). + # Patch rollups are a bit better for understanding where changes have + # come from for users. + SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz" + fi + S="${WORKDIR}"/${MY_P} + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-arnaldocarvalhodemelo )" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +LICENSE="GPL-2" # only +SLOT="0" +IUSE="debug" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/elfutils-0.178 + sys-libs/zlib" +DEPEND="${RDEPEND}" + +DOCS=( README README.ctracer NEWS ) + +PATCHES=( + "${FILESDIR}/${PN}-1.10-python-import.patch" +) + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + return + fi + + # Upstream sign the decompressed .tar + if use verify-sig; then + einfo "Unpacking ${MY_P}.tar.xz ..." + verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \ + < <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -)) + assert "Unpack failed" + else + default + fi +} + +src_prepare() { + [[ -d "${WORKDIR}"/${P}-patches ]] && PATCHES+=( "${WORKDIR}"/${P}-patches ) + + cmake_src_prepare + python_fix_shebang ostra/ostra-cg ostra/python/ostra.py +}