Skip to content

Commit

Permalink
libgpiod: Rrecommend python3 only for PN-python package
Browse files Browse the repository at this point in the history
Fixes overdependency on PN

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Dec 23, 2018
1 parent 2552c8e commit 56fe916
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meta-oe/recipes-support/libgpiod/libgpiod_1.2.bb
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ SRC_URI[sha256sum] = "b6b9079c933f7c8524815437937dda6b795a16141bca202a9eec70ba58

PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx"

PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core"
PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,"
inherit ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)}

PACKAGES =+ "${PN}-python"
FILES_${PN}-python = "${PYTHON_SITEPACKAGES_DIR}"
RRECOMMENDS_PYTHON = "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '',d)}"
RRECOMMENDS_${PN} += "${RRECOMMENDS_PYTHON}"
RRECOMMENDS_${PN}-python += "${RRECOMMENDS_PYTHON}"

0 comments on commit 56fe916

Please sign in to comment.