SUMMARY = "Open source machine learning framework to automate text- and voice-based conversations" HOMEPAGE = "https://github.com/RasaHQ/rasa" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=930bc50f846c55c70b79b78055ae3d9b" PYPI_PACKAGE = "rasa" SRC_URI += " \ file://rasa-service.service \ file://0001-rasa-remove-group-from-poetry-as-its-not-supported.patch \ " SRC_URI[md5sum] = "7aab346588a3056b54ff783357e4d081" SRC_URI[sha256sum] = "21e57a99bdec8d9f36f7828985c8e3fb3bf3b2c3c94a856d3006e0a68b41a399" inherit pypi python_poetry_core systemd SYSTEMD_SERVICE:${PN} = "rasa-service.service" RDEPENDS:${PN} += " \ python3-requests \ python3-matplotlib \ python3-absl \ python3-tqdm \ python3-numpy \ python3-pyyaml \ python3-aiohttp \ python3-attrs \ python3-websockets \ python3-typing-extensions \ python3-pytz \ python3-protobuf \ python3-regex \ python3-pydot \ python3-packaging \ python3-jsonschema \ python3-networkx \ python3-ujson \ python3-dateutil \ python3-portalocker \ python3-pluggy \ python3-pykwalify \ python3-sentry-sdk \ python3-pymongo \ python3-sqlalchemy \ python3-socketio \ python3-cachecontrol \ python3-google-auth \ tensorflow \ python3-typing-utils \ python3-aiogram \ python3-aio-pika \ python3-joblib \ python3-scipy \ python3-scikit-learn \ python3-sklearn-crfsuite \ python3-jsonpickle \ python3-ruamel.yaml \ python3-structlog \ python3-structlog-sentry \ python3-tarsafe \ python3-terminaltables \ python3-sanic \ python3-sanic-cors \ python3-sanic-jwt \ python3-sanic-routing \ python3-randomname \ python3-questionary \ python3-rasa-sdk \ python3-fbmessenger \ python3-slack-sdk \ python3-babel \ python3-twilio \ python3-webexteamssdk \ python3-apscheduler \ python3-boto3 \ python3-dask \ " do_install:append() { # Remove README and LICENSE from the site-packages directory as they shouldn't be placed there, # it causes conflicts. rm -f ${D}${libdir}/python3.10/site-packages/README.md rm -f ${D}${libdir}/python3.10/site-packages/LICENSE.txt # Initialize our service definition if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then install -d ${D}${systemd_system_unitdir} install -m 0644 ${WORKDIR}/rasa-service.service ${D}${systemd_system_unitdir} fi }