package/python-tortoise-orm: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
James Hilliard
2024-04-01 15:23:41 -06:00
committed by Arnout Vandecappelle
parent 9fecf2811c
commit 500070c105
4 changed files with 31 additions and 0 deletions

View File

@@ -1397,6 +1397,7 @@ menu "External python modules"
source "package/python-toml/Config.in"
source "package/python-tomli/Config.in"
source "package/python-tornado/Config.in"
source "package/python-tortoise-orm/Config.in"
source "package/python-tqdm/Config.in"
source "package/python-trafaret/Config.in"
source "package/python-traitlets/Config.in"

View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_TORTOISE_ORM
bool "python-tortoise-orm"
select BR2_PACKAGE_PYTHON_AIOSQLITE # runtime
select BR2_PACKAGE_PYTHON_ISO8601 # runtime
select BR2_PACKAGE_PYTHON_PYPIKA_TORTOISE # runtime
select BR2_PACKAGE_PYTHON_PYTZ # runtime
help
Easy async ORM for python, built with relations in mind.
https://github.com/tortoise/tortoise-orm

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/tortoise-orm/json
md5 aa5efa50e69d0a67b75c187f7550acd7 tortoise_orm-0.20.0.tar.gz
sha256 283af584d685dcc58d6cc1da35b9115bb1e41c89075eae2a19c493b39b9b41f7 tortoise_orm-0.20.0.tar.gz
# Locally computed sha256 checksums
sha256 f955d347b975d5867ee364f978476b3012878a706d468571b9758cac74de6041 LICENSE.txt

View File

@@ -0,0 +1,15 @@
################################################################################
#
# python-tortoise-orm
#
################################################################################
PYTHON_TORTOISE_ORM_VERSION = 0.20.0
PYTHON_TORTOISE_ORM_SOURCE = tortoise_orm-$(PYTHON_TORTOISE_ORM_VERSION).tar.gz
PYTHON_TORTOISE_ORM_SITE = https://files.pythonhosted.org/packages/3b/84/8ca142fe370d59c4e3135825b2822d199c4f885ae855657c1a7361e68511
PYTHON_TORTOISE_ORM_SETUP_TYPE = pep517
PYTHON_TORTOISE_ORM_LICENSE = Apache-2.0
PYTHON_TORTOISE_ORM_LICENSE_FILES = LICENSE.txt
PYTHON_TORTOISE_ORM_DEPENDENCIES = host-python-poetry-core
$(eval $(python-package))