Skip to contentSkip to conversation

package/python-poetry-core: new host package

PATCH Applied James Hilliard 3 participants 7 messages Dec 14, 2023 – Feb 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 package/python-poetry-core: new host package

---
 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
package/python-poetry-core/python-poetry-core.hash new file +5 -0
new file mode 100644
index 0000000000..3c07fef04f
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/poetry-core/json
+md5  9ed2f2e9244165b34d7233c306a34a2a  poetry_core-1.8.1.tar.gz
+sha256  67a76c671da2a70e55047cddda83566035b701f7e463b32a2abfeac6e2a16376  poetry_core-1.8.1.tar.gz
+# Locally computed sha256 checksums
+sha256  f1978133782b90f4733bc308ddb19267c3fe04797c88d9ed3bc219032495a982  LICENSE
package/python-poetry-core/python-poetry-core.mk new file +14 -0
new file mode 100644
index 0000000000..e1acf3179c
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-poetry-core
+#
+################################################################################
+
+PYTHON_POETRY_CORE_VERSION = 1.8.1
+PYTHON_POETRY_CORE_SOURCE = poetry_core-$(PYTHON_POETRY_CORE_VERSION).tar.gz
+PYTHON_POETRY_CORE_SITE = https://files.pythonhosted.org/packages/36/66/6af2891495d12020419c8447d0b29c1e96f3be16631faaed6bda5b886d5d
+PYTHON_POETRY_CORE_SETUP_TYPE = pep517
+PYTHON_POETRY_CORE_LICENSE = MIT
+PYTHON_POETRY_CORE_LICENSE_FILES = 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 2/4 package/python-aiosqlite: new package

---
 package/Config.in                              |  1 +
 package/python-aiosqlite/Config.in             |  6 ++++++
 package/python-aiosqlite/python-aiosqlite.hash |  5 +++++
 package/python-aiosqlite/python-aiosqlite.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-aiosqlite/Config.in
 create mode 100644 package/python-aiosqlite/python-aiosqlite.hash
 create mode 100644 package/python-aiosqlite/python-aiosqlite.mk
package/Config.in +1 -0
index fcc09b07c4..d24db2550e 100644
@@ -971,6 +971,7 @@ menu "External python modules"
 	source "package/python-aioredis/Config.in"
 	source "package/python-aiorwlock/Config.in"
 	source "package/python-aiosignal/Config.in"
+	source "package/python-aiosqlite/Config.in"
 	source "package/python-aiozipkin/Config.in"
 	source "package/python-alembic/Config.in"
 	source "package/python-alsaaudio/Config.in"
package/python-aiosqlite/Config.in new file +6 -0
new file mode 100644
index 0000000000..950c879a49
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_AIOSQLITE
+	bool "python-aiosqlite"
+	help
+	  asyncio bridge to the standard sqlite3 module.
+
+	  https://aiosqlite.omnilib.dev/
package/python-aiosqlite/python-aiosqlite.hash new file +5 -0
new file mode 100644
index 0000000000..e06061346c
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aiosqlite/json
+md5  e829bf8f641ab115c1a9ca0494d35278  aiosqlite-0.19.0.tar.gz
+sha256  95ee77b91c8d2808bd08a59fbebf66270e9090c3d92ffbf260dc0db0b979577d  aiosqlite-0.19.0.tar.gz
+# Locally computed sha256 checksums
+sha256  ab0c171dc3ef8bf325a84bb77d855421f2611335ddf6e08816b2922c4edc0f76  LICENSE
package/python-aiosqlite/python-aiosqlite.mk new file +14 -0
new file mode 100644
index 0000000000..e513d53c02
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aiosqlite
+#
+################################################################################
+
+PYTHON_AIOSQLITE_VERSION = 0.19.0
+PYTHON_AIOSQLITE_SOURCE = aiosqlite-$(PYTHON_AIOSQLITE_VERSION).tar.gz
+PYTHON_AIOSQLITE_SITE = https://files.pythonhosted.org/packages/ea/51/060efa10a814145acd4e42c6e5ed540b8714cad52ca026c5930e7c473049
+PYTHON_AIOSQLITE_SETUP_TYPE = flit
+PYTHON_AIOSQLITE_LICENSE = MIT
+PYTHON_AIOSQLITE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

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

Re: [Buildroot] [PATCH 2/4] package/python-aiosqlite: new package

Quoted 1 line · James Hilliard

Applied both to master, thanks.

Regards,
Arnout

Quoted 55 lines
---
  package/Config.in                              |  1 +
  package/python-aiosqlite/Config.in             |  6 ++++++
  package/python-aiosqlite/python-aiosqlite.hash |  5 +++++
  package/python-aiosqlite/python-aiosqlite.mk   | 14 ++++++++++++++
  4 files changed, 26 insertions(+)

create mode 100644 package/python-aiosqlite/Config.in create mode 100644 package/python-aiosqlite/python-aiosqlite.hash create mode 100644 package/python-aiosqlite/python-aiosqlite.mk

