aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2012-01-08 07:19:06 +0100
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2012-01-08 07:19:06 +0100
commit0d9ea2752aa7819e5b26b47920c09218d9f5b7c2 (patch)
tree1dcaf45fb92c6b0057495a431eaab303c55a49d5 /pym/portage/eapi.py
parentFix location of a comment. (diff)
downloadportage-0d9ea2752aa7819e5b26b47920c09218d9f5b7c2.tar.gz
portage-0d9ea2752aa7819e5b26b47920c09218d9f5b7c2.tar.bz2
portage-0d9ea2752aa7819e5b26b47920c09218d9f5b7c2.zip
Set REPOSITORY variable in ebuild environment in EAPI="4-python".
Diffstat (limited to 'pym/portage/eapi.py')
-rw-r--r--pym/portage/eapi.py5
1 files changed, 4 insertions, 1 deletions
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")