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 36C1E1382C5 for ; Sat, 28 Apr 2018 10:03:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44B7EE09F1; Sat, 28 Apr 2018 10:03:29 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 20493E09F1 for ; Sat, 28 Apr 2018 10:03:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 B14C9335C78 for ; Sat, 28 Apr 2018 10:03:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD5FF272 for ; Sat, 28 Apr 2018 10:03:25 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1524909794.7386700e147b1a3243661701813726832438f040.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/radare2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/radare2/radare2-9999.ebuild X-VCS-Directories: dev-util/radare2/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 7386700e147b1a3243661701813726832438f040 X-VCS-Branch: master Date: Sat, 28 Apr 2018 10:03:25 +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-Archives-Salt: 333f704c-1116-4473-b3ff-917b32f4fd3c X-Archives-Hash: 8b925fcdd0cf4eb1a02db084861a0d53 commit: 7386700e147b1a3243661701813726832438f040 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Apr 28 10:03:14 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Apr 28 10:03:14 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7386700e dev-util/radare2: synch completion handling to live ebuild Package-Manager: Portage-2.3.31, Repoman-2.3.9 dev-util/radare2/radare2-9999.ebuild | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/dev-util/radare2/radare2-9999.ebuild b/dev-util/radare2/radare2-9999.ebuild index e7a0aae0342..89e71ebcc42 100644 --- a/dev-util/radare2/radare2-9999.ebuild +++ b/dev-util/radare2/radare2-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils +inherit eutils bash-completion-r1 DESCRIPTION="unix-like reverse engineering framework and commandline tools" HOMEPAGE="http://www.radare.org" @@ -19,7 +19,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="ssl libressl +system-capstone zsh-completion" +IUSE="ssl libressl +system-capstone" RDEPEND=" ssl? ( @@ -41,10 +41,11 @@ src_configure() { src_install() { default - if use zsh-completion; then - insinto /usr/share/zsh/site-functions - doins doc/zsh/_* - fi + insinto /usr/share/zsh/site-functions + doins doc/zsh/_* + + newbashcomp doc/bash_autocompletion.sh "${PN}" + bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2 # a workaround for unstable $(INSTALL) call, bug #574866 local d