Skip to contentSkip to conversation

python3-ckzg: upgrade 2.1.1 -> 2.1.7

PATCH New Liu Yiding 1 participant 1 message Apr 8

lore
Share & tools
lore

Liu Yiding

author
#0 lore raw

PATCH 1/1 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

---
 .../python-ckzg-0001-Let-override-CC.patch    | 21 -------------
 .../python-ckzg-0002-Disable-Werror.patch     | 30 -------------------
 ...n3-ckzg_2.1.1.bb => python3-ckzg_2.1.7.bb} |  4 +--
 3 files changed, 1 insertion(+), 54 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
 rename meta-python/recipes-devtools/python/{python3-ckzg_2.1.1.bb => python3-ckzg_2.1.7.bb} (64%)
meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0001-Let-override-CC.patch deleted +0 -21
deleted file mode 100644
index c58089cc15..0000000000
@@ -1,21 +0,0 @@
-From: Peter Lemenkov <[email protected]>
-Date: Wed, 6 Nov 2024 16:35:23 +0300
-Subject: [PATCH] Let override CC
-
-Upstream-Status: Pending
-
-Signed-off-by: Peter Lemenkov <[email protected]>
-
-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
meta-python/recipes-devtools/python/python3-ckzg/python-ckzg-0002-Disable-Werror.patch deleted +0 -30
deleted file mode 100644
index 9b0baa358a..0000000000
@@ -1,30 +0,0 @@
-From: rpm-build <rpm-build>
-Date: Tue, 26 Nov 2024 11:13:18 +0100
-Subject: [PATCH] Disable Werror
-
-Upstream-Status: Pending
-
-Signed-off-by: rpm-build <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.
meta-python/recipes-devtools/python/python3-ckzg_2.1.7.bb renamed from meta-python/recipes-devtools/python/python3-ckzg_2.1.1.bb +1 -3
similarity index 64%
rename from meta-python/recipes-devtools/python/python3-ckzg_2.1.1.bb
rename to meta-python/recipes-devtools/python/python3-ckzg_2.1.7.bb
index 5a6196bf75..b01bd2d78d 100644
@@ -6,10 +6,8 @@ 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"
+SRC_URI[sha256sum] = "a0c61c5fd573af0267bcb435ef0f499911289ceb05e863480779ea284a3bb928"
 
 inherit pypi setuptools3
Signature · 1 line
2.43.0