aboutsummaryrefslogtreecommitdiffstats
path: root/meta-offline-voice-agent/recipes-python/python3-rasa/python3-rasa-sdk_3.6.1.bb
blob: 9f48efdf2fc0ab847fde5e6657d219a6df6e0e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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
}