diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-07-02 21:03:41 -0300 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2010-07-02 21:03:41 -0300 |
commit | de6a5b96b1ac33806773e729a31d656008570d31 (patch) | |
tree | e4583ed2c3d6f5d87b632d1546c2485b7be74169 | |
parent | bug fixes: missing packages and missing $OCT_PKGDIR for fresh octave installa... (diff) | |
download | g-octave-de6a5b96b1ac33806773e729a31d656008570d31.tar.gz g-octave-de6a5b96b1ac33806773e729a31d656008570d31.tar.bz2 g-octave-de6a5b96b1ac33806773e729a31d656008570d31.zip |
small fixes and preparation to a new release0.2.1
-rw-r--r-- | g_octave/__init__.py | 2 | ||||
-rw-r--r-- | g_octave/ebuild.py | 4 | ||||
-rwxr-xr-x | scripts/g-octave | 6 |
3 files changed, 8 insertions, 4 deletions
diff --git a/g_octave/__init__.py b/g_octave/__init__.py index c82fed2..9f4cf91 100644 --- a/g_octave/__init__.py +++ b/g_octave/__init__.py @@ -32,4 +32,4 @@ __url__ = 'http://g-octave.rafaelmartins.eng.br/' __copyright__ = '(c) 2009-2010 %s' % __author__ __license__ = 'GPLv2' -__version__ = '0.2' +__version__ = '0.2.1' diff --git a/g_octave/ebuild.py b/g_octave/ebuild.py index afc2ddc..3ed11f5 100644 --- a/g_octave/ebuild.py +++ b/g_octave/ebuild.py @@ -278,8 +278,8 @@ RDEPEND="${DEPEND} allowed_versions.append(_version) to_install.append('%s-%s' % (pkg, self.__dbtree.version_compare(allowed_versions))) - - if len(to_install) == 0: + + if len(allowed_versions) == 0: raise EbuildException('Can\'t resolve a dependency: %s' % pkg) # creating the ebuilds for the dependencies, recursivelly diff --git a/scripts/g-octave b/scripts/g-octave index 81703f6..3b834e1 100755 --- a/scripts/g-octave +++ b/scripts/g-octave @@ -189,7 +189,11 @@ def main(): out.einfo('No updates available.') return os.EX_OK - + else: + if options.sync: + out.eerror('"--sync" not available, please install g-octave-9999 if you want this.') + return os.EX_USAGE + check_db_cache() conf = Config() |