<commit_before>SUMMARY = "Set of i2c tools for linux - Python module"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://py-smbus/smbusmodule.c;beginline=1;endline=18;md5=46e424fb045901ab25e0f92c28c80055"

SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz \
           file://0001-Use-setuptools-as-distutils-is-deprecated.patch \
           "
SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148"

DEPENDS += "i2c-tools"

S = "${WORKDIR}/i2c-tools-${PV}"

inherit setuptools3

PIP_INSTALL_PACKAGE = "smbus"
PYPA_WHEEL = "${B}/py-smbus/dist/smbus-*-*.whl"
SETUPTOOLS_SETUP_PATH = "${S}/py-smbus"<commit_msg>Revert "python3-smbus: fix wheel build"<commit_after>SUMMARY = "Set of i2c tools for linux - Python module"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://py-smbus/smbusmodule.c;beginline=1;endline=18;md5=46e424fb045901ab25e0f92c28c80055"

SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz \
           file://0001-Use-setuptools-as-distutils-is-deprecated.patch \
           "
SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148"

DEPENDS += "i2c-tools"

S = "${WORKDIR}/i2c-tools-${PV}"

inherit setuptools3

SETUPTOOLS_SETUP_PATH = "${S}/py-smbus"
{'fraction_non_alphanumeric': 0.15348837209302327, 'fraction_numerical': 0.12945736434108526, 'mean_word_length': 4.949308755760368, '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': '5392616', 'n_tokens_mistral': 678, 'n_tokens_neox': 586, 'n_words': 59}