summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb b/meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb
new file mode 100644
index 0000000000..17f187a5f3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb
@@ -0,0 +1,42 @@
1SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a"
4
5SRC_URI[sha256sum] = "05d0213193f2fbaae60e2ecb593b4add4262ad4e46536b54abe36f11a71724e0"
6
7inherit pypi python_hatchling ptest
8
9CVE_PRODUCT = "starlette"
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS:${PN}-ptest += " \
16 python3-attrs \
17 python3-ctypes \
18 python3-httpx \
19 python3-itsdangerous \
20 python3-jinja2 \
21 python3-outcome \
22 python3-pytest \
23 python3-pytest-asyncio \
24 python3-pytest-forked \
25 python3-python-multipart \
26 python3-sortedcontainers \
27 python3-terminal \
28 python3-trio \
29 python3-typing-extensions \
30 python3-unittest-automake-output \
31 python3-pyyaml \
32 python3-httpx2 \
33"
34
35do_install_ptest() {
36 install -d ${D}${PTEST_PATH}/tests
37 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
38}
39
40RDEPENDS:${PN} += " \
41 python3-anyio \
42"