* [gentoo-commits] portage r15282 - main/trunk/pym/portage
@ 2010-01-30 12:50 Zac Medico (zmedico)
0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2010-01-30 12:50 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-01-30 12:50:34 +0000 (Sat, 30 Jan 2010)
New Revision: 15282
Modified:
main/trunk/pym/portage/const.py
Log:
Use tuples instead of lists for immutability.
Modified: main/trunk/pym/portage/const.py
===================================================================
--- main/trunk/pym/portage/const.py 2010-01-30 12:46:30 UTC (rev 15281)
+++ main/trunk/pym/portage/const.py 2010-01-30 12:50:34 UTC (rev 15282)
@@ -72,26 +72,26 @@
PORTAGE_PACKAGE_ATOM = "sys-apps/portage"
-INCREMENTALS = ["USE", "USE_EXPAND", "USE_EXPAND_HIDDEN",
+INCREMENTALS = ("USE", "USE_EXPAND", "USE_EXPAND_HIDDEN",
"FEATURES", "ACCEPT_KEYWORDS",
"CONFIG_PROTECT_MASK", "CONFIG_PROTECT",
"PRELINK_PATH", "PRELINK_PATH_MASK",
- "PROFILE_ONLY_VARIABLES"]
-EBUILD_PHASES = ["setup", "unpack", "prepare", "configure",
+ "PROFILE_ONLY_VARIABLES")
+EBUILD_PHASES = ("setup", "unpack", "prepare", "configure",
"compile", "test", "install",
"package", "preinst", "postinst","prerm", "postrm",
- "nofetch", "config", "info", "other"]
+ "nofetch", "config", "info", "other")
EAPI = 3
HASHING_BLOCKSIZE = 32768
-MANIFEST1_HASH_FUNCTIONS = ["MD5", "SHA256", "RMD160"]
-MANIFEST2_HASH_FUNCTIONS = ["SHA1", "SHA256", "RMD160"]
+MANIFEST1_HASH_FUNCTIONS = ("MD5", "SHA256", "RMD160")
+MANIFEST2_HASH_FUNCTIONS = ("SHA1", "SHA256", "RMD160")
MANIFEST1_REQUIRED_HASH = "MD5"
MANIFEST2_REQUIRED_HASH = "SHA1"
-MANIFEST2_IDENTIFIERS = ["AUX", "MISC", "DIST", "EBUILD"]
+MANIFEST2_IDENTIFIERS = ("AUX", "MISC", "DIST", "EBUILD")
# ===========================================================================
# END OF CONSTANTS -- END OF CONSTANTS -- END OF CONSTANTS -- END OF CONSTANT
# ===========================================================================
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-30 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-30 12:50 [gentoo-commits] portage r15282 - main/trunk/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox