package/python-fastapi-sessions: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2023-12-14 09:54:18 -07:00 committed by Thomas Petazzoni
parent 8e0ac9660c
commit 607f0ecb7e
4 changed files with 30 additions and 0 deletions

View File

@ -1083,6 +1083,7 @@ menu "External python modules"
source "package/python-executing/Config.in"
source "package/python-falcon/Config.in"
source "package/python-fastapi/Config.in"
source "package/python-fastapi-sessions/Config.in"
source "package/python-filelock/Config.in"
source "package/python-fire/Config.in"
source "package/python-flask/Config.in"

View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_FASTAPI_SESSIONS
bool "python-fastapi-sessions"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
select BR2_PACKAGE_PYTHON_FASTAPI # runtime
select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime
select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
help
Ready-to-use session library for FastAPI.
https://github.com/jordanisaacs/fastapi-sessions

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/fastapi-sessions/json
md5 397ee37291bdbb7330ef8f4af378cd28 fastapi-sessions-0.3.2.tar.gz
sha256 5159023fd548f8a9c198a966cf1086a73a43038cf3b9b79175fe33129f15e64c fastapi-sessions-0.3.2.tar.gz
# Locally computed sha256 checksums
sha256 4962ee6d7777ff7d2f96ad81424c2e78d73ea7f6282d368afa14a7500c2d223e LICENSE

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-fastapi-sessions
#
################################################################################
PYTHON_FASTAPI_SESSIONS_VERSION = 0.3.2
PYTHON_FASTAPI_SESSIONS_SOURCE = fastapi-sessions-$(PYTHON_FASTAPI_SESSIONS_VERSION).tar.gz
PYTHON_FASTAPI_SESSIONS_SITE = https://files.pythonhosted.org/packages/1d/89/da83ba47bd70101e14eca0ac57c7f300b055b70104446badfdc1dcbe813f
PYTHON_FASTAPI_SESSIONS_SETUP_TYPE = setuptools
PYTHON_FASTAPI_SESSIONS_LICENSE = MIT
PYTHON_FASTAPI_SESSIONS_LICENSE_FILES = LICENSE
$(eval $(python-package))