Gentoo Archives: gentoo-commits

From: Wiktor W Brodlo <wiktor@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/anaconda:master commit in: gentoo/
Date: Wed, 06 Jul 2011 16:43:04
Message-Id: 5f633eaeae25bdfb48602645983762b82765ac30.wiktor@gentoo
1 commit: 5f633eaeae25bdfb48602645983762b82765ac30
2 Author: wiktor w brodlo <wiktor <AT> brodlo <DOT> net>
3 AuthorDate: Wed Jul 6 16:42:28 2011 +0000
4 Commit: Wiktor W Brodlo <wiktor <AT> brodlo <DOT> net>
5 CommitDate: Wed Jul 6 16:42:28 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/anaconda.git;a=commit;h=5f633eae
7
8 gentoo/utils.py: language_packs_install: dummy
9
10 ---
11 gentoo/utils.py | 68 +-----------------------------------------------------
12 1 files changed, 2 insertions(+), 66 deletions(-)
13
14 diff --git a/gentoo/utils.py b/gentoo/utils.py
15 index 9b0507c..e689f68 100644
16 --- a/gentoo/utils.py
17 +++ b/gentoo/utils.py
18 @@ -949,73 +949,9 @@ class GentooInstall:
19 self._progress.set_fraction(1)
20 self._progress.set_text(_("Installation complete"))
21
22 - #def language_packs_install(self):
23 - # langpacks = self._get_installable_language_packs()
24 - # if not langpacks:
25 - # # all fine already
26 - # return
27 -
28 - # question_text = _("The following language packs are available for "
29 - # "download (you need Internet), would you like to install them?") + \
30 - # " [" + ', '.join(sorted(langpacks)) + "]"
31 - # buttons = [_("Yes"), _("No")]
32 - # answer = self._intf.messageWindow(_("Language packs download"),
33 - # question_text, custom_icon="question", type="custom",
34 - # custom_buttons = buttons)
35 - # if answer == 1: # No
36 - # return
37 -
38 - # chroot = self._root
39 - # root = etpSys['rootdir']
40 - # if chroot != root:
41 - # self._change_entropy_chroot(chroot)
42 -
43 - # try:
44 + def language_packs_install(self):
45 + return
46
47 - # # update repos
48 - # done = self.update_entropy_repositories()
49 - # if not done:
50 - # return
51 -
52 - # lang_matches = [self._entropy.atom_match(x) for x in langpacks]
53 - # lang_matches = [x for x in lang_matches if x[0] != -1]
54 - # if not lang_matches:
55 - # msg = _("No language packs are available for download, sorry!")
56 - # self._intf.messageWindow(_("Language packs"), msg,
57 - # custom_icon="warning")
58 - # return
59 -
60 - # calculate deps, use relaxed algo
61 - # install_queue, conflicts_queue, status = \
62 - # self._entropy.get_install_queue(lang_matches, False, False,
63 - # relaxed = True)
64 - # if status != 0:
65 - # msg = _("No language packs are available for install, sorry!")
66 - # self._intf.messageWindow(_("Language packs"), msg,
67 - # custom_icon="warning")
68 - # return
69 -
70 - # # fetch packages
71 - # for match in install_queue:
72 - # dbc = self._entropy.open_repository(match[1])
73 - # langpack = dbc.retrieveAtom(match[0])
74 - # self._progress.set_text("%s: %s" % (
75 - # _("Downloading package"), langpack,))
76 - # self.install_package(None, match = match, silent = True,
77 - # fetch = True)
78 -
79 - # # install packages
80 - # for match in install_queue:
81 - # dbc = self._entropy.open_repository(match[1])
82 - # langpack = dbc.retrieveAtom(match[0])
83 - # self._progress.set_text("%s: %s" % (
84 - # _("Installing package"), langpack,))
85 - # self.install_package(None, match = match, silent = True)
86 -
87 - # finally:
88 - # if chroot != root:
89 - # self._change_entropy_chroot(root)
90 -
91 # TODO: Obviously make it do the thing
92 def setup_portage_mirrors(self):
93 self._progress.set_label("%s: %s" % (