public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 10/13] python-r1.eclass: Unset local functions after use
Date: Sun,  6 Dec 2015 20:03:29 +0100	[thread overview]
Message-ID: <1449428612-20538-11-git-send-email-mgorny@gentoo.org> (raw)
In-Reply-To: <1449428612-20538-1-git-send-email-mgorny@gentoo.org>

---
 eclass/python-r1.eclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/eclass/python-r1.eclass b/eclass/python-r1.eclass
index 6e7b6e1..22030b9 100644
--- a/eclass/python-r1.eclass
+++ b/eclass/python-r1.eclass
@@ -582,6 +582,7 @@ python_setup() {
 		done
 	}
 	python_foreach_impl _python_try_impl
+	unset -f _python_try_impl
 
 	if [[ ! ${best_impl} ]]; then
 		eerror "${FUNCNAME}: none of the enabled implementation matched the patterns."
@@ -619,6 +620,7 @@ python_export_best() {
 		best=${MULTIBUILD_VARIANT}
 	}
 	multibuild_for_best_variant _python_set_best
+	unset -f _python_set_best
 
 	debug-print "${FUNCNAME}: Best implementation is: ${best}"
 	python_export "${best}" "${@}"
@@ -653,6 +655,7 @@ python_replicate_script() {
 
 	local files=( "${@}" )
 	python_foreach_impl _python_replicate_script
+	unset -f _python_replicate_script
 
 	# install the wrappers
 	local f
-- 
2.6.3



  parent reply	other threads:[~2015-12-06 19:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-06 19:03 [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 01/13] python-utils-r1.eclass: Mark _PYTHON_ALL_IMPLS read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 02/13] python-utils-r1.eclass: Reorder implementations to semi-ascending order Michał Górny
2015-12-08  8:19   ` Patrice Clement
2015-12-09 19:24     ` Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 03/13] python-any-r1.eclass: Rename global-setting func to match eclass name Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 04/13] python-any-r1.eclass: Unset global-setting function after use Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 05/13] python-any-r1.eclass: Mark eclass-generated variables read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 06/13] python-single-r1.eclass: Unset global-setting function after use Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 07/13] python-single-r1.eclass: python_gen_cond_dep(), rename local PYTHON_USEDEP Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 08/13] python-single-r1.eclass: Mark eclass-generated variables read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 09/13] python-r1.eclass: Unset global-setting function after use Michał Górny
2015-12-06 19:03 ` Michał Górny [this message]
2015-12-06 19:03 ` [gentoo-dev] [PATCH 11/13] python-r1.eclass: python_gen_cond_dep(), rename local PYTHON_USEDEP Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 12/13] python-r1.eclass: Mark eclass-generated variables read-only Michał Górny
2015-12-06 19:03 ` [gentoo-dev] [PATCH 13/13] distutils-r1.eclass: Unset local functions after use Michał Górny
2015-12-07 20:36 ` [gentoo-dev] [PATCHES] python-r1 suite clean up & impl reorder Mike Gilbert
2015-12-07 21:27   ` Michał Górny
2015-12-09 20:45 ` Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1449428612-20538-11-git-send-email-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox