From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9E4801388C0 for ; Thu, 25 Feb 2016 20:29:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13A3121C016; Thu, 25 Feb 2016 20:29:22 +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 11BBB21C016 for ; Thu, 25 Feb 2016 20:29:21 +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 D187A340D58 for ; Thu, 25 Feb 2016 20:29:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61C321B8A for ; Thu, 25 Feb 2016 20:29:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1456432146.573e40d18478d4f4189a89b9e700239cb4e5be8b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/python-exec/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/python-exec/python-exec-2.4.2.ebuild dev-lang/python-exec/python-exec-9999.ebuild X-VCS-Directories: dev-lang/python-exec/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 573e40d18478d4f4189a89b9e700239cb4e5be8b X-VCS-Branch: master Date: Thu, 25 Feb 2016 20:29:18 +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: 93cd73c2-9b87-4d41-9465-6d99a1f25591 X-Archives-Hash: b86adc3d6c88a220236d74cc24f98f0d commit: 573e40d18478d4f4189a89b9e700239cb4e5be8b Author: Michał Górny gentoo org> AuthorDate: Thu Feb 25 20:08:30 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 25 20:29:06 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573e40d1 dev-lang/python-exec: Explain configuration upgrade in postinst dev-lang/python-exec/python-exec-2.4.2.ebuild | 23 ++++++++++++++++++++++- dev-lang/python-exec/python-exec-9999.ebuild | 23 ++++++++++++++++++++++- 2 files changed, 44 insertions(+), 2 deletions(-) diff --git a/dev-lang/python-exec/python-exec-2.4.2.ebuild b/dev-lang/python-exec/python-exec-2.4.2.ebuild index 121f31e..93ca528 100644 --- a/dev-lang/python-exec/python-exec-2.4.2.ebuild +++ b/dev-lang/python-exec/python-exec-2.4.2.ebuild @@ -103,7 +103,28 @@ pkg_preinst() { done if [[ ${old_pythons[@]} ]]; then - einfo "Keeping the following Python preference: ${old_pythons[*]}" + elog "You seem to have just upgraded into the new version of python-exec" + elog "that uses python-exec.conf for configuration. The ebuild has attempted" + elog "to convert your previous configuration to the new format, resulting" + elog "in the following preferences (most preferred version first):" + elog + for py in "${old_pythons[@]}"; do + elog " ${py}" + done + elog + elog "Those interpreters will be preferred when running Python scripts or" + elog "calling wrapped Python executables (python, python2, pydoc...)." + elog "If none of the preferred interpreters are supported, python-exec will" + elog "fall back to the newest supported Python version." + elog + elog "Please note that due to the ambiguous character of the old settings," + elog "you may want to modify the preference list yourself. In order to do so," + elog "open the following file in your favorite editor:" + elog + elog " ${EROOT}etc/python-exec/python-exec.conf" + elog + elog "For more information on the new configuration format, please read" + elog "the comment on top of the installed configuration file." local IFS=$'\n' echo "${old_pythons[*]}" \ diff --git a/dev-lang/python-exec/python-exec-9999.ebuild b/dev-lang/python-exec/python-exec-9999.ebuild index b835c89..5744125 100644 --- a/dev-lang/python-exec/python-exec-9999.ebuild +++ b/dev-lang/python-exec/python-exec-9999.ebuild @@ -118,7 +118,28 @@ pkg_preinst() { done if [[ ${old_pythons[@]} ]]; then - einfo "Keeping the following Python preference: ${old_pythons[*]}" + elog "You seem to have just upgraded into the new version of python-exec" + elog "that uses python-exec.conf for configuration. The ebuild has attempted" + elog "to convert your previous configuration to the new format, resulting" + elog "in the following preferences (most preferred version first):" + elog + for py in "${old_pythons[@]}"; do + elog " ${py}" + done + elog + elog "Those interpreters will be preferred when running Python scripts or" + elog "calling wrapped Python executables (python, python2, pydoc...)." + elog "If none of the preferred interpreters are supported, python-exec will" + elog "fall back to the newest supported Python version." + elog + elog "Please note that due to the ambiguous character of the old settings," + elog "you may want to modify the preference list yourself. In order to do so," + elog "open the following file in your favorite editor:" + elog + elog " ${EROOT}etc/python-exec/python-exec.conf" + elog + elog "For more information on the new configuration format, please read" + elog "the comment on top of the installed configuration file." local IFS=$'\n' echo "${old_pythons[*]}" \