bitbake/lib/bb/utils.py:
authorRichard Purdie <rpurdie@linux.intel.com>
Tue, 21 Feb 2006 00:16:11 +0000 (00:16 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 21 Feb 2006 00:16:11 +0000 (00:16 +0000)
    - Fix a RDEPENDS parsing bug in utils:explode_deps()
      (versions containing spaces didn't parse correctly)

bitbake/lib/bb/fetch/git.py:
    - Update git fetcher behaviour to match git changes

ChangeLog
lib/bb/__init__.py
lib/bb/fetch/git.py
lib/bb/utils.py

index c05ff96..32475b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Changes in BitBake 1.3.x:
+       - Fix to check both RDEPENDS and RDEPENDS_${PN}
+       - Fix a RDEPENDS parsing bug in utils:explode_deps()
+       - Update git fetcher behaviour to match git changes
+
 Changes in BitBake 1.3.3:
        - Create a new Fetcher module to ease the
          development of new Fetchers.
index 5191fd5..76ae97b 100644 (file)
@@ -23,7 +23,7 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 Place, Suite 330, Boston, MA 02111-1307 USA.
 """
 
-__version__ = "1.3.3.1"
+__version__ = "1.3.3.2"
 
 __all__ = [
 
index 11ca682..f38709d 100644 (file)
@@ -116,12 +116,11 @@ class Git(Fetch):
             #if os.path.exists(repodir):
                 #prunedir(repodir)
 
-            bb.mkdirhier(repodir)
-            os.chdir(repodir)
-
             #print("Changing to %s" % repodir)
 
             if os.access(repofile, os.R_OK):
+                bb.mkdirhier(repodir)
+                os.chdir(repodir)
                 rungitcmd("tar -xzf %s" % (repofile),d)
             else:
                 rungitcmd("git clone rsync://%s%s %s" % (host, path, repodir),d)
index e2319aa..2f53c65 100644 (file)
@@ -86,10 +86,10 @@ def explode_deps(s):
             j = []
         if flag:
             j.append(i)
-        if i.endswith(')'):
+        else:
+            r.append(i)
+        if flag and i.endswith(')'):
             flag = False
             # Ignore version
             #r[-1] += ' ' + ' '.join(j)
-        else:
-            r.append(i)
     return r