fix faulty PR #581
PYTHON_PN is not equal to 'python2' for Python 2 but 'python'.
This commit is contained in:
parent
cd5934f6cc
commit
c017174e78
|
@ -18,7 +18,7 @@ RDEPENDS_${PN}_class-native = ""
|
||||||
RDEPENDS_${PN} = "\
|
RDEPENDS_${PN} = "\
|
||||||
${PYTHON_PN}-catkin-pkg ${PYTHON_PN}-misc ${PYTHON_PN}-multiprocessing \
|
${PYTHON_PN}-catkin-pkg ${PYTHON_PN}-misc ${PYTHON_PN}-multiprocessing \
|
||||||
${PYTHON_PN}-shell ${PYTHON_PN}-xml ${PYTHON_PN}-pkgutil \
|
${PYTHON_PN}-shell ${PYTHON_PN}-xml ${PYTHON_PN}-pkgutil \
|
||||||
${@'python-argparse python-subprocess' if d.getVar('PYTHON_PN', True) == 'python2' else ''}"
|
${@'python-argparse python-subprocess' if d.getVar('PYTHON_PN', True) == 'python' else ''}"
|
||||||
|
|
||||||
# Delete everything but the python packages in order to avoid
|
# Delete everything but the python packages in order to avoid
|
||||||
# that the QA error [installed-vs-shipped] hits on us.
|
# that the QA error [installed-vs-shipped] hits on us.
|
||||||
|
|
|
@ -16,7 +16,7 @@ SRC_URI += "file://0001-increase-rosmaster-timeout.patch;patchdir=../.. \
|
||||||
ROS_PKG_SUBDIR = "tools"
|
ROS_PKG_SUBDIR = "tools"
|
||||||
|
|
||||||
RDEPENDS_${PN} = "\
|
RDEPENDS_${PN} = "\
|
||||||
${@'python-textutils' if d.getVar('PYTHON_PN', True) == 'python2' else ''} \
|
${@'python-textutils' if d.getVar('PYTHON_PN', True) == 'python' else ''} \
|
||||||
${PYTHON_PN}-logging \
|
${PYTHON_PN}-logging \
|
||||||
${PYTHON_PN}-threading \
|
${PYTHON_PN}-threading \
|
||||||
${PYTHON_PN}-rospkg \
|
${PYTHON_PN}-rospkg \
|
||||||
|
|
|
@ -14,4 +14,4 @@ SRC_URI[sha256sum] = "a8fecbe03f9757510fe47137642e39a7c31b823d5bf7fa7890acc11691
|
||||||
inherit catkin
|
inherit catkin
|
||||||
|
|
||||||
RDEPENDS_${PN} = "${PYTHON_PN}-rosdep \
|
RDEPENDS_${PN} = "${PYTHON_PN}-rosdep \
|
||||||
${@'python-subprocess' if d.getVar('PYTHON_PN', True) == 'python2' else ''}"
|
${@'python-subprocess' if d.getVar('PYTHON_PN', True) == 'python' else ''}"
|
||||||
|
|
Loading…
Reference in New Issue