aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2010-07-02 21:03:41 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2010-07-02 21:03:41 -0300
commitde6a5b96b1ac33806773e729a31d656008570d31 (patch)
treee4583ed2c3d6f5d87b632d1546c2485b7be74169 /g_octave
parentbug fixes: missing packages and missing $OCT_PKGDIR for fresh octave installa... (diff)
downloadg-octave-de6a5b96b1ac33806773e729a31d656008570d31.tar.gz
g-octave-de6a5b96b1ac33806773e729a31d656008570d31.tar.bz2
g-octave-de6a5b96b1ac33806773e729a31d656008570d31.zip
small fixes and preparation to a new release0.2.1
Diffstat (limited to 'g_octave')
-rw-r--r--g_octave/__init__.py2
-rw-r--r--g_octave/ebuild.py4
2 files changed, 3 insertions, 3 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