DESCRIPTION = "Download and upgrade PND packages."
LICENSE = "GPLv2"
-PR = "r4"
+PR = "r5"
SRC_URI = " \
git://github.com/Tempel/PNDstore.git;protocol=git;branch=master \
file://_ctypes.so \
file://op_pndstore.desktop \
+ file://0001-Fix-Deprecated-object__new__.patch;patch=1 \
"
SRCREV = "af118e0619e58716ef58"
--- /dev/null
+diff --git a/pndstore_core/packages.py b/pndstore_core/packages.py
+*** a/pndstore_core/packages.py 2011-06-17 00:30:14.869582901 +0200
+--- b/pndstore_core/packages.py 2011-06-17 00:32:36.216122544 +0200
+***************
+*** 127,133 ****
+ try:
+ return cls._existing[pkgid]
+ except KeyError:
+! p = object.__new__(cls, pkgid)
+ cls._existing[pkgid] = p
+ return p
+
+--- 127,133 ----
+ try:
+ return cls._existing[pkgid]
+ except KeyError:
+! p = object.__new__(cls)
+ cls._existing[pkgid] = p
+ return p
+
+