mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-28 22:17:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From e729bb9b602ba74dea7ccc978dac709283a0934a Mon Sep 17 00:00:00 2001
|
||||
From: strayge <strayge@gmail.com>
|
||||
Date: Fri, 18 Aug 2023 15:03:38 +0400
|
||||
Subject: [PATCH] update poetry build-backend to support editable install
|
||||
|
||||
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
|
||||
Upstream: https://github.com/tortoise/aerich/commit/e729bb9b602ba74dea7ccc978dac709283a0934a
|
||||
---
|
||||
pyproject.toml | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index b9390e1..7673d70 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -45,8 +45,8 @@ location = "./migrations"
|
||||
src_folder = "./."
|
||||
|
||||
[build-system]
|
||||
-requires = ["poetry>=0.12"]
|
||||
-build-backend = "poetry.masonry.api"
|
||||
+requires = ["poetry-core>=1.0.0"]
|
||||
+build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
aerich = "aerich.cli:main"
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_PYTHON_AERICH
|
||||
bool "python-aerich"
|
||||
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
|
||||
select BR2_PACKAGE_PYTHON_CLICK # runtime
|
||||
select BR2_PACKAGE_PYTHON_DICTDIFFER # runtime
|
||||
select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
|
||||
select BR2_PACKAGE_PYTHON_TOMLKIT # runtime
|
||||
select BR2_PACKAGE_PYTHON_TORTOISE_ORM # runtime
|
||||
help
|
||||
A database migrations tool for Tortoise ORM.
|
||||
|
||||
https://github.com/tortoise/aerich
|
||||
@@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/aerich/json
|
||||
md5 26a99a2c6c604a370b228b74e12c7981 aerich-0.7.2.tar.gz
|
||||
sha256 31d67de7b96184636b89de99062e059e5e6204b6251d24c33eb21fc9cf982e09 aerich-0.7.2.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 4cc00f0e33ac8e089b37d8a1474be441b26311bdc16fe035c75b51201515f617 LICENSE
|
||||
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-aerich
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_AERICH_VERSION = 0.7.2
|
||||
PYTHON_AERICH_SOURCE = aerich-$(PYTHON_AERICH_VERSION).tar.gz
|
||||
PYTHON_AERICH_SITE = https://files.pythonhosted.org/packages/ca/cd/ae9c60ffc21e2d41e22c62cbf24a60dfad937222d880489703842d179746
|
||||
PYTHON_AERICH_SETUP_TYPE = pep517
|
||||
PYTHON_AERICH_LICENSE = Apache-2.0
|
||||
PYTHON_AERICH_LICENSE_FILES = LICENSE
|
||||
PYTHON_AERICH_DEPENDENCIES = host-python-poetry-core
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user