From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QeVBo-0000QM-5n for garchives@archives.gentoo.org; Wed, 06 Jul 2011 16:43:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F18D821C0D7; Wed, 6 Jul 2011 16:42:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B406B21C0D7 for ; Wed, 6 Jul 2011 16:42:56 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E896D2AC00D for ; Wed, 6 Jul 2011 16:42:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 3D1A68003D for ; Wed, 6 Jul 2011 16:42:55 +0000 (UTC) From: "Wiktor W Brodlo" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Wiktor W Brodlo" Message-ID: <5f633eaeae25bdfb48602645983762b82765ac30.wiktor@gentoo> Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/ X-VCS-Repository: proj/anaconda X-VCS-Files: gentoo/utils.py X-VCS-Directories: gentoo/ X-VCS-Committer: wiktor X-VCS-Committer-Name: Wiktor W Brodlo X-VCS-Revision: 5f633eaeae25bdfb48602645983762b82765ac30 Date: Wed, 6 Jul 2011 16:42:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d3ac1ef7a888e720ff14d35c85f226ae commit: 5f633eaeae25bdfb48602645983762b82765ac30 Author: wiktor w brodlo brodlo net> AuthorDate: Wed Jul 6 16:42:28 2011 +0000 Commit: Wiktor W Brodlo brodlo net> CommitDate: Wed Jul 6 16:42:28 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/anaconda.git;= a=3Dcommit;h=3D5f633eae gentoo/utils.py: language_packs_install: dummy --- gentoo/utils.py | 68 +------------------------------------------------= ----- 1 files changed, 2 insertions(+), 66 deletions(-) diff --git a/gentoo/utils.py b/gentoo/utils.py index 9b0507c..e689f68 100644 --- a/gentoo/utils.py +++ b/gentoo/utils.py @@ -949,73 +949,9 @@ class GentooInstall: self._progress.set_fraction(1) self._progress.set_text(_("Installation complete")) =20 - #def language_packs_install(self): - # langpacks =3D self._get_installable_language_packs() - # if not langpacks: - # # all fine already - # return - - # question_text =3D _("The following language packs are available= for " - # "download (you need Internet), would you like to install th= em?") + \ - # " [" + ', '.join(sorted(langpacks)) + "]" - # buttons =3D [_("Yes"), _("No")] - # answer =3D self._intf.messageWindow(_("Language packs download"= ), - # question_text, custom_icon=3D"question", type=3D"custom", - # custom_buttons =3D buttons) - # if answer =3D=3D 1: # No - # return - - # chroot =3D self._root - # root =3D etpSys['rootdir'] - # if chroot !=3D root: - # self._change_entropy_chroot(chroot) - - # try: + def language_packs_install(self): + return =20 - # # update repos - # done =3D self.update_entropy_repositories() - # if not done: - # return - - # lang_matches =3D [self._entropy.atom_match(x) for x in lang= packs] - # lang_matches =3D [x for x in lang_matches if x[0] !=3D -1] - # if not lang_matches: - # msg =3D _("No language packs are available for download= , sorry!") - # self._intf.messageWindow(_("Language packs"), msg, - # custom_icon=3D"warning") - # return - - # calculate deps, use relaxed algo - # install_queue, conflicts_queue, status =3D \ - # self._entropy.get_install_queue(lang_matches, False, Fa= lse, - # relaxed =3D True) - # if status !=3D 0: - # msg =3D _("No language packs are available for install,= sorry!") - # self._intf.messageWindow(_("Language packs"), msg, - # custom_icon=3D"warning") - # return - - # # fetch packages - # for match in install_queue: - # dbc =3D self._entropy.open_repository(match[1]) - # langpack =3D dbc.retrieveAtom(match[0]) - # self._progress.set_text("%s: %s" % ( - # _("Downloading package"), langpack,)) - # self.install_package(None, match =3D match, silent =3D = True, - # fetch =3D True) - - # # install packages - # for match in install_queue: - # dbc =3D self._entropy.open_repository(match[1]) - # langpack =3D dbc.retrieveAtom(match[0]) - # self._progress.set_text("%s: %s" % ( - # _("Installing package"), langpack,)) - # self.install_package(None, match =3D match, silent =3D = True) - - # finally: - # if chroot !=3D root: - # self._change_entropy_chroot(root) - # TODO: Obviously make it do the thing def setup_portage_mirrors(self): self._progress.set_label("%s: %s" % (