python-chardet: add a separate package for the cli utils
PATCH 1/2 python-chardet: add a separate package for the cli utils
Signed-off-by Derek Straka <[email protected]>
--- meta-python/recipes-devtools/python/python-chardet.inc | 6 ++++++ 1 file changed, 6 insertions(+)
meta-python/recipes-devtools/python/python-chardet.inc +6 -0
@@ -11,3 +11,9 @@ SRC_URI[md5sum] = "7dd1ba7f9c77e32351b0a0cfacf4055c" SRC_URI[sha256sum] = "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae" BBCLASSEXTEND = "native nativesdk" + +PACKAGES =+ "${PN}-cli" +RDEPENDS_${PN}-cli = "${PN} " +FILES_${PN}-cli += " \ + ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \ +"
Signature · 1 line
2.7.4
PATCH 2/2 python-chardet: fix the RDEPENDS to work on a minimal python install
Signed-off-by Derek Straka <[email protected]>
--- meta-python/recipes-devtools/python/python-chardet.inc | 5 +++++ 1 file changed, 5 insertions(+)
meta-python/recipes-devtools/python/python-chardet.inc +5 -0
@@ -17,3 +17,8 @@ RDEPENDS_${PN}-cli = "${PN} " FILES_${PN}-cli += " \ ${PYTHON_SITEPACKAGES_DIR}/chardet/cli \ " + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-argparse \ + ${PYTHON_PN}-logging \ +"
Signature · 1 line
2.7.4