summaryrefslogtreecommitdiff
path: root/packages/python/python-pygobject_2.12.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python/python-pygobject_2.12.3.bb')
-rw-r--r--packages/python/python-pygobject_2.12.3.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/python/python-pygobject_2.12.3.bb b/packages/python/python-pygobject_2.12.3.bb
index bfd04d569d..c7781c32d8 100644
--- a/packages/python/python-pygobject_2.12.3.bb
+++ b/packages/python/python-pygobject_2.12.3.bb
@@ -4,7 +4,8 @@ LICENSE = "LGPL"
DEPENDS = "python-pygobject-native"
PR = "r3"
-SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.12/pygobject-${PV}.tar.bz2 \
+MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
+SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \
file://python-path.patch;patch=1"
S = "${WORKDIR}/pygobject-${PV}"