[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gobolinux-commits
Subject:    [gobolinux-commits] r3268 -
From:       mwh () svn ! gobolinux ! org
Date:       2008-04-30 9:59:11
Message-ID: 20080430095911.DAB0081AD () oakdale ! dreamhost ! com
[Download RAW message or body]

Author: mwh
Date: 2008-04-30 02:59:11 -0700 (Wed, 30 Apr 2008)
New Revision: 3268

Modified:
   trunk/Freshen/lib/python2.3/site-packages/Freshen.py
Log:
In some cases, older versions of dependencies will need to be installed, so test \
whether the specific version is installed rather than using GuessLatest.

Modified: trunk/Freshen/lib/python2.3/site-packages/Freshen.py
===================================================================
--- trunk/Freshen/lib/python2.3/site-packages/Freshen.py	2008-04-30 09:37:56 UTC (rev \
                3267)
+++ trunk/Freshen/lib/python2.3/site-packages/Freshen.py	2008-04-30 09:59:11 UTC (rev \
3268) @@ -211,9 +211,10 @@
 						ver = Join_Version_Revision(version, revision)
 						insVer = self.latestInstalled(program)
 						# Only updated or wholly new programs should
-						# be included
-						if not insVer or (insVer != ver and
-							              GuessLatest((ver, insVer)) == ver):
+						# be included. However, note that in some cases
+						# older versions of programs will be required.
+						if not insVer or \
+							ver not in self.installedPrograms()[program]:
 							if 'recipe' == type:
 								# Flags are only really meaningful (and
 								# available) for recipes

_______________________________________________
gobolinux-commits mailing list
gobolinux-commits@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic