From 79b0306691419d5096f31656dcb60beb6c7a4eab Mon Sep 17 00:00:00 2001 From: Wook Song Date: Tue, 24 Sep 2019 10:45:41 +0900 Subject: [PATCH] [Recipe/NNStreamer] Revise dependencies on python/python3 This patch revises dependencies on python/python3. Note that unittest tools included in NNStreamer are not compatible with python3. For this reason, RDEPENDS of the unittest package on python3 packages are removed. From now, the unittest package has runtime dependencies on only python2 packages. Signed-off-by: Wook Song --- recipes-nnstreamer/nnstreamer/nnstreamer_0.2.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recipes-nnstreamer/nnstreamer/nnstreamer_0.2.0.bb b/recipes-nnstreamer/nnstreamer/nnstreamer_0.2.0.bb index 5fbfac5..cb2afd1 100644 --- a/recipes-nnstreamer/nnstreamer/nnstreamer_0.2.0.bb +++ b/recipes-nnstreamer/nnstreamer/nnstreamer_0.2.0.bb @@ -11,6 +11,7 @@ DEPENDS = "orc-native glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gtest" DEPENDS += "\ ${@bb.utils.contains('DISTRO_FEATURES','tensorflow-lite','tensorflow-lite','',d)} \ " +DEPENDS += "python python-numpy python3 python3-numpy" SRC_URI = "\ git://github.com/nnsuite/nnstreamer.git;protocol=https \ @@ -67,13 +68,16 @@ FILES_${PN}-tensorflow-lite += "\ '${libdir}/nnstreamer/filters/libnnstreamer_filter_tensorflow-lite.so','',d)} \ " -RDEPENDS_${PN}-unittest = "nnstreamer gstreamer1.0-plugins-good python3-numpy python3-math ssat python-math python-numpy" +RDEPENDS_${PN}-unittest = "nnstreamer gstreamer1.0-plugins-good ssat" +RDEPENDS_${PN}-unittest += "python python-numpy python-numbers python-unittest python-misc" RDEPENDS_${PN}-unittest += "\ ${@bb.utils.contains('DISTRO_FEATURES','tensorflow-lite', \ '${PN}-tensorflow-lite','',d)} \ " RDEPENDS_${PN} = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base" +RDEPENDS_${PN} += "python python-numpy python-math" +RDEPENDS_${PN} += "python3 python3-numpy python3-math" FILES_${PN}-dev = "\ ${includedir}/nnstreamer/* \