From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AFC15158094 for ; Mon, 5 Sep 2022 07:35:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC0D3E07B2; Mon, 5 Sep 2022 07:35:05 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0257E07B2 for ; Mon, 5 Sep 2022 07:35:05 +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 9674E33BF5A for ; Mon, 5 Sep 2022 07:35:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E57C75B1 for ; Mon, 5 Sep 2022 07:35:02 +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: <1662363284.6035dad288e97438e533138a4cb0995c9490a397.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.24.ebuild X-VCS-Directories: dev-util/pahole/ X-VCS-Committer: zzam X-VCS-Committer-Name: Matthias Schwarzott X-VCS-Revision: 6035dad288e97438e533138a4cb0995c9490a397 X-VCS-Branch: master Date: Mon, 5 Sep 2022 07:35:02 +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: 4890edd5-1aac-4029-a737-67f88b210246 X-Archives-Hash: 608f9e3dd6fcad1917db3165875adb8f commit: 6035dad288e97438e533138a4cb0995c9490a397 Author: Matthias Schwarzott gentoo org> AuthorDate: Mon Sep 5 07:34:07 2022 +0000 Commit: Matthias Schwarzott gentoo org> CommitDate: Mon Sep 5 07:34:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6035dad2 dev-util/pahole: add version 1.24 Signed-off-by: Matthias Schwarzott gentoo.org> dev-util/pahole/Manifest | 1 + dev-util/pahole/pahole-1.24.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-util/pahole/Manifest b/dev-util/pahole/Manifest index b1ddadeaf0a1..b232c9e09f43 100644 --- a/dev-util/pahole/Manifest +++ b/dev-util/pahole/Manifest @@ -1 +1,2 @@ DIST dwarves-1.23.tar.xz 815076 BLAKE2B 2d89ac2d8cacb70a322b1c946356c0b18a2276f7a549efc2cf530c087dd718c7d01f5bcf8b9208965e066770064b6d8db7a9f6ab9a3f3a4612f6fcc8d146c1e8 SHA512 5255930d6898ce35a41e3e553363964663d2b686d12732ff6140fa1d06fcc3806adf28e24ec35ab0712eec0562c52c3943afe9ecce468b0053b852ffeb04c3dc +DIST dwarves-1.24.tar.xz 875744 BLAKE2B 6766b5a5ecbf64013227e7cd459af662fc213f230b5b1279354fcaaccebfa3d74f9a2254542dc4f3f1bb4a5def1d4c77e2445fa8b531fa8b9e331cdfc23155fe SHA512 3cdca183cf68ec46fd9a0301ae4a8a30b23a8139c65ffba64ae11f85f9e942f7341dca6f88a4a3b49f32bfd880927193a80fa011726e4a33d3e5a1a146326c06 diff --git a/dev-util/pahole/pahole-1.24.ebuild b/dev-util/pahole/pahole-1.24.ebuild new file mode 100644 index 000000000000..8a8a28a9f3a2 --- /dev/null +++ b/dev-util/pahole/pahole-1.24.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit cmake python-single-r1 + +DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities" +HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/" + +LICENSE="GPL-2" # only +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="debug" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + >=dev-libs/elfutils-0.178 + sys-libs/zlib" +DEPEND="${RDEPEND}" + +MY_PN=dwarves +MY_P=${MY_PN}-${PV} +S=${WORKDIR}/${MY_P} +if [[ ${PV//_p} == ${PV} ]]; then + SRC_URI="http://fedorapeople.org/~acme/${MY_PN}/${MY_P}.tar.xz" +else + SRC_URI="https://dev.gentoo.org/~zzam/${PN}/${P}.tar.xz" +fi + +DOCS=( README README.ctracer NEWS ) + +PATCHES=( + "${FILESDIR}"/${PN}-1.10-python-import.patch +) + +src_prepare() { + cmake_src_prepare + python_fix_shebang ostra/ostra-cg ostra/python/ostra.py +} + +src_configure() { + local mycmakeargs=( "-D__LIB=$(get_libdir)" ) + cmake_src_configure +} + +src_test() { :; } + +src_install() { + cmake_src_install +}