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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA887158089 for ; Fri, 27 Oct 2023 06:56:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1291C2BC03A; Fri, 27 Oct 2023 06:56:53 +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 pigeon.gentoo.org (Postfix) with ESMTPS id EBD592BC03A for ; Fri, 27 Oct 2023 06:56:52 +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 54315335C7E for ; Fri, 27 Oct 2023 06:56:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4164112D3 for ; Fri, 27 Oct 2023 06:56:49 +0000 (UTC) From: "Guilherme Amadio" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" Message-ID: <1698388934.3c1e0f580027326306c567fe0b194b64baabe532.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/uftrace/Manifest dev-util/uftrace/uftrace-0.14.ebuild X-VCS-Directories: dev-util/uftrace/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: 3c1e0f580027326306c567fe0b194b64baabe532 X-VCS-Branch: master Date: Fri, 27 Oct 2023 06:56:49 +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: 60a194d1-546d-4193-85eb-c6d3e7d95e27 X-Archives-Hash: 79cf4409311bf149669dbe022f1087db commit: 3c1e0f580027326306c567fe0b194b64baabe532 Author: Guilherme Amadio gentoo org> AuthorDate: Thu Oct 26 07:05:49 2023 +0000 Commit: Guilherme Amadio gentoo org> CommitDate: Fri Oct 27 06:42:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c1e0f58 dev-util/uftrace: version bump to 0.14 Signed-off-by: Guilherme Amadio gentoo.org> dev-util/uftrace/Manifest | 1 + dev-util/uftrace/uftrace-0.14.ebuild | 70 ++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-util/uftrace/Manifest b/dev-util/uftrace/Manifest index cb15bad5a58c..033f3563f4aa 100644 --- a/dev-util/uftrace/Manifest +++ b/dev-util/uftrace/Manifest @@ -1,3 +1,4 @@ DIST uftrace-0.11.tar.gz 1120956 BLAKE2B e3bda84a7323cc50780950e502856e28a380249a0f518ad3f7950c4147f0ab635e84b978395eb9025e6b47ecf7eefddcde59356a22f1c8a1d60ddf9820dc3d41 SHA512 519ca13665ba97cea4c349d81b4b5cacd8d3d9b2188ef5edb447f6b783cb7a92356bc0f9e63b67427a896d8df671f58091113e1de3fffd8d8000417a9fdb6e46 DIST uftrace-0.12.tar.gz 1138670 BLAKE2B 0110f22e12231a8795b12722220b8e9ad6efb79eac99969f3f4c67b7925e1466753bcf7dbcf10fb98c3b3dfa77f6f01ebfd55705fb0b9a3672a725ff24a1483d SHA512 02331f9e76b5652b0464fb3e9e29320ca1d4691a9de7bc7e7e489c3eac040ecd389c201ff2875b1b6a6695c687d7eab640239728f8b66c97efea21414b215842 DIST uftrace-0.13.1.tar.gz 1159973 BLAKE2B eafb5141f5c86a77d6c68fbb44d5575df62cb679ce037144eea4a76a6a729e9965f15437b5a3cbd3566d560d48946a7788970aa9e40ba86eb1cf39571ac30bfe SHA512 03033cc314fe902046eb8c7cdc8a15c6f67f7b4df189329ccb654041ec2e02baa03e6d3d8cbdf3238946096a3893f60ed105fe4807194a74f90a107400accd7f +DIST uftrace-0.14.tar.gz 1192139 BLAKE2B 81c83581351fc8b8302c312ad0a4d84a9f19c0db9253b31de6f2bb7e507aa8540eaab494ae1b52de3fd10baa4f2b658403676f1f53eeecb14f03c765b6fc98d0 SHA512 35fd121d0d0ac738a841deb470dd48b0a1a8a3d711b36463eddbbd8fc70122c76c5b5158ad2e92bd6a0b68f4bbe51c6957f4473f8b5be7ec82a9b962d31ffc5b diff --git a/dev-util/uftrace/uftrace-0.14.ebuild b/dev-util/uftrace/uftrace-0.14.ebuild new file mode 100644 index 000000000000..4c30b0c9557a --- /dev/null +++ b/dev-util/uftrace/uftrace-0.14.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( luajit ) +PYTHON_COMPAT=( python3_{9..12} ) + +inherit bash-completion-r1 lua-single python-single-r1 toolchain-funcs + +DESCRIPTION="Function (graph) tracer for user-space" +HOMEPAGE="https://github.com/namhyung/uftrace" +SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="capstone lua python unwind" + +REQUIRED_USE=" + lua? ( ${LUA_REQUIRED_USE} ) + python? ( ${PYTHON_REQUIRED_USE} ) +" + +RESTRICT="test" + +RDEPEND=" + sys-libs/ncurses:= + virtual/libelf:= + capstone? ( dev-libs/capstone:0= ) + lua? ( ${LUA_DEPS} ) + python? ( ${PYTHON_DEPS} ) + unwind? ( sys-libs/libunwind:= ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" -e "/bash.completion/d" Makefile || die +} + +src_configure() { + local myconf=( + --libdir="${EPREFIX}/usr/$(get_libdir)/uftrace" + $(use_with capstone) + $(use_with unwind libunwind) + $(use_with python libpython) + ) + if use lua && use lua_single_target_luajit; then + myconf+=( + --with-libluajit + ) + else + myconf+=( + --without-libluajit + ) + fi + CC="$(tc-getCC)" LD="$(tc-getLD)" econf "${myconf[@]}" +} + +src_compile() { + emake V=1 +} + +src_install() { + default + + dodoc doc/*.{md,gif,png} + newbashcomp misc/bash-completion.sh uftrace +}