summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-cmake_4.0.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2025-03-31 17:11:29 +0800
committerKhem Raj <raj.khem@gmail.com>2025-03-31 15:00:30 -0700
commit1d83f2d670fe7d2cd750520857b88dcc476b5132 (patch)
treed8df0d489a476951ac809f0950210af4ad85c425 /meta-python/recipes-devtools/python/python3-cmake_4.0.0.bb
parent7beb6347b2801657984d46516678f1479262c1c1 (diff)
downloadmeta-openembedded-1d83f2d670fe7d2cd750520857b88dcc476b5132.tar.gz
python3-cmake: upgrade 3.31.6 -> 4.0.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-cmake_4.0.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-cmake_4.0.0.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-cmake_4.0.0.bb b/meta-python/recipes-devtools/python/python3-cmake_4.0.0.bb
new file mode 100644
index 0000000000..b2450cd46f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cmake_4.0.0.bb
@@ -0,0 +1,38 @@
1SUMMARY = "CMake is an open-source, cross-platform family of tools designed to build, test and package software"
2LICENSE = "BSD-3-Clause & Apache-2.0"
3LIC_FILES_CHKSUM = " \
4 file://LICENSE_BSD_3;md5=9134cb61aebbdd79dd826ccb9ae6afcd \
5 file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \
6"
7
8DEPENDS = "ninja-native cmake-native python3-scikit-build-native python3-scikit-build-core-native"
9
10PYPI_PACKAGE = "cmake"
11PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
12
13inherit pypi python_setuptools_build_meta
14SRC_URI[sha256sum] = "b929ab7d2ebd6b9a81018b0248ea75edb3dc4ad69367e8c75fb0f6774bb6e962"
15
16SRC_URI += " \
17 file://CMakeLists.txt \
18 file://run-cmake-from-path.patch \
19"
20
21addtask do_patchbuild after do_patch before do_configure
22
23do_patchbuild () {
24 rm -f ${S}/CMakeLists.txt
25 cp ${UNPACKDIR}/CMakeLists.txt ${S}/
26}
27
28do_install:append () {
29 rm -rf ${D}${bindir}
30}
31
32RDEPENDS:${PN} = " \
33 cmake \
34 python3-scikit-build \
35 python3-scikit-build-core \
36"
37
38BBCLASSEXTEND = "native nativesdk"