package/Config.in +1 -0
index fcc09b07c4..d24db2550e 100644
@@ -971,6 +971,7 @@ menu "External python modules"
  	source "package/python-aioredis/Config.in"
  	source "package/python-aiorwlock/Config.in"
  	source "package/python-aiosignal/Config.in"
+	source "package/python-aiosqlite/Config.in"
  	source "package/python-aiozipkin/Config.in"
  	source "package/python-alembic/Config.in"
  	source "package/python-alsaaudio/Config.in"
package/python-aiosqlite/Config.in new file +6 -0
new file mode 100644
index 0000000000..950c879a49
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_AIOSQLITE
+	bool "python-aiosqlite"
+	help
+	  asyncio bridge to the standard sqlite3 module.
+
+	  https://aiosqlite.omnilib.dev/
package/python-aiosqlite/python-aiosqlite.hash new file +5 -0
new file mode 100644
index 0000000000..e06061346c
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/aiosqlite/json
+md5  e829bf8f641ab115c1a9ca0494d35278  aiosqlite-0.19.0.tar.gz
+sha256  95ee77b91c8d2808bd08a59fbebf66270e9090c3d92ffbf260dc0db0b979577d  aiosqlite-0.19.0.tar.gz
+# Locally computed sha256 checksums
+sha256  ab0c171dc3ef8bf325a84bb77d855421f2611335ddf6e08816b2922c4edc0f76  LICENSE
package/python-aiosqlite/python-aiosqlite.mk new file +4 -0
new file mode 100644
index 0000000000..e513d53c02
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-aiosqlite
+#

package/python-aiosqlite/python-aiosqlite.mk line 14

Quoted 10 lines
package/python-aiosqlite/python-aiosqlite.mk new file +10 -0
+################################################################################
+
+PYTHON_AIOSQLITE_VERSION = 0.19.0
+PYTHON_AIOSQLITE_SOURCE = aiosqlite-$(PYTHON_AIOSQLITE_VERSION).tar.gz
+PYTHON_AIOSQLITE_SITE = https://files.pythonhosted.org/packages/ea/51/060efa10a814145acd4e42c6e5ed540b8714cad52ca026c5930e7c473049
+PYTHON_AIOSQLITE_SETUP_TYPE = flit
+PYTHON_AIOSQLITE_LICENSE = MIT
+PYTHON_AIOSQLITE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))

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

#3 lore raw

PATCH 3/4 package/python-pypika-tortoise: new package

In reply to James Hilliard
---
 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 d24db2550e..12ddd7b384 100644
@@ -1252,6 +1252,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-pyqrcode/Config.in"
 	source "package/python-pyqt5/Config.in"
 	source "package/python-pyratemp/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
#4 lore raw

Re: [Buildroot] [PATCH 3/4] package/python-pypika-tortoise: new package

James, All,

On 2023-12-14 02:15 -0700, James Hilliard spake thusly:

Quoted 2 lines

---

[--SNIP--]

Quoted 9 lines
package/python-pypika-tortoise/python-pypika-tortoise.mk new file +3 -0
new file mode 100644
index 0000000000..84aa19cfbb
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-pypika-tortoise

package/python-pypika-tortoise/python-pypika-tortoise.mk line 13

Quoted 10 lines
package/python-pypika-tortoise/python-pypika-tortoise.mk new file +10 -0
+#
+################################################################################
+
+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

Shouldn't we start handling all the various backends as setup types, instead?

For example, we already handle flit and maturin as setup types, so why don't we do the same for poetry?

Regards,
Yann E. MORIN.

Quoted 8 lines
package/python-pypika-tortoise/python-pypika-tortoise.mk new file +1 -0
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH 3/4] package/python-pypika-tortoise: new package

Quoted 21 lines · Yann E. MORIN

James, All,

On 2023-12-14 02:15 -0700, James Hilliard spake thusly:

Quoted 2 lines

---

[--SNIP--]

Quoted 14 lines
package/python-pypika-tortoise/python-pypika-tortoise.mk new file +8 -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
Quoted 8 lines

package/python-pypika-tortoise/python-pypika-tortoise.mk line 13

Quoted 5 lines
package/python-pypika-tortoise/python-pypika-tortoise.mk new file +5 -0
+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

Shouldn't we start handling all the various backends as setup types, instead?

Yeah, I've been planning to do that once all our python build backends are pep517 based(we're pretty close) along with adding a hatch setup type.

Quoted 3 lines

For example, we already handle flit and maturin as setup types, so why don't we do the same for poetry?

Well we should probably migrate setuptools to pep517 first as adding poetry support will conflict with that patch.

I was also planning to remove distutils after setuptools is migrated which should be the last non-pep517 python build backend we support.

https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 13 lines

Regards,
Yann E. MORIN.

Quoted 8 lines
package/python-pypika-tortoise/python-pypika-tortoise.mk new file +1 -1
+$(eval $(python-package))
--

2.34.1

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

Quoted 7 lines

--
.-----------------.--------------------.------------------.--------------------.

|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

'------------------------------^-------^------------------^--------------------'

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

#6 lore raw

PATCH 4/4 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 12ddd7b384..a3ce5b490a 100644
@@ -1353,6 +1353,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-traitlets/Config.in"
 	source "package/python-treq/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