summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-09 01:54:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-09 01:54:26 +0000
commit569a066f472d42fb8411421cbfbd1c706c49dd1c (patch)
tree5e423732aee910418694421477e554a770a82d5b /packages
parent3453471db2dd362dbaf88008e9943f0f9ef6a8ea (diff)
parent298ab6aa962b7c2a70a2e373ee8deee880fe1ab2 (diff)
merge of '4d9368570e94fc8bc65712d1c95027d8a436eee1'
and '6f9a15eb9033fcc77c3985059f624c5623c9c90b'
Diffstat (limited to 'packages')
-rw-r--r--packages/python/python-pygobject-native_2.12.3.bb3
-rw-r--r--packages/python/python-pygobject_2.12.3.bb3
-rw-r--r--packages/python/python-pygtk_2.10.4.bb3
-rw-r--r--packages/python/python-pygtk_2.6.3.bb3
-rw-r--r--packages/python/python-pygtk_2.8.6.bb3
5 files changed, 10 insertions, 5 deletions
diff --git a/packages/python/python-pygobject-native_2.12.3.bb b/packages/python/python-pygobject-native_2.12.3.bb
index cb879fdeb1..3b8c204c7f 100644
--- a/packages/python/python-pygobject-native_2.12.3.bb
+++ b/packages/python/python-pygobject-native_2.12.3.bb
@@ -2,6 +2,7 @@ require python-pygobject_${PV}.bb
DEPENDS = "python-native glib-2.0-native"
-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 "
inherit native
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}"
diff --git a/packages/python/python-pygtk_2.10.4.bb b/packages/python/python-pygtk_2.10.4.bb
index 6b26f59ad8..dcc32894b1 100644
--- a/packages/python/python-pygtk_2.10.4.bb
+++ b/packages/python/python-pygtk_2.10.4.bb
@@ -8,7 +8,8 @@ SRCNAME = "pygtk"
LICENSE = "LGPL"
PR = "ml8"
-SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${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/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
file://fix-gtkunixprint.patch;patch=1 \
file://prevent_to_get_display_during_import.patch;patch=1 \
file://nodocs.patch;patch=1 \
diff --git a/packages/python/python-pygtk_2.6.3.bb b/packages/python/python-pygtk_2.6.3.bb
index ae6b7d131e..7856e196e2 100644
--- a/packages/python/python-pygtk_2.6.3.bb
+++ b/packages/python/python-pygtk_2.6.3.bb
@@ -6,7 +6,8 @@ SRCNAME = "pygtk"
LICENSE = "LGPL"
PR = "ml0"
-SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.6/${SRCNAME}-${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/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
file://acinclude.m4"
S = "${WORKDIR}/${SRCNAME}-${PV}"
diff --git a/packages/python/python-pygtk_2.8.6.bb b/packages/python/python-pygtk_2.8.6.bb
index 361737684c..9f602e7200 100644
--- a/packages/python/python-pygtk_2.8.6.bb
+++ b/packages/python/python-pygtk_2.8.6.bb
@@ -8,7 +8,8 @@ SRCNAME = "pygtk"
LICENSE = "LGPL"
PR = "r1"
-SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/${SRCNAME}-${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/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
file://acinclude.m4"
S = "${WORKDIR}/${SRCNAME}-${PV}"