package/python-pypika-tortoise: new package
PATCH v4 1/5 package/python-pypika-tortoise: new package
--- package/Config.in | 1 + package/python-pypika-tortoise/Config.in | 6 ++++++ .../python-pypika-tortoise.hash | 5 +++++ .../python-pypika-tortoise.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-pypika-tortoise/Config.in create mode 100644 package/python-pypika-tortoise/python-pypika-tortoise.hash create mode 100644 package/python-pypika-tortoise/python-pypika-tortoise.mk
package/Config.in +1 -0
@@ -1277,6 +1277,7 @@ menu "External python modules" source "package/python-pyparsing/Config.in" source "package/python-pyparted/Config.in" source "package/python-pyphen/Config.in" + source "package/python-pypika-tortoise/Config.in" source "package/python-pypng/Config.in" source "package/python-pyqrcode/Config.in" source "package/python-pyqt5/Config.in"
package/python-pypika-tortoise/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYPIKA_TORTOISE + bool "python-pypika-tortoise" + help + Forked from pypika and streamline just for tortoise-orm. + + https://github.com/tortoise/pypika-tortoise
package/python-pypika-tortoise/python-pypika-tortoise.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pypika-tortoise/json +md5 98c9677516f06f61f211f834d51949a6 pypika-tortoise-0.1.6.tar.gz +sha256 d802868f479a708e3263724c7b5719a26ad79399b2a70cea065f4a4cadbebf36 pypika-tortoise-0.1.6.tar.gz +# Locally computed sha256 checksums +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE
package/python-pypika-tortoise/python-pypika-tortoise.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# python-pypika-tortoise +# +################################################################################ + +PYTHON_PYPIKA_TORTOISE_VERSION = 0.1.6 +PYTHON_PYPIKA_TORTOISE_SOURCE = pypika-tortoise-$(PYTHON_PYPIKA_TORTOISE_VERSION).tar.gz +PYTHON_PYPIKA_TORTOISE_SITE = https://files.pythonhosted.org/packages/86/55/1bfd4150f664d2e07b36c8f442178cc1f717bb9ae6cae20f21e851c208c6 +PYTHON_PYPIKA_TORTOISE_SETUP_TYPE = pep517 +PYTHON_PYPIKA_TORTOISE_LICENSE = Apache-2.0 +PYTHON_PYPIKA_TORTOISE_LICENSE_FILES = LICENSE +PYTHON_PYPIKA_TORTOISE_DEPENDENCIES = host-python-poetry-core + +$(eval $(python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v4 2/5 package/python-tortoise-orm: new package
--- 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
package/Config.in +1 -0
@@ -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"
package/python-tortoise-orm/Config.in new file +10 -0
@@ -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
package/python-tortoise-orm/python-tortoise-orm.hash new file +5 -0
@@ -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
package/python-tortoise-orm/python-tortoise-orm.mk new file +15 -0
@@ -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))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v4 3/5 package/python-dictdiffer: new package
In reply to James HilliardWe need to set --skip-dependency-check to prevent pytest-runner from being required to build python-dictdiffer.
--- package/Config.in | 1 + package/python-dictdiffer/Config.in | 7 +++++++ package/python-dictdiffer/python-dictdiffer.hash | 5 +++++ package/python-dictdiffer/python-dictdiffer.mk | 16 ++++++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 package/python-dictdiffer/Config.in create mode 100644 package/python-dictdiffer/python-dictdiffer.hash create mode 100644 package/python-dictdiffer/python-dictdiffer.mk
package/Config.in +1 -0
@@ -1064,6 +1064,7 @@ menu "External python modules" source "package/python-decouple/Config.in" source "package/python-defusedxml/Config.in" source "package/python-dialog3/Config.in" + source "package/python-dictdiffer/Config.in" source "package/python-dicttoxml/Config.in" source "package/python-dicttoxml2/Config.in" source "package/python-distro/Config.in"
package/python-dictdiffer/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_DICTDIFFER + bool "python-dictdiffer" + help + Dictdiffer is a library that helps you to diff and patch + dictionaries. + + https://github.com/inveniosoftware/dictdiffer
package/python-dictdiffer/python-dictdiffer.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dictdiffer/json +md5 524b353b969300d4dc6aa6720c953657 dictdiffer-0.9.0.tar.gz +sha256 17bacf5fbfe613ccf1b6d512bd766e6b21fb798822a133aa86098b8ac9997578 dictdiffer-0.9.0.tar.gz +# Locally computed sha256 checksums +sha256 1f9e05b3b9a6fad24cc67455578bcdfd3e89b09a25c45369a5254203bbe2bdd3 LICENSE
package/python-dictdiffer/python-dictdiffer.mk new file +16 -0
@@ -0,0 +1,16 @@ +################################################################################ +# +# python-dictdiffer +# +################################################################################ + +PYTHON_DICTDIFFER_VERSION = 0.9.0 +PYTHON_DICTDIFFER_SOURCE = dictdiffer-$(PYTHON_DICTDIFFER_VERSION).tar.gz +PYTHON_DICTDIFFER_SITE = https://files.pythonhosted.org/packages/61/7b/35cbccb7effc5d7e40f4c55e2b79399e1853041997fcda15c9ff160abba0 +PYTHON_DICTDIFFER_SETUP_TYPE = setuptools +PYTHON_DICTDIFFER_LICENSE = MIT +PYTHON_DICTDIFFER_LICENSE_FILES = LICENSE +PYTHON_DICTDIFFER_DEPENDENCIES = host-python-setuptools-scm +PYTHON_DICTDIFFER_BUILD_OPTS = --skip-dependency-check + +$(eval $(python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH v4 3/5] package/python-dictdiffer: new package
Quoted 4 lines · James Hilliard
We need to set --skip-dependency-check to prevent pytest-runner from being required to build python-dictdiffer.
Signed-off-by James Hilliard <[email protected]>
Applied all 5 to master, thanks. I just have a question about this one.
[snip]
Quoted 6 lines
package/python-dictdiffer/python-dictdiffer.mk new file +0
-0
package/python-dictdiffer/python-dictdiffer.mk line 10
Quoted 10 lines
package/python-dictdiffer/python-dictdiffer.mk new file +10
-0@@ -0,0 +1,16 @@ +################################################################################ +# +# python-dictdiffer +# +################################################################################ + +PYTHON_DICTDIFFER_VERSION = 0.9.0 +PYTHON_DICTDIFFER_SOURCE = dictdiffer-$(PYTHON_DICTDIFFER_VERSION).tar.gz +PYTHON_DICTDIFFER_SITE = https://files.pythonhosted.org/packages/61/7b/35cbccb7effc5d7e40f4c55e2b79399e1853041997fcda15c9ff160abba0 +PYTHON_DICTDIFFER_SETUP_TYPE = setuptools
IIUC, the setuptools setup type is in fact identical to pep517, the only
difference is that a dependency on host-python-setuptools is added, right? So I wonder if for new packages, we shouldn't do it that way. And basically keep the SETUP_TYPE approach as a backward compatibility measure.
package/python-dictdiffer/python-dictdiffer.mk line 13
Quoted 3 lines
package/python-dictdiffer/python-dictdiffer.mk new file +3
-0+PYTHON_DICTDIFFER_LICENSE = MIT +PYTHON_DICTDIFFER_LICENSE_FILES = LICENSE +PYTHON_DICTDIFFER_DEPENDENCIES = host-python-setuptools-scm
... And with this one, it's not even needed to add a dependency on
host-python-setuptools!
Regards,
Arnout
package/python-dictdiffer/python-dictdiffer.mk line 16
Quoted 3 lines
package/python-dictdiffer/python-dictdiffer.mk new file +3
-0+PYTHON_DICTDIFFER_BUILD_OPTS = --skip-dependency-check + +$(eval $(python-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v4 4/5 package/python-tomlkit: new package
In reply to James Hilliard--- package/Config.in | 1 + package/python-tomlkit/Config.in | 6 ++++++ package/python-tomlkit/python-tomlkit.hash | 5 +++++ package/python-tomlkit/python-tomlkit.mk | 15 +++++++++++++++ 4 files changed, 27 insertions(+) create mode 100644 package/python-tomlkit/Config.in create mode 100644 package/python-tomlkit/python-tomlkit.hash create mode 100644 package/python-tomlkit/python-tomlkit.mk
package/Config.in +1 -0
@@ -1381,6 +1381,7 @@ menu "External python modules" source "package/python-tomako/Config.in" source "package/python-toml/Config.in" source "package/python-tomli/Config.in" + source "package/python-tomlkit/Config.in" source "package/python-tornado/Config.in" source "package/python-tortoise-orm/Config.in" source "package/python-tqdm/Config.in"
package/python-tomlkit/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TOMLKIT + bool "python-tomlkit" + help + Style preserving TOML library. + + https://github.com/sdispater/tomlkit
package/python-tomlkit/python-tomlkit.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/tomlkit/json +md5 e182df9625d617692a9ae035266634fe tomlkit-0.12.4.tar.gz +sha256 7ca1cfc12232806517a8515047ba66a19369e71edf2439d0f5824f91032b6cc3 tomlkit-0.12.4.tar.gz +# Locally computed sha256 checksums +sha256 f2f9b460ba719da6626add264d3782f275a4ff7aab677beda08b330911e23adb LICENSE
package/python-tomlkit/python-tomlkit.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# python-tomlkit +# +################################################################################ + +PYTHON_TOMLKIT_VERSION = 0.12.4 +PYTHON_TOMLKIT_SOURCE = tomlkit-$(PYTHON_TOMLKIT_VERSION).tar.gz +PYTHON_TOMLKIT_SITE = https://files.pythonhosted.org/packages/7d/49/4c0764898ee67618996148bdba4534a422c5e698b4dbf4001f7c6f930797 +PYTHON_TOMLKIT_SETUP_TYPE = pep517 +PYTHON_TOMLKIT_LICENSE = MIT +PYTHON_TOMLKIT_LICENSE_FILES = LICENSE +PYTHON_TOMLKIT_DEPENDENCIES = host-python-poetry-core + +$(eval $(python-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH v4 5/5 package/python-aerich: new package
In reply to James HilliardWe need to backport a patch so that the correct poetry build backend is used.
--- package/Config.in | 1 + ...ild-backend-to-support-editable-inst.patch | 29 +++++++++++++++++++ package/python-aerich/Config.in | 12 ++++++++ package/python-aerich/python-aerich.hash | 5 ++++ package/python-aerich/python-aerich.mk | 15 ++++++++++ 5 files changed, 62 insertions(+) create mode 100644 package/python-aerich/0001-update-poetry-build-backend-to-support-editable-inst.patch create mode 100644 package/python-aerich/Config.in create mode 100644 package/python-aerich/python-aerich.hash create mode 100644 package/python-aerich/python-aerich.mk
package/Config.in +1 -0
@@ -956,6 +956,7 @@ endif if BR2_PACKAGE_PYTHON3 menu "External python modules" source "package/python-aenum/Config.in" + source "package/python-aerich/Config.in" source "package/python-aexpect/Config.in" source "package/python-aioblescan/Config.in" source "package/python-aiocoap/Config.in"
package/python-aerich/0001-update-poetry-build-backend-to-support-editable-inst.patch new file +29 -0
@@ -0,0 +1,29 @@ +From e729bb9b602ba74dea7ccc978dac709283a0934a Mon Sep 17 00:00:00 2001 +From: strayge <[email protected]> +Date: Fri, 18 Aug 2023 15:03:38 +0400 +Subject: [PATCH] update poetry build-backend to support editable install + +Signed-off-by: James Hilliard <[email protected]> +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 +
package/python-aerich/Config.in new file +12 -0
@@ -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
package/python-aerich/python-aerich.hash new file +5 -0
@@ -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
package/python-aerich/python-aerich.mk new file +15 -0
@@ -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))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot