From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/
Date: Sun, 02 Feb 2025 10:21:49 +0000 (UTC) [thread overview]
Message-ID: <1738491693.42612d48a9a466bd92cb8a062d8c134868aa940f.amadio@gentoo> (raw)
commit: 42612d48a9a466bd92cb8a062d8c134868aa940f
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 2 10:08:34 2025 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Feb 2 10:21:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42612d48
dev-util/uftrace: add 0.17
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
dev-util/uftrace/Manifest | 1 +
dev-util/uftrace/uftrace-0.17.ebuild | 73 ++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
diff --git a/dev-util/uftrace/Manifest b/dev-util/uftrace/Manifest
index ad26f5c87b50..1d64e770b816 100644
--- a/dev-util/uftrace/Manifest
+++ b/dev-util/uftrace/Manifest
@@ -1 +1,2 @@
DIST uftrace-0.16.tar.gz 1157903 BLAKE2B d79471cc1780f52983adfd40fa726190a70a0ecff900a9059d6963cd893f93c679f3626dd388b5dc17b7cc94a276a086b29b1398fd1270f593d49e5919eae650 SHA512 509fc42369cd495fb12e492b6c7726b0f26fa22bcb87452efc36b232a4bf999ff08c69829ad413ecf2c194e3564cf89f7634cfa03d0427926ee62aa957bacd5b
+DIST uftrace-0.17.tar.gz 1164457 BLAKE2B 7e9ed9af07d9f2ca8b78d7b7651408f5065917207c57855e6486c6d0d8acdaf3f87096a789f74e4458705c2fd59393fb6973f8e43750bc0bb4e3ab56268e6177 SHA512 b76ac32e68b474522f7d9c470940093bc37cf5d3d2d119d10ffad2954262e83c4092f593f307a41c765a6975416bfc62b844436a4d1888639741eb328e16e1d8
diff --git a/dev-util/uftrace/uftrace-0.17.ebuild b/dev-util/uftrace/uftrace-0.17.ebuild
new file mode 100644
index 000000000000..e41ed3fc8197
--- /dev/null
+++ b/dev-util/uftrace/uftrace-0.17.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+PYTHON_COMPAT=( python3_{9..13} ) # fails to compile with python3.13t
+
+inherit bash-completion-r1 flag-o-matic 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() {
+ # bug #858503 (https://github.com/namhyung/uftrace/issues/1343)
+ filter-lto
+
+ 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
+}
next reply other threads:[~2025-02-02 10:21 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-02 10:21 Guilherme Amadio [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-03 9:46 [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/ Guilherme Amadio
2024-07-03 9:46 Guilherme Amadio
2024-05-30 15:38 Guilherme Amadio
2024-03-05 6:54 Sam James
2024-01-30 8:24 Guilherme Amadio
2024-01-30 8:24 Guilherme Amadio
2024-01-30 8:24 Guilherme Amadio
2023-10-27 6:56 Guilherme Amadio
2023-10-27 6:56 Guilherme Amadio
2023-05-01 0:09 Sam James
2023-02-13 9:56 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-09-19 12:11 Guilherme Amadio
2022-03-20 0:38 Sam James
2021-10-10 14:12 Guilherme Amadio
2021-07-31 0:18 Sam James
2021-05-31 15:24 Guilherme Amadio
2021-05-31 15:24 Guilherme Amadio
2021-05-31 15:24 Guilherme Amadio
2021-05-24 7:41 Luca Barbato
2020-06-20 17:29 Guilherme Amadio
2020-06-20 17:29 Guilherme Amadio
2020-06-20 17:29 Guilherme Amadio
2019-08-12 19:52 Michał Górny
2019-08-02 13:53 Luca Barbato
2019-07-31 7:32 Luca Barbato
2019-01-27 16:53 Pacho Ramos
2018-11-10 15:13 Sebastian Pipping
2018-07-05 11:34 Manuel Rüger
2018-02-19 15:53 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1738491693.42612d48a9a466bd92cb8a062d8c134868aa940f.amadio@gentoo \
--to=amadio@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox