diff options
author | 2010-07-26 05:03:44 -0300 | |
---|---|---|
committer | 2010-07-26 05:03:44 -0300 | |
commit | 490a0c1f23ca79e4ef8d4f340a4e49fcd856ae10 (patch) | |
tree | 2b05c7765aeab43268a2d6cd7e5116d87ea57083 /g_octave | |
parent | more small fixes to the tinderbox, that's broken with the new trac instance. ... (diff) | |
download | g-octave-490a0c1f23ca79e4ef8d4f340a4e49fcd856ae10.tar.gz g-octave-490a0c1f23ca79e4ef8d4f340a4e49fcd856ae10.tar.bz2 g-octave-490a0c1f23ca79e4ef8d4f340a4e49fcd856ae10.zip |
working on the new handling of the live ebuilds. the command line options '--scm' and '--no-scm' works, and the configuration option 'use_scm' as well
Diffstat (limited to 'g_octave')
-rw-r--r-- | g_octave/config.py | 1 | ||||
-rw-r--r-- | g_octave/ebuild.py | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/g_octave/config.py b/g_octave/config.py index 178f258..f8068fa 100644 --- a/g_octave/config.py +++ b/g_octave/config.py @@ -39,6 +39,7 @@ class Config(object): 'log_level': '', 'log_file': '/var/log/g-octave.log', 'package_manager': 'portage', + 'use_scm': 'false', } _section_name = 'main' diff --git a/g_octave/ebuild.py b/g_octave/ebuild.py index 90eac4f..8965dfa 100644 --- a/g_octave/ebuild.py +++ b/g_octave/ebuild.py @@ -45,7 +45,7 @@ re_keywords = re.compile(r'(~)?(alpha|amd64|hppa|ppc64|ppc|sparc|x86)') class Ebuild: - def __init__(self, pkg_atom, scm=False, force=False, conf=None, pkg_manager=None): + def __init__(self, pkg_atom, force=False, scm=False, conf=None, pkg_manager=None): self.__scm = scm self.__force = force @@ -68,6 +68,7 @@ class Ebuild: self.version = atom.group(2) if self.__scm: + self.version = '9999' category = self.__dbtree.categories.get(self.pkgname, None) if category is not None: self.__desc = SvnDescription(category, self.pkgname) |