* [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package
@ 2023-09-30 15:25 James Hilliard
0 siblings, 0 replies; 5+ messages in thread
From: James Hilliard @ 2023-09-30 15:25 UTC (permalink / raw)
To: buildroot
Cc: Gustavo Heinz, Angelo Compagnucci, Asaf Kahlon, James Hilliard,
Thomas Petazzoni, Giulio Benetti
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
- update to 1.7.0
- drop patch which is now upstream
---
package/python-poetry-core/python-poetry-core.hash | 5 +++++
package/python-poetry-core/python-poetry-core.mk | 14 ++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 package/python-poetry-core/python-poetry-core.hash
create mode 100644 package/python-poetry-core/python-poetry-core.mk
diff --git a/package/python-poetry-core/python-poetry-core.hash b/package/python-poetry-core/python-poetry-core.hash
new file mode 100644
index 0000000000..c6b180c852
--- /dev/null
+++ b/package/python-poetry-core/python-poetry-core.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/poetry-core/json
+md5 7461547cac0e0e9c8cd7463aa87e7470 poetry_core-1.7.0.tar.gz
+sha256 8f679b83bd9c820082637beca1204124d5d2a786e4818da47ec8acefd0353b74 poetry_core-1.7.0.tar.gz
+# Locally computed sha256 checksums
+sha256 f1978133782b90f4733bc308ddb19267c3fe04797c88d9ed3bc219032495a982 LICENSE
diff --git a/package/python-poetry-core/python-poetry-core.mk b/package/python-poetry-core/python-poetry-core.mk
new file mode 100644
index 0000000000..4ca587b11d
--- /dev/null
+++ b/package/python-poetry-core/python-poetry-core.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-poetry-core
+#
+################################################################################
+
+PYTHON_POETRY_CORE_VERSION = 1.7.0
+PYTHON_POETRY_CORE_SOURCE = poetry_core-$(PYTHON_POETRY_CORE_VERSION).tar.gz
+PYTHON_POETRY_CORE_SITE = https://files.pythonhosted.org/packages/cb/1c/af7f886e723b2dfbaea9b8a739153f227b386dd856cf956f9fd0ed0a502b
+PYTHON_POETRY_CORE_SETUP_TYPE = pep517
+PYTHON_POETRY_CORE_LICENSE = MIT
+PYTHON_POETRY_CORE_LICENSE_FILES = LICENSE
+
+$(eval $(host-python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package
@ 2024-02-06 19:30 James Hilliard
2024-02-06 19:30 ` [Buildroot] [PATCH v3 2/3] package/python-pypika-tortoise: new package James Hilliard
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: James Hilliard @ 2024-02-06 19:30 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Asaf Kahlon, Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v2 -> v3:
- add vendored licenses
- bump to version 1.9.0
---
.../python-poetry-core.hash | 9 +++++++
.../python-poetry-core/python-poetry-core.mk | 24 +++++++++++++++++++
2 files changed, 33 insertions(+)
create mode 100644 package/python-poetry-core/python-poetry-core.hash
create mode 100644 package/python-poetry-core/python-poetry-core.mk
diff --git a/package/python-poetry-core/python-poetry-core.hash b/package/python-poetry-core/python-poetry-core.hash
new file mode 100644
index 0000000000..0d908be0f4
--- /dev/null
+++ b/package/python-poetry-core/python-poetry-core.hash
@@ -0,0 +1,9 @@
+# md5, sha256 from https://pypi.org/pypi/poetry-core/json
+md5 eb8730e30aec5f644754b29587b47122 poetry_core-1.9.0.tar.gz
+sha256 fa7a4001eae8aa572ee84f35feb510b321bd652e5cf9293249d62853e1f935a2 poetry_core-1.9.0.tar.gz
+# Locally computed sha256 checksums
+sha256 f1978133782b90f4733bc308ddb19267c3fe04797c88d9ed3bc219032495a982 LICENSE
+sha256 8263e5652d07cecb3adadf05140b65e70cfa169ecec5f520fe1671479ce12a83 src/poetry/core/_vendor/lark/LICENSE
+sha256 cad1ef5bd340d73e074ba614d26f7deaca5c7940c3d8c34852e65c4909686c48 src/poetry/core/_vendor/packaging/LICENSE
+sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe src/poetry/core/_vendor/tomli/LICENSE
+sha256 9ccddf69eb3998a60148debe85b94c5afed53691b6474692e78abcc0a0e544f1 src/poetry/core/_vendor/fastjsonschema/LICENSE
diff --git a/package/python-poetry-core/python-poetry-core.mk b/package/python-poetry-core/python-poetry-core.mk
new file mode 100644
index 0000000000..676a0c9a52
--- /dev/null
+++ b/package/python-poetry-core/python-poetry-core.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# python-poetry-core
+#
+################################################################################
+
+PYTHON_POETRY_CORE_VERSION = 1.9.0
+PYTHON_POETRY_CORE_SOURCE = poetry_core-$(PYTHON_POETRY_CORE_VERSION).tar.gz
+PYTHON_POETRY_CORE_SITE = https://files.pythonhosted.org/packages/f2/db/20a9f9cae3f3c213a8c406deb4395698459fd96962cea8f2ccb230b1943c
+PYTHON_POETRY_CORE_SETUP_TYPE = pep517
+PYTHON_POETRY_CORE_LICENSE = \
+ Apache-2.0 or BSD-2-Clause (packaging), \
+ BSD-3-Clause (fastjsonschema), \
+ GPL-2.0-or-later (lark), \
+ MIT (lark, poetry-core, tomli), \
+ MPL-2.0 (lark)
+PYTHON_POETRY_CORE_LICENSE_FILES = \
+ LICENSE \
+ src/poetry/core/_vendor/lark/LICENSE \
+ src/poetry/core/_vendor/packaging/LICENSE \
+ src/poetry/core/_vendor/tomli/LICENSE \
+ src/poetry/core/_vendor/fastjsonschema/LICENSE
+
+$(eval $(host-python-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3 2/3] package/python-pypika-tortoise: new package
2024-02-06 19:30 [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package James Hilliard
@ 2024-02-06 19:30 ` James Hilliard
2024-02-06 19:30 ` [Buildroot] [PATCH v3 3/3] package/python-tortoise-orm: " James Hilliard
2024-02-06 20:47 ` [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package Thomas Petazzoni via buildroot
2 siblings, 0 replies; 5+ messages in thread
From: James Hilliard @ 2024-02-06 19:30 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Asaf Kahlon, Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index b48f9eb1c7..d1ed6cf224 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-pypika-tortoise/Config.in b/package/python-pypika-tortoise/Config.in
new file mode 100644
index 0000000000..62e14c6d50
--- /dev/null
+++ b/package/python-pypika-tortoise/Config.in
@@ -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
diff --git a/package/python-pypika-tortoise/python-pypika-tortoise.hash b/package/python-pypika-tortoise/python-pypika-tortoise.hash
new file mode 100644
index 0000000000..629762f4f7
--- /dev/null
+++ b/package/python-pypika-tortoise/python-pypika-tortoise.hash
@@ -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
diff --git a/package/python-pypika-tortoise/python-pypika-tortoise.mk b/package/python-pypika-tortoise/python-pypika-tortoise.mk
new file mode 100644
index 0000000000..84aa19cfbb
--- /dev/null
+++ b/package/python-pypika-tortoise/python-pypika-tortoise.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH v3 3/3] package/python-tortoise-orm: new package
2024-02-06 19:30 [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package James Hilliard
2024-02-06 19:30 ` [Buildroot] [PATCH v3 2/3] package/python-pypika-tortoise: new package James Hilliard
@ 2024-02-06 19:30 ` James Hilliard
2024-02-06 20:47 ` [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package Thomas Petazzoni via buildroot
2 siblings, 0 replies; 5+ messages in thread
From: James Hilliard @ 2024-02-06 19:30 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Asaf Kahlon, Thomas Petazzoni
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
diff --git a/package/Config.in b/package/Config.in
index d1ed6cf224..30113d1a1b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-tortoise-orm/Config.in b/package/python-tortoise-orm/Config.in
new file mode 100644
index 0000000000..62b1a5a86e
--- /dev/null
+++ b/package/python-tortoise-orm/Config.in
@@ -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
diff --git a/package/python-tortoise-orm/python-tortoise-orm.hash b/package/python-tortoise-orm/python-tortoise-orm.hash
new file mode 100644
index 0000000000..4796c8277f
--- /dev/null
+++ b/package/python-tortoise-orm/python-tortoise-orm.hash
@@ -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
diff --git a/package/python-tortoise-orm/python-tortoise-orm.mk b/package/python-tortoise-orm/python-tortoise-orm.mk
new file mode 100644
index 0000000000..cc1c2126b7
--- /dev/null
+++ b/package/python-tortoise-orm/python-tortoise-orm.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package
2024-02-06 19:30 [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package James Hilliard
2024-02-06 19:30 ` [Buildroot] [PATCH v3 2/3] package/python-pypika-tortoise: new package James Hilliard
2024-02-06 19:30 ` [Buildroot] [PATCH v3 3/3] package/python-tortoise-orm: " James Hilliard
@ 2024-02-06 20:47 ` Thomas Petazzoni via buildroot
2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-02-06 20:47 UTC (permalink / raw)
To: James Hilliard; +Cc: Asaf Kahlon, buildroot
On Tue, 6 Feb 2024 12:30:46 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:
> +PYTHON_POETRY_CORE_LICENSE = \
> + Apache-2.0 or BSD-2-Clause (packaging), \
> + BSD-3-Clause (fastjsonschema), \
> + GPL-2.0-or-later (lark), \
Didn't review the licensing, but in Buildroot we diverge from SPDX on
this point, and we encode GPL-2.0-or-later as GPL-2.0+.
No need to resend just for that, it can be fixed when applying.
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-02-06 20:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06 19:30 [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package James Hilliard
2024-02-06 19:30 ` [Buildroot] [PATCH v3 2/3] package/python-pypika-tortoise: new package James Hilliard
2024-02-06 19:30 ` [Buildroot] [PATCH v3 3/3] package/python-tortoise-orm: " James Hilliard
2024-02-06 20:47 ` [Buildroot] [PATCH v3 1/3] package/python-poetry-core: new host package Thomas Petazzoni via buildroot
-- strict thread matches above, loose matches on Subject: below --
2023-09-30 15:25 James Hilliard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox