diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-05-09 01:28:57 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-05-09 01:28:57 +0000 |
commit | 298ab6aa962b7c2a70a2e373ee8deee880fe1ab2 (patch) | |
tree | 03fedb577b12524255db96cafa13271129e02fce /packages/python/python-pygtk_2.10.4.bb | |
parent | 052f30fc08d8513b0f3b2899c27ea1af905be51c (diff) |
python: introduce MAJ_VER variable so that no further changes to a bb file are necessary even with major releases
* applied to python-pygtk and python-gobject
* gnome projects projects host every major release in a separate directory
Diffstat (limited to 'packages/python/python-pygtk_2.10.4.bb')
-rw-r--r-- | packages/python/python-pygtk_2.10.4.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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 \ |