summaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb
diff options
context:
space:
mode:
authorMalik Talha <talhamalik727x@gmail.com>2023-10-06 23:42:08 +0500
committerMalik Talha <talhamalik727x@gmail.com>2023-10-06 23:42:08 +0500
commit7b4a029168133bbf58c5dfe97e618badfe77b361 (patch)
treeb8f63ff4baec31ba5ca7feb815869b30ccc653ba /meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb
parent713efdf66dca8e60c3db1e720a9bb2bd074c40f3 (diff)
Add dependencies for RASA framework
This adds the libraries for the RASA machine learning framework. Bug-AGL: SPEC-4856 Change-Id: I477b09cae8ff51e284b51238cb5940464ea57a51 Signed-off-by: Malik Talha <talhamalik727x@gmail.com>
Diffstat (limited to 'meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb')
-rw-r--r--meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb b/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb
new file mode 100644
index 00000000..9f48efdf
--- /dev/null
+++ b/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb
@@ -0,0 +1,44 @@
+SUMMARY = "SDK for the development of custom actions for Rasa"
+HOMEPAGE = "https://github.com/RasaHQ/rasa-sdk"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ad8371373a2c6c672f744151097162e1"
+
+SRC_URI = " \
+ git://github.com/RasaHQ/rasa-sdk;protocol=https;branch=main \
+ file://0001-rasa-sdk-remove-group-from-poetry-as-its-not-support.patch \
+ "
+
+PV = "3.6.1+git${SRCPV}"
+SRCREV = "b3e24199f020d876beb7a9ab3bc18afc65ebe989"
+S = "${WORKDIR}/git"
+
+DEPENDS += " \
+ python3-coloredlogs \
+ python3-typing-extensions \
+ python3-websockets \
+ python3-prompt-toolkit \
+ python3-pluggy \
+ python3-ruamel.yaml \
+ python3-sanic \
+ python3-sanic-cors \
+"
+
+inherit python_poetry_core
+
+RDEPENDS:${PN} += " \
+ python3-coloredlogs \
+ python3-typing-extensions \
+ python3-websockets \
+ python3-prompt-toolkit \
+ python3-pluggy \
+ python3-ruamel.yaml \
+ python3-sanic \
+ python3-sanic-cors \
+"
+
+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
+}