From 0d9ea2752aa7819e5b26b47920c09218d9f5b7c2 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 8 Jan 2012 07:19:06 +0100 Subject: Set REPOSITORY variable in ebuild environment in EAPI="4-python". --- pym/portage/eapi.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'pym/portage/eapi.py') diff --git a/pym/portage/eapi.py b/pym/portage/eapi.py index da5fd8c27..65c99c7e5 100644 --- a/pym/portage/eapi.py +++ b/pym/portage/eapi.py @@ -1,4 +1,4 @@ -# Copyright 2010 Gentoo Foundation +# Copyright 2010-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 def eapi_has_iuse_defaults(eapi): @@ -34,6 +34,9 @@ def eapi_exports_merge_type(eapi): def eapi_exports_replace_vars(eapi): return eapi not in ("0", "1", "2", "3") +def eapi_exports_REPOSITORY(eapi): + return eapi in ("4-python",) + def eapi_has_pkg_pretend(eapi): return eapi not in ("0", "1", "2", "3") -- cgit v1.2.3-1-g7c22