<commit_before>require libgpiod.inc

DEPENDS += "autoconf-archive-native"

SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641"
SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1"<commit_msg>libgpiod: add packageconfig for python bindings<commit_after>require libgpiod.inc

DEPENDS += "autoconf-archive-native"

SRC_URI[md5sum] = "80237a047a9d653a14c5d71e5ce9d641"
SRC_URI[sha256sum] = "9758466468a7ef3f5e30c182c1303abef6241e665cda4d82a64328a7474838c1"

PACKAGECONFIG[python3] = "--enable-bindings-python,--disable-bindings-python,python3,python3-core"
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}"
{'fraction_non_alphanumeric': 0.14977477477477477, 'fraction_numerical': 0.16666666666666666, 'mean_word_length': 10.397435897435898, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2267126', 'n_tokens_mistral': 461, 'n_tokens_neox': 390, 'n_words': 38}