Skip to contentSkip to conversation

package/python-uv-build: new host package

PATCH In review James Hilliard 2 participants 4 messages Oct 4 – Oct 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/python-uv-build: new host package

---
 package/python-uv-build/python-uv-build.hash |  5 +++++
 package/python-uv-build/python-uv-build.mk   | 16 ++++++++++++++++
 2 files changed, 21 insertions(+)
 create mode 100644 package/python-uv-build/python-uv-build.hash
 create mode 100644 package/python-uv-build/python-uv-build.mk
package/python-uv-build/python-uv-build.hash new file +5 -0
new file mode 100644
index 0000000000..bd0644a72e
@@ -0,0 +1,5 @@
+# Locally calculated after vendoring
+sha256  6b2b5c814e6ecf61a0f3743362d3399fd7578324a1b59b12e242cb6051881dc0  python-uv-build-0.12.23-cargo6.tar.gz
+# Locally computed sha256 checksums
+sha256  c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4  LICENSE-APACHE
+sha256  860e3d7a86b84e6a7012c7a635fc64df475cebc6cce34dfeb73a5982ec58176c  LICENSE-MIT
package/python-uv-build/python-uv-build.mk new file +16 -0
new file mode 100644
index 0000000000..1a4cf5a4c5
@@ -0,0 +1,16 @@
+################################################################################
+#
+# python-uv-build
+#
+################################################################################
+
+PYTHON_UV_BUILD_VERSION = 0.12.23
+PYTHON_UV_BUILD_SOURCE_PYPI = uv_build-$(PYTHON_UV_BUILD_VERSION).tar.gz
+PYTHON_UV_BUILD_SITE_PYPI = https://files.pythonhosted.org/packages/b4/65/672d5c1e7fff2a602b51758cd96c379ea80c0c20d9d10aae5139bfde9877
+PYTHON_UV_BUILD_SITE = $(PYTHON_UV_BUILD_SITE_PYPI)/$(PYTHON_UV_BUILD_SOURCE_PYPI)?buildroot-path=filename
+PYTHON_UV_BUILD_SETUP_TYPE = maturin
+PYTHON_UV_BUILD_LICENSE = MIT or Apache-2.0
+PYTHON_UV_BUILD_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT
+PYTHON_UV_BUILD_CARGO_MANIFEST_PATH = crates/uv-build/Cargo.toml
+
+$(eval $(host-python-package))
Signature · 6 lines
2.53.0

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

PATCH 2/3 package/python-bidict: bump to version 0.24.1

Switch to the uv-build build backend.

Skip dependency checks to ignore the upper version bound on uv-build.

Update license hash due to copyright year update:
https://github.com/jab/bidict/commit/02408d0024696156568c9ede7f587e97090ac752

---
 package/python-bidict/python-bidict.hash | 8 ++++----
 package/python-bidict/python-bidict.mk   | 8 +++++---
 2 files changed, 9 insertions(+), 7 deletions(-)
package/python-bidict/python-bidict.hash +4 -4
index 5fe425c3aa..48f4919cda 100644
@@ -1,5 +1,5 @@
-# md5, sha256 from https://pypi.org/pypi/bidict/json
-md5  561cd7fd5c3036bbfa2c5185531e7b19  bidict-0.23.1.tar.gz
-sha256  03069d763bc387bbd20e7d49914e75fc4132a41937fa3405417e1a5a2d006d71  bidict-0.23.1.tar.gz
+# md5, sha256 from https://pypi.org/pypi/bidict/0.24.1/json
+md5  e7cf785588cc0e90422def264ee195a6  bidict-0.24.1.tar.gz
+sha256  4dca6c17f0b01700e9f24359daa5ebabf7be022d99f4cb2a257b6af2a5076c88  bidict-0.24.1.tar.gz
 # Locally computed sha256 checksums
