mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 14:25:53 +01:00
python3-starlette: Add recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
d1a2b7ec56
commit
2c11a99e93
|
|
@ -72,6 +72,7 @@ PTESTS_FAST_META_PYTHON = "\
|
|||
python3-smpplib \
|
||||
python3-soupsieve \
|
||||
python3-sqlparse \
|
||||
python3-starlette \
|
||||
python3-tomli-w \
|
||||
python3-tomlkit \
|
||||
python3-trustme \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
pytest --automake --forked --deselect tests/test_staticfiles.py::test_staticfiles_with_invalid_dir_permissions_returns_401
|
||||
|
|
@ -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] = "b35acedae74e95967dd9c0a47b45f5803dcd8973d0d95c18c1abb184845ba42c"
|
||||
|
||||
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 \
|
||||
"
|
||||
Loading…
Reference in New Issue
Block a user