From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-851141-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 8D8E31384B4
	for <garchives@archives.gentoo.org>; Fri, 11 Dec 2015 21:12:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0C73521C085;
	Fri, 11 Dec 2015 21:09:55 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 393AF21C085
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Dec 2015 21:09:54 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 14945340928
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Dec 2015 21:09:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BE4D2CB1
	for <gentoo-commits@lists.gentoo.org>; Fri, 11 Dec 2015 21:09:50 +0000 (UTC)
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" <monsieurp@gentoo.org>
Message-ID: <1449262821.0228f34fa3df87fa286d64d44bff60787c1cd750.monsieurp@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/autojump/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-shells/autojump/autojump-22.2.4-r4.ebuild
X-VCS-Directories: app-shells/autojump/
X-VCS-Committer: monsieurp
X-VCS-Committer-Name: Patrice Clement
X-VCS-Revision: 0228f34fa3df87fa286d64d44bff60787c1cd750
X-VCS-Branch: master
Date: Fri, 11 Dec 2015 21:09:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 45f63d15-ef83-4953-9334-c65f3fc711af
X-Archives-Hash: d66baf21826849878c3909685bd54582

commit:     0228f34fa3df87fa286d64d44bff60787c1cd750
Author:     Marc Joliet <marcec <AT> gmx <DOT> de>
AuthorDate: Mon Nov 30 11:47:06 2015 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Dec  4 21:00:21 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0228f34f

app-shells/autojump-22.2.4-r4: convert einfo to elog

Convert the einfo message in src_install() to an elog message in
pkg_postinst(), which is a more fitting place for such a message.

Signed-off-by: Marc Joliet <marcec <AT> gmx.de>

 app-shells/autojump/autojump-22.2.4-r4.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/app-shells/autojump/autojump-22.2.4-r4.ebuild b/app-shells/autojump/autojump-22.2.4-r4.ebuild
index af56c09..6c967ce 100644
--- a/app-shells/autojump/autojump-22.2.4-r4.ebuild
+++ b/app-shells/autojump/autojump-22.2.4-r4.ebuild
@@ -58,8 +58,6 @@ src_install() {
 	python_foreach_impl python_domodule bin/autojump_data.py bin/autojump_utils.py
 	if use python; then
 		python_foreach_impl python_domodule tools/autojump_ipython.py
-		einfo 'This tool provides "j" for ipython, please add'
-		einfo '"import autojump_ipython" to your ipy_user_conf.py.'
 	fi
 
 	doman docs/"${PN}.1"
@@ -67,6 +65,12 @@ src_install() {
 }
 
 pkg_postinst() {
+	if use python; then
+		elog 'This tool provides "j" for ipython, please add'
+		elog '"import autojump_ipython" to your ipy_user_conf.py.'
+		elog
+	fi
+
 	elog 'If you use app-shells/fish, add the following code to your'
 	elog 'config.fish to get autojump support:'
 	elog 'if test -f /usr/share/autojump/autojump.fish'