summaryrefslogtreecommitdiff
path: root/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb')
-rw-r--r--meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb
new file mode 100644
index 0000000000..87080e9fe9
--- /dev/null
+++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb
@@ -0,0 +1,41 @@
+SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a"
+
+SRC_URI[sha256sum] = "caaa3b87ef8518ef913dac4f073dea44e85f73343ad2bdc17941931835b2a26a"
+
+inherit pypi python_hatchling ptest
+
+PYPI_PACKAGE = "starlette"
+
+SRC_URI += " \
+ file://run-ptest \
+"
+
+RDEPENDS:${PN}-ptest += " \
+ python3-attrs \
+ python3-ctypes \
+ python3-httpx \
+ python3-itsdangerous \
+ python3-jinja2 \
+ python3-outcome \
+ python3-pytest \
+ python3-pytest-asyncio \
+ python3-pytest-forked \
+ python3-python-multipart \
+ python3-sortedcontainers \
+ python3-terminal \
+ python3-trio \
+ python3-typing-extensions \
+ python3-unittest-automake-output \
+ python3-pyyaml \
+"
+
+do_install_ptest() {
+ install -d ${D}${PTEST_PATH}/tests
+ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
+
+RDEPENDS:${PN} += " \
+ python3-anyio \
+"