Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: pym/portage/const.py

Issue 6677171: Add force-mirror FEATURE. (Closed) Base URL: http://git.chromium.org/git/portage_tool.git@cros-2.1.9
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « man/make.conf.5 ('k') | pym/portage/package/ebuild/fetch.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # portage: Constants 1 # portage: Constants
2 # Copyright 1998-2010 Gentoo Foundation 2 # Copyright 1998-2010 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2 3 # Distributed under the terms of the GNU General Public License v2
4 4
5 import os 5 import os
6 6
7 # =========================================================================== 7 # ===========================================================================
8 # START OF CONSTANTS -- START OF CONSTANTS -- START OF CONSTANTS -- START OF 8 # START OF CONSTANTS -- START OF CONSTANTS -- START OF CONSTANTS -- START OF
9 # =========================================================================== 9 # ===========================================================================
10 10
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "CONFIG_PROTECT_MASK", "CONFIG_PROTECT", 81 "CONFIG_PROTECT_MASK", "CONFIG_PROTECT",
82 "PRELINK_PATH", "PRELINK_PATH_MASK", 82 "PRELINK_PATH", "PRELINK_PATH_MASK",
83 "PROFILE_ONLY_VARIABLES") 83 "PROFILE_ONLY_VARIABLES")
84 EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure" , 84 EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure" ,
85 "compile", "test", "install", 85 "compile", "test", "install",
86 "package", "preinst", "postinst","prerm", "postrm", 86 "package", "preinst", "postinst","prerm", "postrm",
87 "nofetch", "config", "info", "other") 87 "nofetch", "config", "info", "other")
88 SUPPORTED_FEATURES = frozenset([ 88 SUPPORTED_FEATURES = frozenset([
89 "assume-digests", "binpkg-logs", "buildpkg", "buildsy spkg", "candy", 89 "assume-digests", "binpkg-logs", "buildpkg", "buildsy spkg", "candy",
90 "ccache", "chflags", "collision-protect", "compress-b uild-logs", 90 "ccache", "chflags", "collision-protect", "compress-b uild-logs",
91 "digest", "distcc", "distlocks", 91 "digest", "distcc", "distlocks", "fakeroot",
92 "fakeroot", "fail-clean", "fixpackages", "getbinpkg", 92 "fail-clean", "fixpackages", "force-mirror", "getbinp kg",
93 "installsources", "keeptemp", "keepwork", "fixlafiles ", "lmirror", 93 "installsources", "keeptemp", "keepwork", "fixlafiles ", "lmirror",
94 "metadata-transfer", "mirror", "multilib-strict", "ne ws", 94 "metadata-transfer", "mirror", "multilib-strict", "ne ws",
95 "noauto", "noclean", "nodoc", "noinfo", "noman", "nos trip", 95 "noauto", "noclean", "nodoc", "noinfo", "noman", "nos trip",
96 "notitles", "no-env-update", "parallel-fetch", "parse -eapi-ebuild-head", 96 "notitles", "no-env-update", "parallel-fetch", "parse -eapi-ebuild-head",
97 "prelink-checksums", "preserve-libs", 97 "prelink-checksums", "preserve-libs",
98 "protect-owned", "python-trace", "sandbox", 98 "protect-owned", "python-trace", "sandbox",
99 "selinux", "sesandbox", "severe", "sfperms", 99 "selinux", "sesandbox", "severe", "sfperms",
100 "sign", "skiprocheck", "split-elog", "split-log", "sp litdebug", 100 "sign", "skiprocheck", "split-elog", "split-log", "sp litdebug",
101 "strict", "stricter", "suidctl", "test", "test-fail-c ontinue", 101 "strict", "stricter", "suidctl", "test", "test-fail-c ontinue",
102 "unknown-features-filter", "unknown-features-warn", 102 "unknown-features-filter", "unknown-features-warn",
(...skipping 26 matching lines...) Expand all
129 # The definitions above will differ between branches, so it's useful to have 129 # The definitions above will differ between branches, so it's useful to have
130 # common lines of diff context here in order to avoid merge conflicts. 130 # common lines of diff context here in order to avoid merge conflicts.
131 131
132 if not _ENABLE_PRESERVE_LIBS: 132 if not _ENABLE_PRESERVE_LIBS:
133 SUPPORTED_FEATURES = set(SUPPORTED_FEATURES) 133 SUPPORTED_FEATURES = set(SUPPORTED_FEATURES)
134 SUPPORTED_FEATURES.remove("preserve-libs") 134 SUPPORTED_FEATURES.remove("preserve-libs")
135 SUPPORTED_FEATURES = frozenset(SUPPORTED_FEATURES) 135 SUPPORTED_FEATURES = frozenset(SUPPORTED_FEATURES)
136 136
137 if not _ENABLE_SET_CONFIG: 137 if not _ENABLE_SET_CONFIG:
138 WORLD_SETS_FILE = '/dev/null' 138 WORLD_SETS_FILE = '/dev/null'
OLDNEW
« no previous file with comments | « man/make.conf.5 ('k') | pym/portage/package/ebuild/fetch.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698