<commit_before>DESCRIPTION = "Python client library for Gumstix RoboVero"
HOMEPAGE = "https://github.com/robovero/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=52b7490557d2fd1a2c673d32aa5d4b8a"
SRCREV = "a0c5719086348af7d1a9c91f04a255f512bb38d4"
SRC_URI = "git://github.com/robovero/python.git;branch=master"
DEPENDS = "python python-pyserial"
RDEPENDS_${PN} = "python-pyserial"

S = "${WORKDIR}/git"

inherit python-dir 

do_install() {
	SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR}

	install -d ${D}${ROOT_HOME}/robovero-python
        install -d ${SITE_PACKAGES}/robovero
	install -m 755 ${S}/*.py ${D}${ROOT_HOME}/robovero-python/
	install -m 755 ${S}/robovero/*.py ${SITE_PACKAGES}/robovero/
}

FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} ${ROOT_HOME}/robovero-python"
<commit_msg>[robovero] split packages for robovero-examples<commit_after>DESCRIPTION = "Python client library for Gumstix RoboVero"
HOMEPAGE = "https://github.com/robovero/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=52b7490557d2fd1a2c673d32aa5d4b8a"
SRCREV = "a0c5719086348af7d1a9c91f04a255f512bb38d4"
SRC_URI = "git://github.com/robovero/python.git;branch=master"
DEPENDS = "python python-pyserial"
RDEPENDS_${PN} = "python-pyserial"

PACKAGES += "${PN}-examples"

S = "${WORKDIR}/git"

inherit python-dir

do_install() {
	SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR}

	install -d ${D}${ROOT_HOME}/robovero-python
        install -d ${SITE_PACKAGES}/robovero
	install -m 755 ${S}/*.py ${D}${ROOT_HOME}/robovero-python/
	install -m 755 ${S}/robovero/*.py ${SITE_PACKAGES}/robovero/
}

FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} "
FILES_${PN}-examples += "${ROOT_HOME}/robovero-python"

{'fraction_non_alphanumeric': 0.16743916570104286, 'fraction_numerical': 0.06257242178447277, 'mean_word_length': 6.020325203252033, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4736572', 'n_tokens_mistral': 800, 'n_tokens_neox': 732, 'n_words': 101}