package/python-starlette: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2023-12-14 09:54:15 -07:00 committed by Thomas Petazzoni
parent 111e725b08
commit cfb0987517
4 changed files with 28 additions and 0 deletions

View File

@ -1349,6 +1349,7 @@ menu "External python modules"
source "package/python-sqliteschema/Config.in"
source "package/python-sqlparse/Config.in"
source "package/python-stack-data/Config.in"
source "package/python-starlette/Config.in"
source "package/python-systemd/Config.in"
source "package/python-tabledata/Config.in"
source "package/python-tempora/Config.in"

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_STARLETTE
bool "python-starlette"
select BR2_PACKAGE_PYTHON_ANYIO # runtime
help
The little ASGI library that shines.
https://github.com/encode/starlette

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/starlette/json
md5 5193c4b7d2ea4c93635c340a7ba9b54f starlette-0.27.0.tar.gz
sha256 6a6b0d042acb8d469a01eba54e9cda6cbd24ac602c4cd016723117d6a7e73b75 starlette-0.27.0.tar.gz
# Locally computed sha256 checksums
sha256 dcb95677a02240243187e964f941847d19b17821cf99e5afae684fab328c19bf LICENSE.md

View File

@ -0,0 +1,15 @@
################################################################################
#
# python-starlette
#
################################################################################
PYTHON_STARLETTE_VERSION = 0.27.0
PYTHON_STARLETTE_SOURCE = starlette-$(PYTHON_STARLETTE_VERSION).tar.gz
PYTHON_STARLETTE_SITE = https://files.pythonhosted.org/packages/06/68/559bed5484e746f1ab2ebbe22312f2c25ec62e4b534916d41a8c21147bf8
PYTHON_STARLETTE_SETUP_TYPE = pep517
PYTHON_STARLETTE_LICENSE = BSD-3-Clause
PYTHON_STARLETTE_LICENSE_FILES = LICENSE.md
PYTHON_STARLETTE_DEPENDENCIES = host-python-hatchling
$(eval $(python-package))