Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 585012
Collapse All | Expand All

(-)a/pym/portage/const.py (+1 lines)
Lines 148-153 SUPPORTED_FEATURES = frozenset([ Link Here
148
	"force-mirror",
148
	"force-mirror",
149
	"force-prefix",
149
	"force-prefix",
150
	"getbinpkg",
150
	"getbinpkg",
151
	"gentoo-mirrors-shuffle",
151
	"icecream",
152
	"icecream",
152
	"installsources",
153
	"installsources",
153
	"ipc-sandbox",
154
	"ipc-sandbox",
(-)a/pym/portage/package/ebuild/fetch.py (-2 / +7 lines)
Lines 364-370 def fetch(myuris, mysettings, listonly=0, fetchonly=0, Link Here
364
		pass
364
		pass
365
	else:
365
	else:
366
		if try_mirrors:
366
		if try_mirrors:
367
			mymirrors += [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x]
367
			if 'gentoo-mirrors-shuffle' in mysettings["FEATURES"]:
368
				shuffled_mirrors = [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x]
369
				random.shuffle(shuffled_mirrors)
370
				mymirrors += shuffled_mirrors
371
				del shuffled_mirrors
372
			else:
373
				mymirrors += [x.rstrip("/") for x in mysettings["GENTOO_MIRRORS"].split() if x]
368
374
369
	hash_filter = _hash_filter(mysettings.get("PORTAGE_CHECKSUM_FILTER", ""))
375
	hash_filter = _hash_filter(mysettings.get("PORTAGE_CHECKSUM_FILTER", ""))
370
	if hash_filter.transparent:
376
	if hash_filter.transparent:
371
- 

Return to bug 585012