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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E026A1382C5 for ; Sat, 20 Jun 2020 17:29:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52A47E08E2; Sat, 20 Jun 2020 17:29:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CCA02E08E2 for ; Sat, 20 Jun 2020 17:29:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7C5334F3FE for ; Sat, 20 Jun 2020 17:29:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 439642A1 for ; Sat, 20 Jun 2020 17:29:15 +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: <1592674139.f0034e50a8356e79a06eacf871e952e818a8634f.amadio@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/uftrace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/uftrace/uftrace-0.9.3.ebuild X-VCS-Directories: dev-util/uftrace/ X-VCS-Committer: amadio X-VCS-Committer-Name: Guilherme Amadio X-VCS-Revision: f0034e50a8356e79a06eacf871e952e818a8634f X-VCS-Branch: master Date: Sat, 20 Jun 2020 17:29:15 +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: 6056ca0e-936d-40da-94bd-2f45c4e09d0b X-Archives-Hash: 54895bc6a37e5bbfede127c02bb8eef6 commit: f0034e50a8356e79a06eacf871e952e818a8634f Author: Guilherme Amadio gentoo org> AuthorDate: Sat Jun 20 17:09:01 2020 +0000 Commit: Guilherme Amadio gentoo 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 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 }