public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/
Date: Mon, 31 May 2021 15:24:35 +0000 (UTC)	[thread overview]
Message-ID: <1622474657.dff842ad75fcc6f0f2232c31927559383b969ad2.amadio@gentoo> (raw)

commit:     dff842ad75fcc6f0f2232c31927559383b969ad2
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon May 31 14:53:19 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon May 31 15:24:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dff842ad

dev-util/uftrace: version bump to 0.10

Fixes: https://bugs.gentoo.org/724278
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/uftrace/Manifest            |  1 +
 dev-util/uftrace/uftrace-0.10.ebuild | 62 ++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-util/uftrace/Manifest b/dev-util/uftrace/Manifest
index 129dd72f884..a9e6c5f4a0b 100644
--- a/dev-util/uftrace/Manifest
+++ b/dev-util/uftrace/Manifest
@@ -1 +1,2 @@
+DIST uftrace-0.10.tar.gz 1111530 BLAKE2B 29388523e1009276ba4609d85e5979e823d028ff647239aa02ec2cac5ae21c7812c7699d47c09c0b9289a0debb39a2f502615547c8e658a821d5078e3b12c6fe SHA512 788234e4156974a70f06d02527e56e5fac821e8b66363dc5fc55d68797c374043c0b66b18b4ab1488b9647e08969e8dc94a64d6bb1a38ccad4cf98eaecc6e919
 DIST uftrace-0.9.4.tar.gz 1068091 BLAKE2B cbf9ead0e2c0e8d59be379e65617cfa310fd4134cfbbc8091c489913f108e8a7a0b81e33d46032f3717a5bb8127cbeeeb246e3be0c37da03981dac4bacc07119 SHA512 f73ad4461051b9c61668161e077897d118ac556d234ff204e32bf14ecdc2c0df148da30ea5d5054641e79ea20b29261d6f637908f5047f5669207ef244865358

diff --git a/dev-util/uftrace/uftrace-0.10.ebuild b/dev-util/uftrace/uftrace-0.10.ebuild
new file mode 100644
index 00000000000..48c35a456db
--- /dev/null
+++ b/dev-util/uftrace/uftrace-0.10.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( luajit )
+
+inherit bash-completion-r1 lua-single
+
+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="bash-completion capstone lua"
+
+REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
+
+RESTRICT="test"
+
+RDEPEND="
+	sys-libs/ncurses:=
+	virtual/libelf:=
+	capstone? ( dev-libs/capstone:0= )
+	lua? ( ${LUA_DEPS} )
+"
+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)
+		--without-libpython
+	)
+	if use lua && use lua_single_target_luajit; then
+		myconf+=(
+			--with-libluajit
+		)
+	else
+		myconf+=(
+			--without-libluajit
+		)
+	fi
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	emake V=1
+}
+
+src_install() {
+	default
+	dodoc doc/*.{md,gif,png}
+	use bash-completion && newbashcomp misc/bash-completion.sh uftrace
+}


             reply	other threads:[~2021-05-31 15:24 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-31 15:24 Guilherme Amadio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-02 10:21 [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/ Guilherme Amadio
2024-07-03  9:46 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-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=1622474657.dff842ad75fcc6f0f2232c31927559383b969ad2.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