Skip to contentSkip to conversation

package/python-poetry-core: new host package

PATCH Superseded James Hilliard 2 participants 4 messages Feb 6, 2024

v3 of 8 Superseded Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/3 package/python-poetry-core: new host package

---
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
package/python-poetry-core/python-poetry-core.hash new file +9 -0
new file mode 100644
index 0000000000..0d908be0f4
@@ -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
package/python-poetry-core/python-poetry-core.mk new file +24 -0
new file mode 100644
index 0000000000..676a0c9a52
@@ -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))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v3 2/3 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
index b48f9eb1c7..d1ed6cf224 100644
@@ -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
new file mode 100644
index 0000000000..62e14c6d50
@@ -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
new file mode 100644
index 0000000000..629762f4f7
@@ -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
new file mode 100644
index 0000000000..84aa19cfbb
@@ -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
#2 lore raw

PATCH v3 3/3 package/python-tortoise-orm: new package

In reply to James Hilliard
---
 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
index d1ed6cf224..30113d1a1b 100644
@@ -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
new file mode 100644
index 0000000000..62b1a5a86e
@@ -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
new file mode 100644
index 0000000000..4796c8277f
@@ -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
new file mode 100644
index 0000000000..cc1c2126b7
@@ -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
#3 lore raw
In reply to James Hilliard

package/python-poetry-core/python-poetry-core.mk line 14

Quoted 4 lines · On Tue, 6 Feb 2024 12:30:46 -0700 James Hilliard <[email protected]>…
package/python-poetry-core/python-poetry-core.mk new file +4 -0
+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

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot