diff options
| author | Liu Yiding <liuyd.fnst@fujitsu.com> | 2026-02-28 17:01:58 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-02 19:25:59 -0800 |
| commit | b4e2194a37ca8bca6239ad2ebd26d8e1dd751f00 (patch) | |
| tree | e59b0facd937ee0dfa48b11387c0c865b3a0857c /meta-python | |
| parent | f66593bab71de14c34487fa9b0942c2a672645e0 (diff) | |
| download | meta-openembedded-b4e2194a37ca8bca6239ad2ebd26d8e1dd751f00.tar.gz | |
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 <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch | 29 | ||||
| -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 @@ | |||
| 1 | Subject: [PATCH] Avoid do_configure requires check error. | ||
| 2 | |||
| 3 | The gmpy2-2.3.0 need setuptools < 80, but version in oe-core is 80.9.0, | ||
| 4 | so fix it to avoid following error. | ||
| 5 | |||
| 6 | | ERROR Missing dependencies: | ||
| 7 | | setuptools<80,>=77 | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate | ||
| 10 | |||
| 11 | Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> | ||
| 12 | --- | ||
| 13 | pyproject.toml | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/pyproject.toml b/pyproject.toml | ||
| 17 | index 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 | -- | ||
| 28 | 2.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 @@ | |||
| 1 | SUMMARY = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x" | 1 | SUMMARY = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x" |
| 2 | SECTION = "devel/python" | 2 | SECTION = "devel/python" |
| 3 | HOMEPAGE = "https://github.com/gmpy2/gmpy2" | ||
| 3 | LICENSE = "GPL-3.0-only | LGPL-3.0-or-later" | 4 | LICENSE = "GPL-3.0-only | LGPL-3.0-or-later" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ |
| 5 | file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" | 6 | file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" |
| 6 | 7 | ||
| 7 | DEPENDS += "gmp mpfr libmpc" | 8 | DEPENDS += "gmp mpfr libmpc python3-setuptools-scm-native" |
| 8 | 9 | ||
| 9 | SRC_URI[sha256sum] = "d9b8c81e0f5e1a3cabf1ea8d154b29b5ef6e33b8f4e4c37b3da957b2dd6a3fa8" | 10 | SRC_URI[sha256sum] = "2d943cc9051fcd6b15b2a09369e2f7e18c526bc04c210782e4da61b62495eb4a" |
| 10 | 11 | ||
| 11 | inherit pypi python_setuptools_build_meta python3native | 12 | SRC_URI += "file://0001-Avoid-do_configure-requires-check-error.patch" |
| 13 | |||
| 14 | inherit pypi python_setuptools_build_meta | ||
| 12 | 15 | ||
| 13 | BBCLASSEXTEND = "native nativesdk" | 16 | BBCLASSEXTEND = "native nativesdk" |
