From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1677121-garchives=archives.gentoo.org@lists.gentoo.org> 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B56FB15807A for <garchives@archives.gentoo.org>; Sun, 6 Oct 2024 13:38:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 10E27E29A5; Sun, 6 Oct 2024 13:38:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC5B5E29A5 for <gentoo-commits@lists.gentoo.org>; Sun, 6 Oct 2024 13:38:19 +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 327523430CB for <gentoo-commits@lists.gentoo.org>; Sun, 6 Oct 2024 13:38:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C7DF214CA for <gentoo-commits@lists.gentoo.org>; Sun, 6 Oct 2024 13:38:17 +0000 (UTC) From: "Jakov Smolić" <jsmolic@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" <jsmolic@gentoo.org> Message-ID: <1728221893.ad8d9cc7072022788c6f961ce9e4b51ef0e0ee37.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/bpftool/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/bpftool/bpftool-7.5.0-r2.ebuild X-VCS-Directories: dev-util/bpftool/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: ad8d9cc7072022788c6f961ce9e4b51ef0e0ee37 X-VCS-Branch: master Date: Sun, 6 Oct 2024 13:38:17 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2898173c-055f-4202-864a-5695be9d0d7b X-Archives-Hash: d02ee8dd0789ff6d56368c10e13589c2 commit: ad8d9cc7072022788c6f961ce9e4b51ef0e0ee37 Author: Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com> AuthorDate: Sat Oct 5 11:06:49 2024 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Sun Oct 6 13:38:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad8d9cc7 dev-util/bpftool: fix python shebang for python-exec[-native-symlinks] Closes: https://bugs.gentoo.org/940781 Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/38883 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> dev-util/bpftool/bpftool-7.5.0-r2.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-util/bpftool/bpftool-7.5.0-r2.ebuild b/dev-util/bpftool/bpftool-7.5.0-r2.ebuild index b2a0a9b8b857..6e0b552e64f8 100644 --- a/dev-util/bpftool/bpftool-7.5.0-r2.ebuild +++ b/dev-util/bpftool/bpftool-7.5.0-r2.ebuild @@ -54,6 +54,7 @@ BDEPEND=" CONFIG_CHECK="~DEBUG_INFO_BTF" pkg_setup() { + python-any-r1_pkg_setup use llvm && llvm-r1_pkg_setup } @@ -104,6 +105,9 @@ src_prepare() { # remove -Werror (bug 887981) sed -i -e 's/\-Werror//g' ../../lib/bpf/Makefile || die + + # fix up python shebangs (bug 940781) + python_fix_shebang "${S_K}"/scripts/bpf_doc.py } bpftool_make() {