summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch29
-rw-r--r--meta-python/recipes-devtools/python/python3-gmpy2_2.3.0.bb (renamed from meta-python/recipes-devtools/python/python3-gmpy2_2.2.2.bb)9
2 files changed, 35 insertions, 3 deletions
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 @@
1Subject: [PATCH] Avoid do_configure requires check error.
2
3The gmpy2-2.3.0 need setuptools < 80, but version in oe-core is 80.9.0,
4so fix it to avoid following error.
5
6| ERROR Missing dependencies:
7| setuptools<80,>=77
8
9Upstream-Status: Inappropriate
10
11Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
12---
13 pyproject.toml | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/pyproject.toml b/pyproject.toml
17index 1f00809..3a4f3e2 100644
18--- a/pyproject.toml
19+++ b/pyproject.toml
20@@ -1,5 +1,5 @@
21 [build-system]
22-requires = ['setuptools>=77,<80', 'setuptools_scm[toml]>=6.0']
23+requires = ['setuptools>=77', 'setuptools_scm[toml]>=6.0']
24 build-backend = 'setuptools.build_meta'
25
26 [project]
27--
282.43.0
29
diff --git a/meta-python/recipes-devtools/python/python3-gmpy2_2.2.2.bb b/meta-python/recipes-devtools/python/python3-gmpy2_2.3.0.bb
index 2196616a0e..841d87097d 100644
--- a/meta-python/recipes-devtools/python/python3-gmpy2_2.2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-gmpy2_2.3.0.bb
@@ -1,13 +1,16 @@
1SUMMARY = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x" 1SUMMARY = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x"
2SECTION = "devel/python" 2SECTION = "devel/python"
3HOMEPAGE = "https://github.com/gmpy2/gmpy2"
3LICENSE = "GPL-3.0-only | LGPL-3.0-or-later" 4LICENSE = "GPL-3.0-only | LGPL-3.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
5 file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" 6 file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02"
6 7
7DEPENDS += "gmp mpfr libmpc" 8DEPENDS += "gmp mpfr libmpc python3-setuptools-scm-native"
8 9
9SRC_URI[sha256sum] = "d9b8c81e0f5e1a3cabf1ea8d154b29b5ef6e33b8f4e4c37b3da957b2dd6a3fa8" 10SRC_URI[sha256sum] = "2d943cc9051fcd6b15b2a09369e2f7e18c526bc04c210782e4da61b62495eb4a"
10 11
11inherit pypi python_setuptools_build_meta python3native 12SRC_URI += "file://0001-Avoid-do_configure-requires-check-error.patch"
13
14inherit pypi python_setuptools_build_meta
12 15
13BBCLASSEXTEND = "native nativesdk" 16BBCLASSEXTEND = "native nativesdk"