diff options
Diffstat (limited to '')
-rwxr-xr-x | geneticone.py | 10 | ||||
-rw-r--r-- | geneticone/__init__.py | 4 | ||||
-rw-r--r-- | geneticone/backend/__init__.py | 4 | ||||
-rw-r--r-- | geneticone/backend/exceptions.py | 4 | ||||
-rw-r--r-- | geneticone/backend/flags.py | 28 | ||||
-rw-r--r-- | geneticone/backend/package.py | 16 | ||||
-rw-r--r-- | geneticone/backend/portage_helper.py | 8 | ||||
-rw-r--r-- | geneticone/config_parser.py | 4 | ||||
-rw-r--r-- | geneticone/constants.py | 10 | ||||
-rw-r--r-- | geneticone/gui/__init__.py | 4 | ||||
-rw-r--r-- | geneticone/gui/gtk/__init__.py | 4 | ||||
-rw-r--r-- | geneticone/gui/gtk/dialogs.py | 6 | ||||
-rw-r--r-- | geneticone/gui/gtk/glade/geneticone.glade | 2 | ||||
-rw-r--r-- | geneticone/gui/gtk/windows.py | 24 | ||||
-rw-r--r-- | geneticone/gui/gtk/wrapper.py | 6 | ||||
-rw-r--r-- | geneticone/gui/gui_helper.py | 14 | ||||
-rw-r--r-- | geneticone/gui/wrapper.py | 4 | ||||
-rw-r--r-- | geneticone/helper.py | 4 |
18 files changed, 78 insertions, 78 deletions
diff --git a/geneticone.py b/geneticone.py index 9abefd3..1c60e5f 100755 --- a/geneticone.py +++ b/geneticone.py @@ -2,8 +2,8 @@ # -*- coding: utf-8 -*- # -# File: geneticone.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -12,12 +12,12 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from geneticone.constants import VERSION +from portato.constants import VERSION import sys if __name__ == "__main__": if len(sys.argv) > 1 and sys.argv[1] in ("--help","--version","-h","-v"): - print """Genetic/One %s + print """Portato %s Copyright (C) 2006 René 'Necoro' Neumann This is free software. You may redistribute copies of it under the terms of the GNU General Public License <http://www.gnu.org/licenses/gpl.html>. @@ -25,6 +25,6 @@ There is NO WARRANTY, to the extent permitted by law. Written by René 'Necoro' Neumann <necoro@necoro.net>""" % VERSION else: - from geneticone.gui import MainWindow + from portato.gui import MainWindow m = MainWindow() m.main() diff --git a/geneticone/__init__.py b/geneticone/__init__.py index 5ef82b6..4b1f42f 100644 --- a/geneticone/__init__.py +++ b/geneticone/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/__init__.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/__init__.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of diff --git a/geneticone/backend/__init__.py b/geneticone/backend/__init__.py index 0fdd844..55cb10b 100644 --- a/geneticone/backend/__init__.py +++ b/geneticone/backend/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/backend/__init__.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/backend/__init__.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of diff --git a/geneticone/backend/exceptions.py b/geneticone/backend/exceptions.py index 292d253..a5cb2fb 100644 --- a/geneticone/backend/exceptions.py +++ b/geneticone/backend/exceptions.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/backend/exceptions.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/backend/exceptions.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of diff --git a/geneticone/backend/flags.py b/geneticone/backend/flags.py index e7c0d9f..d1187c9 100644 --- a/geneticone/backend/flags.py +++ b/geneticone/backend/flags.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/backend/flags.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/backend/flags.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -14,7 +14,7 @@ import os import os.path from subprocess import Popen, PIPE # needed for grep -from geneticone.helper import * +from portato.helper import * from portage_helper import split_package_name import package @@ -22,9 +22,9 @@ import portage from portage_util import unique_array CONFIG = { - "usefile" : "geneticone", - "maskfile" : "geneticone", - "testingfile" : "geneticone", + "usefile" : "portato", + "maskfile" : "portato", + "testingfile" : "portato", "usePerVersion" : True, "maskPerVersion" : True, "testingPerVersion" : True @@ -263,7 +263,7 @@ def write_use_flags (): # no more flags there - comment it out if len(list) == 1 or list[1][0] in ("#","\n"): list[0] = "#"+list[0] - insert("#removed by geneticone#",list) + insert("#removed by portato#",list) file_cache = {} # cache for having to read the file only once: name->[lines] for cpv in newUseFlags: @@ -309,7 +309,7 @@ def write_use_flags (): if flagsToAdd: # write new lines - msg = "\n#geneticone update#\n" + msg = "\n#portato update#\n" if CONFIG["usePerVersion"]: # add on a per-version-base msg += "=%s %s\n" % (cpv, ' '.join(flagsToAdd)) else: # add on a per-package-base @@ -440,7 +440,7 @@ def write_masked (): line = int(line) # add new line if line == -1: - msg = "\n#geneticone update#\n" + msg = "\n#portato update#\n" if CONFIG["maskPerVersion"]: msg += "=%s\n" % cpv else: @@ -464,7 +464,7 @@ def write_masked (): i = i+1 # delete l = f.readline() - l = "#"+l[:-1]+" # removed by geneticone\n" + l = "#"+l[:-1]+" # removed by portato\n" lines.append(l) # read the rest @@ -475,7 +475,7 @@ def write_masked (): else: # in cache l = file_cache[file][line-1] # delete: - l = "#"+l[:-1]+" # removed by geneticone\n" + l = "#"+l[:-1]+" # removed by portato\n" file_cache[file][line-1] = l @@ -570,7 +570,7 @@ def write_testing (): line = int(line) # add new line if line == -1: - msg = "\n#geneticone update#\n" + msg = "\n#portato update#\n" if CONFIG["testingPerVersion"]: msg += "=%s ~%s\n" % (cpv, arch) else: @@ -594,7 +594,7 @@ def write_testing (): i = i+1 # delete l = f.readline() - l = "#"+l[:-1]+" # removed by geneticone\n" + l = "#"+l[:-1]+" # removed by portato\n" lines.append(l) # read the rest @@ -605,7 +605,7 @@ def write_testing (): else: # in cache l = file_cache[file][line-1] # delete: - l = "#"+l[:-1]+" # removed by geneticone\n" + l = "#"+l[:-1]+" # removed by portato\n" file_cache[file][line-1] = l # write to disk diff --git a/geneticone/backend/package.py b/geneticone/backend/package.py index 212dffa..8b56eb5 100644 --- a/geneticone/backend/package.py +++ b/geneticone/backend/package.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/backend/package.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/backend/package.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -10,8 +10,8 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from geneticone.backend import * -from geneticone.helper import * +from portato.backend import * +from portato.helper import * from portage_helper import * import flags @@ -21,7 +21,7 @@ from portage_util import unique_array import types class Package (gentoolkit.Package): - """This is a subclass of the gentoolkit.Package-class which a lot of additional functionality we need in Genetic/One.""" + """This is a subclass of the gentoolkit.Package-class which a lot of additional functionality we need in Portato.""" def __init__ (self, cpv): """Constructor. @@ -244,9 +244,9 @@ class Package (gentoolkit.Package): @returns: list of cpvs on which the package depend @rtype: string[] - @raises geneticone.BlockedException: when a package in the dependency-list is blocked by an installed one - @raises geneticone.PackageNotFoundException: when a package in the dependency list could not be found in the system - @raises geneticone.DependencyCalcError: when an error occured during executing portage.dep_check()""" + @raises portato.BlockedException: when a package in the dependency-list is blocked by an installed one + @raises portato.PackageNotFoundException: when a package in the dependency list could not be found in the system + @raises portato.DependencyCalcError: when an error occured during executing portage.dep_check()""" dep_pkgs = [] # the package list diff --git a/geneticone/backend/portage_helper.py b/geneticone/backend/portage_helper.py index 27f5a41..6e8fc84 100644 --- a/geneticone/backend/portage_helper.py +++ b/geneticone/backend/portage_helper.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/backend/portage_helper.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/backend/portage_helper.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -15,10 +15,10 @@ import re, os, copy import portage, gentoolkit from portage_util import unique_array -from geneticone.backend import * +from portato.backend import * import package -from geneticone.helper import debug +from portato.helper import debug def find_lambda (name): """Returns the function needed by all the find_all_*-functions. Returns None if no name is given. diff --git a/geneticone/config_parser.py b/geneticone/config_parser.py index 99e5b6c..8418a6a 100644 --- a/geneticone/config_parser.py +++ b/geneticone/config_parser.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/config_parser.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/config_parser.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of diff --git a/geneticone/constants.py b/geneticone/constants.py index 1e4fc6b..9424036 100644 --- a/geneticone/constants.py +++ b/geneticone/constants.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/constants.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/constants.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -10,8 +10,8 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -CONFIG_DIR = "/etc/geneticone/" -CONFIG_LOCATION = CONFIG_DIR+"geneticone.cfg" +CONFIG_DIR = "/etc/portato/" +CONFIG_LOCATION = CONFIG_DIR+"portato.cfg" -DATA_DIR = "geneticone/gui/gtk/glade/" +DATA_DIR = "portato/gui/gtk/glade/" VERSION = 9999 diff --git a/geneticone/gui/__init__.py b/geneticone/gui/__init__.py index 25123c8..6248ece 100644 --- a/geneticone/gui/__init__.py +++ b/geneticone/gui/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/gui/__init__.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/gui/__init__.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of diff --git a/geneticone/gui/gtk/__init__.py b/geneticone/gui/gtk/__init__.py index e7b1bb5..85938b4 100644 --- a/geneticone/gui/gtk/__init__.py +++ b/geneticone/gui/gtk/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/gui/gtk/__init__.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/gui/gtk/__init__.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of diff --git a/geneticone/gui/gtk/dialogs.py b/geneticone/gui/gtk/dialogs.py index ba74524..68cd629 100644 --- a/geneticone/gui/gtk/dialogs.py +++ b/geneticone/gui/gtk/dialogs.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/gui/gtk/dialogs.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/gui/gtk/dialogs.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -48,7 +48,7 @@ def nothing_found_dialog (): def changed_flags_dialog (what = "flags"): hintMB = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, - "You have changed %s. Genetic/One will write these changes into the appropriate files. Please backup them if you think it is necessairy." % what) + "You have changed %s. Portato will write these changes into the appropriate files. Please backup them if you think it is necessairy." % what) ret = hintMB.run() hintMB.destroy() return ret diff --git a/geneticone/gui/gtk/glade/geneticone.glade b/geneticone/gui/gtk/glade/geneticone.glade index 89f5950..cf187c7 100644 --- a/geneticone/gui/gtk/glade/geneticone.glade +++ b/geneticone/gui/gtk/glade/geneticone.glade @@ -554,7 +554,7 @@ <property name="visible">True</property> <property name="xalign">0</property> <property name="yalign">0</property> - <property name="label" translatable="yes">Genetic/One - A Portage GUI</property> + <property name="label" translatable="yes">Portato - A Portage GUI</property> <property name="single_line_mode">True</property> </widget> </child> diff --git a/geneticone/gui/gtk/windows.py b/geneticone/gui/gtk/windows.py index ee50ca4..f4a37fe 100644 --- a/geneticone/gui/gtk/windows.py +++ b/geneticone/gui/gtk/windows.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/gui/gtk/windows.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/gui/gtk/windows.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -18,14 +18,14 @@ import gtk.glade import gobject #our backend stuff -from geneticone.helper import * -from geneticone.constants import CONFIG_LOCATION, VERSION, DATA_DIR -from geneticone import backend -from geneticone.backend import flags -from geneticone.backend.exceptions import * +from portato.helper import * +from portato.constants import CONFIG_LOCATION, VERSION, DATA_DIR +from portato import backend +from portato.backend import flags +from portato.backend.exceptions import * # more GUI stuff -from geneticone.gui.gui_helper import Database, Config, EmergeQueue +from portato.gui.gui_helper import Database, Config, EmergeQueue from dialogs import * from wrapper import GtkTree, GtkConsole @@ -37,7 +37,7 @@ from portage_util import unique_array class Window: def __init__ (self): - self.tree = gtk.glade.XML(DATA_DIR+"geneticone.glade", root = self.__class__.__name__) + self.tree = gtk.glade.XML(DATA_DIR+"portato.glade", root = self.__class__.__name__) self.tree.signal_autoconnect(self) self.window = self.tree.get_widget(self.__class__.__name__) @@ -102,7 +102,7 @@ class AboutWindow (AbstractDialog): label = self.tree.get_widget("aboutLabel") label.set_markup(""" -<big><b>Genetic/One v.%s</b></big> +<big><b>Portato v.%s</b></big> A Portage-GUI This software is licensed under the terms of the GPLv2. @@ -561,7 +561,7 @@ class MainWindow (Window): # main window stuff Window.__init__(self) - self.window.set_title(("Genetic/One (%s)" % VERSION)) + self.window.set_title(("Portato (%s)" % VERSION)) mHeight = 800 if gtk.gdk.screen_height() <= 800: mHeight = 600 self.window.set_geometry_hints (self.window, min_width = 600, min_height = mHeight, max_height = gtk.gdk.screen_height(), max_width = gtk.gdk.screen_width()) @@ -619,7 +619,7 @@ class MainWindow (Window): self.packageTable.table.hide_all() # popup - popupTree = gtk.glade.XML(DATA_DIR+"geneticone.glade", root = "queuePopup") + popupTree = gtk.glade.XML(DATA_DIR+"portato.glade", root = "queuePopup") popupTree.signal_autoconnect(self) self.queuePopup = popupTree.get_widget("queuePopup") diff --git a/geneticone/gui/gtk/wrapper.py b/geneticone/gui/gtk/wrapper.py index 7597a8a..7066acb 100644 --- a/geneticone/gui/gtk/wrapper.py +++ b/geneticone/gui/gtk/wrapper.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/gui/gtk/wrapper.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/gui/gtk/wrapper.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -10,7 +10,7 @@ # # Written by René 'Necoro' Neumann <necoro@necoro.net> -from geneticone.gui.wrapper import Tree, Console +from portato.gui.wrapper import Tree, Console class GtkTree (Tree): """The implementation of the abstract tree.""" diff --git a/geneticone/gui/gui_helper.py b/geneticone/gui/gui_helper.py index bbc4bb9..6cc09a3 100644 --- a/geneticone/gui/gui_helper.py +++ b/geneticone/gui/gui_helper.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/gui/gui_helper.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/gui/gui_helper.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of @@ -11,12 +11,12 @@ # Written by René 'Necoro' Neumann <necoro@necoro.net> # some backend things -from geneticone import backend -from geneticone.backend import flags -from geneticone.helper import * +from portato import backend +from portato.backend import flags +from portato.helper import * # parser -from geneticone.config_parser import ConfigParser +from portato.config_parser import ConfigParser # the wrapper from wrapper import Console, Tree @@ -381,7 +381,7 @@ class EmergeQueue: @param oneshot: True if this package should not be added to the world-file. @type oneshot: boolean - @raises geneticone.backend.PackageNotFoundException: if trying to add a package which does not exist""" + @raises portato.backend.PackageNotFoundException: if trying to add a package which does not exist""" if not unmerge: # emerge # insert dependencies diff --git a/geneticone/gui/wrapper.py b/geneticone/gui/wrapper.py index 3616d21..def5c50 100644 --- a/geneticone/gui/wrapper.py +++ b/geneticone/gui/wrapper.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/gui/wrapper.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/gui/wrapper.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of diff --git a/geneticone/helper.py b/geneticone/helper.py index c61e63a..2a492cc 100644 --- a/geneticone/helper.py +++ b/geneticone/helper.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # -# File: geneticone/helper.py -# This file is part of the Genetic/One-Project, a graphical portage-frontend. +# File: portato/helper.py +# This file is part of the Portato-Project, a graphical portage-frontend. # # Copyright (C) 2006 René 'Necoro' Neumann # This is free software. You may redistribute copies of it under the terms of |