Add python to python-distribute and connman-tests' RDEPENDS
cover Add python to python-distribute and connman-tests' RDEPENDS
We don't need this in theory, they are only used for fixing the QA check of file-depends, we need add python to the RDEPENDS here is because the "rpmdeps" can't find the indirect dependencies.
I think that add python to their RDEPENDS is harmless, or we can disable the file-depends check for the two recipes.
//Robert
The following changes since commit fa325e44f5b429b4038022b31285af9c94672943:
insane: Ensure do_package_qa happens after do_packagedata (2014-07-11 23:19:18 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/python
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/python
Robert Yang (2):
connman: add python to RDEPENDS_connman-tests
python-distribute: add python to RDEPENDS_python-distribute
meta/recipes-connectivity/connman/connman.inc | 4 +++- .../python/python-distribute_0.6.32.bb | 1 + .../python/python3-distribute_0.6.32.bb | 1 + 3 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
PATCH 1/2 connman: add python to RDEPENDS_connman-tests
We don't need this in theory since:
connman-tests -> python-subprocess -> python-core
But the rpmdeps can't figure out the dependencies recursively, and add python to fix the warning.
[YOCTO #1662]
--- meta/recipes-connectivity/connman/connman.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-connectivity/connman/connman.inc +3 -1
@@ -154,7 +154,9 @@ PACKAGES =+ "${PN}-tools ${PN}-tests ${PN}-client" FILES_${PN}-tools = "${bindir}/wispr" FILES_${PN}-tests = "${bindir}/*-test ${libdir}/${BPN}/test/*" -RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils python-subprocess python-fcntl python-netclient" +RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils \ + python-subprocess python-fcntl python-netclient python \ + " FILES_${PN}-client = "${bindir}/connmanctl"
Signature · 1 line
1.7.9.5
PATCH 2/2 python-distribute: add python to RDEPENDS_python-distribute
In reply to Robert YangWe don't need this in theory since:
python-distribute -> python-distutils -> python-core
But the rpmdeps can't figure out the dependencies recursively, and add python to fix the warning.
[YOCTO #1662]
--- .../python/python-distribute_0.6.32.bb | 1 + .../python/python3-distribute_0.6.32.bb | 1 + 2 files changed, 2 insertions(+)
meta/recipes-devtools/python/python-distribute_0.6.32.bb +1 -0
@@ -42,6 +42,7 @@ do_install_append() { RDEPENDS_${PN} = "\ python-distutils \ python-compression \ + python \ " RPROVIDES_${PN} += "python-setuptools"
meta/recipes-devtools/python/python3-distribute_0.6.32.bb +1 -0
@@ -42,6 +42,7 @@ do_install_append() { RDEPENDS_${PN} = "\ python3-distutils \ python3-compression \ + python3 \ " RPROVIDES_${PN} += "python3-setuptools"
Signature · 1 line
1.7.9.5