-sha256  f3f53adcecaa48d73a66e238fa5ba906cb41876783b45d28a1346b3142eebd9a  LICENSE
+sha256  099b9dcb04485b32cf93aba82b303e099bcf98ab2476fae716d22c930fd6b915  LICENSE
package/python-bidict/python-bidict.mk +5 -3
index 9181195d23..aa5441564a 100644
@@ -4,11 +4,13 @@
 #
 ################################################################################
 
-PYTHON_BIDICT_VERSION = 0.23.1
+PYTHON_BIDICT_VERSION = 0.24.1
 PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz
-PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/9a/6e/026678aa5a830e07cd9498a05d3e7e650a4f56a42f267a53d22bcda1bdc9
-PYTHON_BIDICT_SETUP_TYPE = setuptools
+PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/a8/f2/8d2dd8276ca05e1f5157b6a0d34efb2f585f47a0fbed61e8aad04b221f0b
+PYTHON_BIDICT_SETUP_TYPE = pep517
 PYTHON_BIDICT_LICENSE = MPL-2.0
 PYTHON_BIDICT_LICENSE_FILES = LICENSE
+PYTHON_BIDICT_DEPENDENCIES = host-python-uv-build
+PYTHON_BIDICT_BUILD_OPTS = --skip-dependency-check
 
 $(eval $(python-package))
Signature · 6 lines
2.53.0

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

PATCH 3/3 package/python-bleak: bump to version 3.0.2

In reply to James Hilliard

Switch to the uv-build build backend.

Skip dependency checks to ignore the upper version bound on uv-build.

---
 package/python-bleak/python-bleak.hash | 6 +++---
 package/python-bleak/python-bleak.mk   | 8 +++++---
 2 files changed, 8 insertions(+), 6 deletions(-)
package/python-bleak/python-bleak.hash +3 -3
index abc75d6917..9bb610e9a3 100644
@@ -1,5 +1,5 @@
-# md5, sha256 from https://pypi.org/pypi/bleak/json
-md5  513384cf6ed28ebcad27ed829c4ad3a2  bleak-3.0.1.tar.gz
-sha256  c8ff077519f8c30a972fd0d22f47a54b981184b2f2a0886d02e55acadbc1045d  bleak-3.0.1.tar.gz
+# md5, sha256 from https://pypi.org/pypi/bleak/3.0.2/json
+md5  0e9fc5ca42eaa90f0aa99f6d2b941533  bleak-3.0.2.tar.gz
+sha256  c2229cb8238d5876b4bd05c74bf7a1aea1f88da39d2e51ac9dfd5cc319d5265f  bleak-3.0.2.tar.gz
 # Locally computed sha256 checksums
 sha256  c4029a2b63b3824ab68be841f414addbdde20cb79cdbe272fa80c0b2abe65374  LICENSE
package/python-bleak/python-bleak.mk +5 -3
index e873d1234f..fdbb7dc86d 100644
@@ -4,11 +4,13 @@
 #
 ################################################################################
 
-PYTHON_BLEAK_VERSION = 3.0.1
+PYTHON_BLEAK_VERSION = 3.0.2
 PYTHON_BLEAK_SOURCE = bleak-$(PYTHON_BLEAK_VERSION).tar.gz
-PYTHON_BLEAK_SITE = https://files.pythonhosted.org/packages/87/9f/dd19d92309e4a37823210827f0f42460e69603254309b99499622b511294
-PYTHON_BLEAK_SETUP_TYPE = poetry
+PYTHON_BLEAK_SITE = https://files.pythonhosted.org/packages/16/df/05a3f80ca8e3f7f5b0dba68a9e618147c909ccdba1468f07487dc8d72a9d
+PYTHON_BLEAK_SETUP_TYPE = pep517
 PYTHON_BLEAK_LICENSE = MIT
 PYTHON_BLEAK_LICENSE_FILES = LICENSE
+PYTHON_BLEAK_DEPENDENCIES = host-python-uv-build
+PYTHON_BLEAK_BUILD_OPTS = --skip-dependency-check
 
 $(eval $(python-package))
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw
In reply to James Hilliard
Quoted 1 line · James Hilliard

Series applied to master, thanks!

Best regards,

Thomas Petazzoni

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