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 F07551381F3 for ; Thu, 29 Nov 2012 11:30:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6DE0521C017; Thu, 29 Nov 2012 11:30:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DFB6421C017 for ; Thu, 29 Nov 2012 11:30:18 +0000 (UTC) Received: from pomiocik.lan (unknown [81.219.163.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id EDB6733DAD8; Thu, 29 Nov 2012 11:30:16 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-python@lists.gentoo.org Cc: python@gentoo.org, =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-python] [PATCH distutils-r1 1/6] Make distutils-r1_rename_scripts private. Date: Thu, 29 Nov 2012 12:31:29 +0100 Message-Id: <1354188694-7229-2-git-send-email-mgorny@gentoo.org> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1354188694-7229-1-git-send-email-mgorny@gentoo.org> References: <1354188694-7229-1-git-send-email-mgorny@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org X-Archives-Salt: e5d515ff-78f5-4b73-9b1c-d5841d4bd506 X-Archives-Hash: 8f4090dcae28d421a923ce45c6147139 --- gx86/eclass/distutils-r1.eclass | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass index fc9416b..ee7dc83 100644 --- a/gx86/eclass/distutils-r1.eclass +++ b/gx86/eclass/distutils-r1.eclass @@ -243,13 +243,14 @@ distutils-r1_python_test() { : } -# @FUNCTION: distutils-r1_rename_scripts +# @FUNCTION: _distutils-r1_rename_scripts +# @INTERNAL # @DESCRIPTION: # Renames installed Python scripts to be implementation-suffixed. # ${PYTHON} has to be set to the expected Python executable (which # hashbang will be grepped for), and ${EPYTHON} to the implementation # name (for new name). -distutils-r1_rename_scripts() { +_distutils-r1_rename_scripts() { debug-print-function ${FUNCNAME} "${@}" local f @@ -274,7 +275,7 @@ distutils-r1_rename_scripts() { # @USAGE: [additional-args...] # @DESCRIPTION: # The default python_install(). Runs 'esetup.py install', appending -# the optimization flags. Then calls distutils-r1_rename_scripts. +# the optimization flags. Then calls _distutils-r1_rename_scripts. # Any parameters passed to this function will be passed to setup.py. distutils-r1_python_install() { debug-print-function ${FUNCNAME} "${@}" @@ -295,7 +296,7 @@ distutils-r1_python_install() { esetup.py install "${flags[@]}" --root="${D}" "${@}" - distutils-r1_rename_scripts + _distutils-r1_rename_scripts } # @FUNCTION: distutils-r1_python_install_all -- 1.8.0