@@ -1381,6 +1381,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"
new file mode 100644
@@ -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
new file mode 100644
@@ -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
new file mode 100644
@@ -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))
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- package/Config.in | 1 + package/python-tortoise-orm/Config.in | 10 ++++++++++ .../python-tortoise-orm/python-tortoise-orm.hash | 5 +++++ .../python-tortoise-orm/python-tortoise-orm.mk | 15 +++++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 package/python-tortoise-orm/Config.in create mode 100644 package/python-tortoise-orm/python-tortoise-orm.hash create mode 100644 package/python-tortoise-orm/python-tortoise-orm.mk