If two different recipes (e.g. linux-openmoko and linux-openmoko-devel)
use the same git repository but with different SRCREVs the count just
incremented on each parsing. By adding PN to the key we keep the count on
a per package level. Spotted by Graeme.
pd = persist_data.PersistData(d)
key = self._revision_key(url, ud, d)
+ key = "%s-%s" % (key, bb.data.getVar("PN", d, True) or "")
+
latest_rev = self._build_revision(url, ud, d)
last_rev = pd.getValue("BB_URI_LOCALCOUNT", key + "_rev")
count = pd.getValue("BB_URI_LOCALCOUNT", key + "_count")