From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/
Date: Sat, 20 Jun 2020 17:29:15 +0000 (UTC) [thread overview]
Message-ID: <1592674139.f0034e50a8356e79a06eacf871e952e818a8634f.amadio@gentoo> (raw)
commit: f0034e50a8356e79a06eacf871e952e818a8634f
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 20 17:09:01 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sat Jun 20 17:28:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0034e50
dev-util/uftrace: remove support for python2.7
Also, fix support for bash-completion and add USE=luajit.
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
dev-util/uftrace/uftrace-0.9.3.ebuild | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/dev-util/uftrace/uftrace-0.9.3.ebuild b/dev-util/uftrace/uftrace-0.9.3.ebuild
index d48d238c801..51506dbff69 100644
--- a/dev-util/uftrace/uftrace-0.9.3.ebuild
+++ b/dev-util/uftrace/uftrace-0.9.3.ebuild
@@ -1,11 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
+inherit bash-completion-r1
DESCRIPTION="Function (graph) tracer for user-space"
HOMEPAGE="https://github.com/namhyung/uftrace"
@@ -14,25 +12,32 @@ SRC_URI="https://github.com/namhyung/uftrace/archive/v${PV}.tar.gz -> ${P}.tar.g
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="capstone"
-REQUIRED_USE=${PYTHON_REQUIRED_USE}
+IUSE="bash-completion capstone luajit"
RESTRICT="test"
RDEPEND="
- ${PYTHON_DEPS}
- sys-devel/gcc:*[cxx]
sys-libs/ncurses:=
virtual/libelf:=
capstone? ( dev-libs/capstone:0= )
+ luajit? ( dev-lang/luajit )
"
DEPEND="${RDEPEND}"
src_prepare() {
default
- sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" Makefile || die
+ sed -i -e "s/ARCH/MYARCH/g" -e "/ldconfig/d" -e "/bash.completion/d" Makefile || die
}
src_configure() {
- econf $(use_with capstone)
+ econf \
+ $(use_with capstone) \
+ $(use_with luajit libluajit) \
+ --without-libpython
+}
+
+src_install() {
+ default
+ dodoc doc/*.{md,gif,png}
+ use bash-completion && newbashcomp misc/bash-completion.sh uftrace
}
next reply other threads:[~2020-06-20 17:29 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-20 17:29 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-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
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=1592674139.f0034e50a8356e79a06eacf871e952e818a8634f.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