From da0831b24be79e008939f8507f9d457367e533ee Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 10 Dec 2011 22:41:01 -0800 Subject: Add _ENABLE_XATTR constant for the stable branch. --- pym/portage/const.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pym/portage/const.py') diff --git a/pym/portage/const.py b/pym/portage/const.py index 5c738e431..37abb1650 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -164,6 +164,7 @@ _ENABLE_DYN_LINK_MAP = True _ENABLE_PRESERVE_LIBS = True _ENABLE_REPO_NAME_WARN = True _ENABLE_SET_CONFIG = True +_ENABLE_XATTR = True _SANDBOX_COMPAT_LEVEL = "22" @@ -177,3 +178,8 @@ if not _ENABLE_PRESERVE_LIBS: if not _ENABLE_SET_CONFIG: WORLD_SETS_FILE = '/dev/null' + +if not _ENABLE_XATTR: + SUPPORTED_FEATURES = set(SUPPORTED_FEATURES) + SUPPORTED_FEATURES.remove("xattr") + SUPPORTED_FEATURES = frozenset(SUPPORTED_FEATURES) -- cgit v1.2.3-1-g7c22