PORTAGE_BINHOST didn't end with a /. This is actually caused by urljoin
not operating like os.path.join would do.
svn path=/main/branches/prefix/; revision=8081
not self._remotepkgs:
base_url = self.settings["PORTAGE_BINHOST"]
+ # ensure the URL ends with a /, otherwise urljoin strips off
+ # the last directory, before it adds "Packages"
+ base_url = base_url.rstrip("/") + "/"
from portage.const import CACHE_PATH
from urlparse import urlparse
urldata = urlparse(base_url)