mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 16:58:24 +00:00
python3-cmake: upgrade 4.1.2 -> 4.2.0
Changelog: ============= - ci: build with clang instead of gcc - docs: improve links back to GitHub - chore: add changelog exclusion for bots Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
38
meta-python/recipes-devtools/python/python3-cmake_4.2.0.bb
Normal file
38
meta-python/recipes-devtools/python/python3-cmake_4.2.0.bb
Normal file
@@ -0,0 +1,38 @@
|
||||
SUMMARY = "CMake is an open-source, cross-platform family of tools designed to build, test and package software"
|
||||
LICENSE = "BSD-3-Clause & Apache-2.0"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://LICENSE_BSD_3;md5=9134cb61aebbdd79dd826ccb9ae6afcd \
|
||||
file://LICENSE_Apache_20;md5=19cbd64715b51267a47bf3750cc6a8a5 \
|
||||
"
|
||||
|
||||
DEPENDS = "ninja-native cmake-native python3-scikit-build-native python3-scikit-build-core-native"
|
||||
|
||||
PYPI_PACKAGE = "cmake"
|
||||
PYPI_ARCHIVE_NAME_PREFIX = "pypi-"
|
||||
|
||||
inherit pypi python_setuptools_build_meta
|
||||
SRC_URI[sha256sum] = "7744c20e4a23e68dea276d819767d2bdbb45442cc342560b03ff693b755cd181"
|
||||
|
||||
SRC_URI += " \
|
||||
file://CMakeLists.txt \
|
||||
file://run-cmake-from-path.patch \
|
||||
"
|
||||
|
||||
addtask do_patchbuild after do_patch before do_configure
|
||||
|
||||
do_patchbuild () {
|
||||
rm -f ${S}/CMakeLists.txt
|
||||
cp ${UNPACKDIR}/CMakeLists.txt ${S}/
|
||||
}
|
||||
|
||||
do_install:append () {
|
||||
rm -rf ${D}${bindir}
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} = " \
|
||||
cmake \
|
||||
python3-scikit-build \
|
||||
python3-scikit-build-core \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
Reference in New Issue
Block a user