From b4e2194a37ca8bca6239ad2ebd26d8e1dd751f00 Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Sat, 28 Feb 2026 17:01:58 +0800 Subject: python3-gmpy2: upgrade 2.2.2 -> 2.3.0 1.Changelog: https://github.com/gmpy2/gmpy2/releases/tag/v2.3.0 2.Add python3-setuptools-scm-native as depend to satisfy require check of setuptools_scm 3.Add 0001-Avoid-do_configure-requires-check-error.patch to fix require check error of setuptools | ERROR Missing dependencies: | setuptools_scm[toml]>=6.0 | setuptools<80,>=77 Signed-off-by: Liu Yiding Signed-off-by: Khem Raj --- ...1-Avoid-do_configure-requires-check-error.patch | 29 ++++++++++++++++++++++ .../recipes-devtools/python/python3-gmpy2_2.2.2.bb | 13 ---------- .../recipes-devtools/python/python3-gmpy2_2.3.0.bb | 16 ++++++++++++ 3 files changed, 45 insertions(+), 13 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch delete mode 100644 meta-python/recipes-devtools/python/python3-gmpy2_2.2.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-gmpy2_2.3.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch b/meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch new file mode 100644 index 0000000000..3c602cebe5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch @@ -0,0 +1,29 @@ +Subject: [PATCH] Avoid do_configure requires check error. + +The gmpy2-2.3.0 need setuptools < 80, but version in oe-core is 80.9.0, +so fix it to avoid following error. + +| ERROR Missing dependencies: +| setuptools<80,>=77 + +Upstream-Status: Inappropriate + +Signed-off-by: Liu Yiding +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 1f00809..3a4f3e2 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ['setuptools>=77,<80', 'setuptools_scm[toml]>=6.0'] ++requires = ['setuptools>=77', 'setuptools_scm[toml]>=6.0'] + build-backend = 'setuptools.build_meta' + + [project] +-- +2.43.0 + diff --git a/meta-python/recipes-devtools/python/python3-gmpy2_2.2.2.bb b/meta-python/recipes-devtools/python/python3-gmpy2_2.2.2.bb deleted file mode 100644 index 2196616a0e..0000000000 --- a/meta-python/recipes-devtools/python/python3-gmpy2_2.2.2.bb +++ /dev/null @@ -1,13 +0,0 @@ -SUMMARY = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x" -SECTION = "devel/python" -LICENSE = "GPL-3.0-only | LGPL-3.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ - file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" - -DEPENDS += "gmp mpfr libmpc" - -SRC_URI[sha256sum] = "d9b8c81e0f5e1a3cabf1ea8d154b29b5ef6e33b8f4e4c37b3da957b2dd6a3fa8" - -inherit pypi python_setuptools_build_meta python3native - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-gmpy2_2.3.0.bb b/meta-python/recipes-devtools/python/python3-gmpy2_2.3.0.bb new file mode 100644 index 0000000000..841d87097d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gmpy2_2.3.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x" +SECTION = "devel/python" +HOMEPAGE = "https://github.com/gmpy2/gmpy2" +LICENSE = "GPL-3.0-only | LGPL-3.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" + +DEPENDS += "gmp mpfr libmpc python3-setuptools-scm-native" + +SRC_URI[sha256sum] = "2d943cc9051fcd6b15b2a09369e2f7e18c526bc04c210782e4da61b62495eb4a" + +SRC_URI += "file://0001-Avoid-do_configure-requires-check-error.patch" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf