diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-02 15:04:25 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2010-06-03 07:33:27 +0200 |
| commit | d4276bed389b7db06db58c7acebb83f92bff86a5 (patch) | |
| tree | 2386574b6ab0c36a58a314a24d31f6b5c9291a65 /recipes/python | |
| parent | 823aa270059259ca619e21a5d9b22e86afb12f3b (diff) | |
recipes: conform to OE packaging guidelines with RDEPENDS/RRECOMMENDS
* there is probably very few cases when it's needed without _${PN},
if you find one in attached patch, please enlighten me
* usually we want those only for ${PN} not for all ${PACKAGES} ie ${PN}-dev, ${PN)-doc etc
* there is a check for this in recipe-sanity.bclass
* there is maybe few possible fixes also in bbclasses
cpan-base.bbclass:RDEPENDS += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
distutils-base.bbclass:RDEPENDS += "python-core"
gtk-icon-cache.bbclass:RDEPENDS += "hicolor-icon-theme"
image.bbclass:RDEPENDS += "${IMAGE_INSTALL} ${IMAGE_BOOT}"
module.bbclass:RDEPENDS += "kernel (${KERNEL_VERSION}) update-modules"
?opie_i18n.bbclass: rdepends = bb.data.getVar("RDEPENDS", d, 1)
?opie_i18n.bbclass: bb.data.setVar('RDEPENDS_%s' % x[0].lower(), pn, d)
?opie_i18n.bbclass: bb.data.setVar('RDEPENDS', rdepends, d)
rubyextension.bbclass:RDEPENDS += "ruby"
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/python')
62 files changed, 62 insertions, 63 deletions
diff --git a/recipes/python/pydes_1.3.1.bb b/recipes/python/pydes_1.3.1.bb index b63c59b9d5..7a12a35eaf 100644 --- a/recipes/python/pydes_1.3.1.bb +++ b/recipes/python/pydes_1.3.1.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Python DES implementation" SECTION = "console/network" PRIORITY = "optional" LICENSE = "GPL" -RDEPENDS = "python" +RDEPENDS_${PN} = "python" PR = "r1" ARCH_pydes = "all" diff --git a/recipes/python/pyring_1.1.10.bb b/recipes/python/pyring_1.1.10.bb index 7bd5d6b759..4d2e413159 100644 --- a/recipes/python/pyring_1.1.10.bb +++ b/recipes/python/pyring_1.1.10.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Python keyring" SECTION = "console/network" PRIORITY = "optional" LICENSE = "GPL" -RDEPENDS = "python python-pygtk python-xml python-netclient python-numeric pydes" +RDEPENDS_${PN} = "python python-pygtk python-xml python-netclient python-numeric pydes" ARCH_pyring = "all" diff --git a/recipes/python/python-blipapi_0.02.04.bb b/recipes/python/python-blipapi_0.02.04.bb index 4fcb2b1d96..6324ad3945 100644 --- a/recipes/python/python-blipapi_0.02.04.bb +++ b/recipes/python/python-blipapi_0.02.04.bb @@ -3,7 +3,7 @@ AUTHOR = "Marcin Sztolcman <marcin@urzenia.net>" HOMEPAGE = "http://blipapi.googlecode.com/" DEPENDS = "python-setuptools" LICENSE = "GPL" -RDEPENDS += "python-json" +RDEPENDS_${PN} += "python-json" PR = "r0" inherit setuptools diff --git a/recipes/python/python-cheetah_2.0.1.bb b/recipes/python/python-cheetah_2.0.1.bb index 82d7bbfccd..def89ebeb6 100644 --- a/recipes/python/python-cheetah_2.0.1.bb +++ b/recipes/python/python-cheetah_2.0.1.bb @@ -10,7 +10,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils -RDEPENDS = "python-pickle python-pprint" +RDEPENDS_${PN} = "python-pickle python-pprint" SRC_URI[md5sum] = "7845a2950ea850a13c488a26b61ac50a" SRC_URI[sha256sum] = "70b618a03506831f59ba1ff8433907ee8d4ead5fc9f1b3f610d384e08a26938c" diff --git a/recipes/python/python-cython-native_0.10.3.bb b/recipes/python/python-cython-native_0.10.3.bb index a5c78cebe2..d7867c49e0 100644 --- a/recipes/python/python-cython-native_0.10.3.bb +++ b/recipes/python/python-cython-native_0.10.3.bb @@ -1,7 +1,7 @@ require python-cython_${PV}.bb inherit native DEPENDS = "python-native" -RDEPENDS = "" +RDEPENDS_${PN} = "" do_stage() { BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ diff --git a/recipes/python/python-cython-native_0.12.1.bb b/recipes/python/python-cython-native_0.12.1.bb index 95886aecb0..d42d1fdd7b 100644 --- a/recipes/python/python-cython-native_0.12.1.bb +++ b/recipes/python/python-cython-native_0.12.1.bb @@ -1,7 +1,7 @@ require python-cython_${PV}.bb inherit native DEPENDS = "python-native" -RDEPENDS = "" +RDEPENDS_${PN} = "" do_stage() { PYTHONPATH=${STAGING_BINDIR} BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ diff --git a/recipes/python/python-cython-native_0.12.bb b/recipes/python/python-cython-native_0.12.bb index 95886aecb0..d42d1fdd7b 100644 --- a/recipes/python/python-cython-native_0.12.bb +++ b/recipes/python/python-cython-native_0.12.bb @@ -1,7 +1,7 @@ require python-cython_${PV}.bb inherit native DEPENDS = "python-native" -RDEPENDS = "" +RDEPENDS_${PN} = "" do_stage() { PYTHONPATH=${STAGING_BINDIR} BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ diff --git a/recipes/python/python-daap_0.7.1.bb b/recipes/python/python-daap_0.7.1.bb index 806297ff3d..a16573a44f 100644 --- a/recipes/python/python-daap_0.7.1.bb +++ b/recipes/python/python-daap_0.7.1.bb @@ -8,7 +8,7 @@ inherit distutils SRC_URI = "http://jerakeen.org/files/PythonDaap-${PV}.tar.gz" S = "${WORKDIR}/PythonDaap-${PV}" -RDEPENDS = "python-compression" +RDEPENDS_${PN} = "python-compression" SRC_URI[md5sum] = "b3db3d60b0ee83f5f23101d2c3bb99e0" diff --git a/recipes/python/python-ecore_svn.bb b/recipes/python/python-ecore_svn.bb index 94daaf1dd4..ed8a0cae88 100644 --- a/recipes/python/python-ecore_svn.bb +++ b/recipes/python/python-ecore_svn.bb @@ -1,7 +1,7 @@ require python-efl.inc SRCREV = "${EFL_SRCREV}" DEPENDS += "python-evas ecore" -RDEPENDS += "python-evas" +RDEPENDS_${PN} += "python-evas" do_stage() { distutils_stage_all diff --git a/recipes/python/python-edbus_svn.bb b/recipes/python/python-edbus_svn.bb index 00fffeda74..799ba18eee 100644 --- a/recipes/python/python-edbus_svn.bb +++ b/recipes/python/python-edbus_svn.bb @@ -1,7 +1,7 @@ require python-efl.inc SRCREV = "${EFL_SRCREV}" DEPENDS += "edbus python-dbus" -RDEPENDS += "python-dbus" +RDEPENDS_${PN} += "python-dbus" SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/BINDINGS/python;module=python-e_dbus;proto=http" S = "${WORKDIR}/python-e_dbus" diff --git a/recipes/python/python-edje_svn.bb b/recipes/python/python-edje_svn.bb index 793db0c437..09cfbb01c3 100644 --- a/recipes/python/python-edje_svn.bb +++ b/recipes/python/python-edje_svn.bb @@ -1,6 +1,6 @@ require python-efl.inc SRCREV = "${EFL_SRCREV}" DEPENDS += "edje python-evas" -RDEPENDS += "python-evas" +RDEPENDS_${PN} += "python-evas" SRC_URI += "file://0001-fix-unicode-conversion.patch" diff --git a/recipes/python/python-efl.inc b/recipes/python/python-efl.inc index 9ed7a4cb98..d8559eab5b 100644 --- a/recipes/python/python-efl.inc +++ b/recipes/python/python-efl.inc @@ -6,7 +6,7 @@ HOMEPAGE = "http://www.enlightenment.org" # we need to build pyrex otherwise cython doesn't get called to build # the extension modules. DEPENDS = "python-cython-native python-pyrex-native python-numeric eina" -RDEPENDS += "python-lang" +RDEPENDS_${PN} += "python-lang" PV = "0.3.1+svnr${SRCPV}" PR = "ml0" diff --git a/recipes/python/python-elementary_svn.bb b/recipes/python/python-elementary_svn.bb index ad82e04813..72948c07ae 100644 --- a/recipes/python/python-elementary_svn.bb +++ b/recipes/python/python-elementary_svn.bb @@ -1,7 +1,7 @@ require python-efl.inc SRCREV = "${EFL_SRCREV}" DEPENDS += "elementary" -RDEPENDS += "python-evas python-ecore python-edje" +RDEPENDS_${PN} += "python-evas python-ecore python-edje" PV = "0.1+svnr${SRCPV}" PR = "ml0" diff --git a/recipes/python/python-emotion_svn.bb b/recipes/python/python-emotion_svn.bb index 38e1355ff4..9f558f868e 100644 --- a/recipes/python/python-emotion_svn.bb +++ b/recipes/python/python-emotion_svn.bb @@ -1,4 +1,4 @@ require python-efl.inc SRCREV = "${EFL_SRCREV}" DEPENDS += "emotion python-evas" -RDEPENDS += "python-ecore" +RDEPENDS_${PN} += "python-ecore" diff --git a/recipes/python/python-fam_1.1.1.bb b/recipes/python/python-fam_1.1.1.bb index e7ff4bb785..b8ceadaedd 100644 --- a/recipes/python/python-fam_1.1.1.bb +++ b/recipes/python/python-fam_1.1.1.bb @@ -10,7 +10,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz" inherit distutils -RDEPENDS = "fam python-core python-io" +RDEPENDS_${PN} = "fam python-core python-io" SRC_URI[md5sum] = "f6c760c6d8e5ea69a3fce029f7973558" diff --git a/recipes/python/python-gdata_1.2.4.bb b/recipes/python/python-gdata_1.2.4.bb index 6c857260de..6e74f60e5b 100644 --- a/recipes/python/python-gdata_1.2.4.bb +++ b/recipes/python/python-gdata_1.2.4.bb @@ -11,7 +11,7 @@ S = "${WORKDIR}/gdata.py-${PV}" FILES_${PN} += "${datadir}" -RDEPENDS = "python-elementtree" +RDEPENDS_${PN} = "python-elementtree" SRC_URI[md5sum] = "521f33a377d64f8a6505ba119415b787" diff --git a/recipes/python/python-imaging_1.1.6.bb b/recipes/python/python-imaging_1.1.6.bb index cf8f348edf..3cf8760ed1 100644 --- a/recipes/python/python-imaging_1.1.6.bb +++ b/recipes/python/python-imaging_1.1.6.bb @@ -3,7 +3,7 @@ SECTION = "devel/python" PRIORITY = "optional" LICENSE = "GPL" DEPENDS = "freetype jpeg tiff" -RDEPENDS = "python-lang python-stringold" +RDEPENDS_${PN} = "python-lang python-stringold" SRCNAME = "Imaging" PR = "ml1" diff --git a/recipes/python/python-iniparse-native_0.2.3.bb b/recipes/python/python-iniparse-native_0.2.3.bb index 68dd2184a8..8c17505de9 100644 --- a/recipes/python/python-iniparse-native_0.2.3.bb +++ b/recipes/python/python-iniparse-native_0.2.3.bb @@ -1,7 +1,7 @@ require python-iniparse_${PV}.bb inherit native DEPENDS = "python-native" -RDEPENDS = "" +RDEPENDS_${PN} = "" PR = "r1" do_stage() { diff --git a/recipes/python/python-libgmail_0.1.11.bb b/recipes/python/python-libgmail_0.1.11.bb index 308652a89e..644f3b819a 100644 --- a/recipes/python/python-libgmail_0.1.11.bb +++ b/recipes/python/python-libgmail_0.1.11.bb @@ -19,7 +19,7 @@ do_install() { done } -RDEPENDS = "\ +RDEPENDS_${PN} = "\ python-core \ python-netclient \ python-email \ diff --git a/recipes/python/python-netfilter_0.5.5.bb b/recipes/python/python-netfilter_0.5.5.bb index 3722625b01..4537d78067 100644 --- a/recipes/python/python-netfilter_0.5.5.bb +++ b/recipes/python/python-netfilter_0.5.5.bb @@ -2,7 +2,7 @@ DESCRIPTION = "Python module to manage netfilter rules" SECTION = "devel/python" PRIORITY = "optional" LICENSE = "GPL" -RDEPENDS = "iptables iptables-utils python-logging python-shell python-subprocess" +RDEPENDS_${PN} = "iptables iptables-utils python-logging python-shell python-subprocess" SRCNAME = "python-netfilter" PR = "ml0" diff --git a/recipes/python/python-pexpect_2.3.bb b/recipes/python/python-pexpect_2.3.bb index 329e13b9bf..a661c21079 100644 --- a/recipes/python/python-pexpect_2.3.bb +++ b/recipes/python/python-pexpect_2.3.bb @@ -10,7 +10,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils -RDEPENDS = "\ +RDEPENDS_${PN} = "\ python-core \ python-io \ python-terminal \ diff --git a/recipes/python/python-phoneutils_git.bb b/recipes/python/python-phoneutils_git.bb index 1cf705a05f..492f80348c 100644 --- a/recipes/python/python-phoneutils_git.bb +++ b/recipes/python/python-phoneutils_git.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Python Bindings for libphone-utils" SECTION = "devel/python" DEPENDS = "libphone-utils python-cython-native python-pyrex-native" -RDEPENDS = "libphone-utils" +RDEPENDS_${PN} = "libphone-utils" SRCREV = "8a7c719e0c3f1f8c10f77f17422da02d7177f0dd" PV = "0.0.2+gitr${SRCPV}" diff --git a/recipes/python/python-psyco_1.6.bb b/recipes/python/python-psyco_1.6.bb index 7cc09bbf21..f916fb842f 100644 --- a/recipes/python/python-psyco_1.6.bb +++ b/recipes/python/python-psyco_1.6.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://psyco.sourceforge.net" SECTION = "devel/python" PRIORITY = "optional" LICENSE = "PSF" -RDEPENDS = "python-core" +RDEPENDS_${PN} = "python-core" SRCNAME = "psyco" SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}-src.tar.gz" diff --git a/recipes/python/python-pycap_0.1.6.bb b/recipes/python/python-pycap_0.1.6.bb index 0757d5f884..61d4b53dda 100644 --- a/recipes/python/python-pycap_0.1.6.bb +++ b/recipes/python/python-pycap_0.1.6.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Python Packet Capture Library" SECTION = "devel/python" PRIORITY = "optional" -RDEPENDS = "python-core" +RDEPENDS_${PN} = "python-core" DEPENDS = "libpcap libnet" SRCNAME = "pycap" PR = "r1" diff --git a/recipes/python/python-pycups_1.9.45.bb b/recipes/python/python-pycups_1.9.45.bb index 145cd7c47f..66afd92dc5 100644 --- a/recipes/python/python-pycups_1.9.45.bb +++ b/recipes/python/python-pycups_1.9.45.bb @@ -13,7 +13,7 @@ inherit distutils # used during compilation CFLAGS += -DVERSION=\\"${PV}\\" -RDEPENDS = "python-core cups" +RDEPENDS_${PN} = "python-core cups" SRC_URI[md5sum] = "ff634a6751f8a859ed26751bf03abef0" SRC_URI[sha256sum] = "ef6e576e5465da9c338ac8ff9f162825cfb7997359efc52e6a110c295a9f363b" diff --git a/recipes/python/python-pycurl_7.18.2.bb b/recipes/python/python-pycurl_7.18.2.bb index c66e94cbe9..401a46cc51 100644 --- a/recipes/python/python-pycurl_7.18.2.bb +++ b/recipes/python/python-pycurl_7.18.2.bb @@ -14,7 +14,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" inherit distutils -RDEPENDS = "python-core curl (>=${PV})" +RDEPENDS_${PN} = "python-core curl (>=${PV})" SRC_URI[md5sum] = "39210d56f1d5a75ac8dd6a2866a93dd5" SRC_URI[sha256sum] = "95d21bd61e03d22ee4ac18fc0b9040c163cb504c4b2cf1dc43c18f32508f6736" diff --git a/recipes/python/python-pycurl_7.19.0.bb b/recipes/python/python-pycurl_7.19.0.bb index 3551b32b28..716098550d 100644 --- a/recipes/python/python-pycurl_7.19.0.bb +++ b/recipes/python/python-pycurl_7.19.0.bb @@ -16,4 +16,4 @@ SRC_URI[archive.sha256sum] = "eb782dfcc5a7c023539a077462b83c167e178128ee9f720166 inherit distutils -RDEPENDS = "python-core curl" +RDEPENDS_${PN} = "python-core curl" diff --git a/recipes/python/python-pyfits_1.3.bb b/recipes/python/python-pyfits_1.3.bb index ea99a4692c..bf5f0777d8 100644 --- a/recipes/python/python-pyfits_1.3.bb +++ b/recipes/python/python-pyfits_1.3.bb @@ -1,7 +1,7 @@ DESCRIPTION = "PyFITS provides an interface to FITS formatted files under the Python scripting language." HOMEPAGE = "http://www.stsci.edu/resources/software_hardware/pyfits" AUTHOR = "Space Telescope Science Institute" -RDEPENDS = "python-numpy" +RDEPENDS_${PN} = "python-numpy" SECTION = "devel/python" LICENSE = "AURA" PR = "ml0" diff --git a/recipes/python/python-pyftpdlib_0.5.1.bb b/recipes/python/python-pyftpdlib_0.5.1.bb index b2ee723f93..1cee0752fd 100644 --- a/recipes/python/python-pyftpdlib_0.5.1.bb +++ b/recipes/python/python-pyftpdlib_0.5.1.bb @@ -9,7 +9,7 @@ inherit distutils SRC_URI = "http://pyftpdlib.googlecode.com/files/pyftpdlib-${PV}.tar.gz" S = "${WORKDIR}/pyftpdlib-${PV}" -RDEPENDS = "python-netserver" +RDEPENDS_${PN} = "python-netserver" SRC_URI[md5sum] = "f64ac67ebec1d8ab47c0766082617384" SRC_URI[sha256sum] = "6daed9475412eaab232e021ed76568c6520dacd75c58da406454139bef95c393" diff --git a/recipes/python/python-pygame_1.9.1.bb b/recipes/python/python-pygame_1.9.1.bb index bbeedda3a9..dba915f2cf 100644 --- a/recipes/python/python-pygame_1.9.1.bb +++ b/recipes/python/python-pygame_1.9.1.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.pygame.org" LICENSE = "LGPL" DEPENDS = "libsdl-x11 libsdl-image libsdl-mixer libsdl-net libsdl-ttf python-numeric" DEPENDS += "${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'smpeg', d)}" -RDEPENDS = "python-numeric" +RDEPENDS_${PN} = "python-numeric" SRCNAME = "pygame" < |
