From 7eb5d48aed37a40bb36c98ff2634aa9e2b803f4d Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Wed, 8 Apr 2026 17:49:57 +0800 Subject: python3-ckzg: upgrade 2.1.1 -> 2.1.7 1.Changelog: https://github.com/ethereum/c-kzg-4844/releases/tag/v2.1.7 2.Remove python-ckzg-0001-Let-override-CC.patch as it was merged upstream 3.Remove python-ckzg-0002-Disable-Werror.patch as it was dropped in the Fedora package https://src.fedoraproject.org/rpms/python-ckzg/blob/rawhide/f/python-ckzg.spec Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- .../python-ckzg-0001-Let-override-CC.patch | 21 --------------- .../python-ckzg-0002-Disable-Werror.patch | 30 ---------------------- .../recipes-devtools/python/python3-ckzg_2.1.1.bb | 15 ----------- .../recipes-devtools/python/python3-ckzg_2.1.7.bb | 13 ++++++++++ 4 files changed, 13 insertions(+), 66 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch delete mode 100644 meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch delete mode 100644 meta-python/recipes-devtools/python/python3-ckzg_2.1.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-ckzg_2.1.7.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch b/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch deleted file mode 100644 index c58089cc15..0000000000 --- a/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch +++ /dev/null @@ -1,21 +0,0 @@ -From: Peter Lemenkov -Date: Wed, 6 Nov 2024 16:35:23 +0300 -Subject: [PATCH] Let override CC - -Upstream-Status: Pending - -Signed-off-by: Peter Lemenkov - -diff --git a/src/Makefile b/src/Makefile -index b733a11..c688005 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -79,7 +79,7 @@ ifeq ($(PLATFORM),Windows) - CFLAGS += -D_CRT_SECURE_NO_WARNINGS - CFLAGS += -Wno-missing-braces -Wno-format - else -- CC = clang -+ CC ?= clang - CFLAGS += -fPIC - CFLAGS += -Wmissing-braces -Wformat=2 - endif diff --git a/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch b/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch deleted file mode 100644 index 9b0baa358a..0000000000 --- a/meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch +++ /dev/null @@ -1,30 +0,0 @@ -From: rpm-build -Date: Tue, 26 Nov 2024 11:13:18 +0100 -Subject: [PATCH] Disable Werror - -Upstream-Status: Pending - -Signed-off-by: rpm-build - -diff --git a/src/Makefile b/src/Makefile -index c688005..01b7a80 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -20,7 +20,7 @@ ifeq ($(PLATFORM),Darwin) - endif - - # The base compiler flags. More can be added on command line. --CFLAGS += -I. -I../inc -O2 -Werror -+CFLAGS += -I. -I../inc - # Enable a bunch of optional warnings. - CFLAGS += \ - -pedantic \ -@@ -81,7 +81,7 @@ ifeq ($(PLATFORM),Windows) - else - CC ?= clang - CFLAGS += -fPIC -- CFLAGS += -Wmissing-braces -Wformat=2 -+ CFLAGS += -Wmissing-braces - endif - - # Settings for blst. diff --git a/meta-python/recipes-devtools/python/python3-ckzg_2.1.1.bb b/meta-python/recipes-devtools/python/python3-ckzg_2.1.1.bb deleted file mode 100644 index 5a6196bf75..0000000000 --- a/meta-python/recipes-devtools/python/python3-ckzg_2.1.1.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Python Bindings for the C-KZG Library" -HOMEPAGE = "https://github.com/ethereum/c-kzg-4844" -SECTION = "devel/python" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" - -SRC_URI += " \ - file://blst-0001-Support-64-bit-limbs-on-no-asm-platforms.patch \ - file://python-ckzg-0001-Let-override-CC.patch \ - file://python-ckzg-0002-Disable-Werror.patch \ -" - -SRC_URI[sha256sum] = "d6b306b7ec93a24e4346aa53d07f7f75053bc0afc7398e35fa649e5f9d48fcc4" - -inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-ckzg_2.1.7.bb b/meta-python/recipes-devtools/python/python3-ckzg_2.1.7.bb new file mode 100644 index 0000000000..b01bd2d78d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-ckzg_2.1.7.bb @@ -0,0 +1,13 @@ +SUMMARY = "Python Bindings for the C-KZG Library" +HOMEPAGE = "https://github.com/ethereum/c-kzg-4844" +SECTION = "devel/python" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI += " \ + file://blst-0001-Support-64-bit-limbs-on-no-asm-platforms.patch \ +" + +SRC_URI[sha256sum] = "a0c61c5fd573af0267bcb435ef0f499911289ceb05e863480779ea284a3bb928" + +inherit pypi setuptools3 -- cgit v1.2.3-54-g00ecf