From b5fb673c1843ed739a8401ba5fb55c312c3752fe Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 9 Apr 2026 18:32:11 +0800 Subject: python3-pandas: upgrade 3.0.1 -> 3.0.2 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pandas_3.0.2.bb | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pandas_3.0.2.bb (limited to 'meta-python/recipes-devtools/python/python3-pandas_3.0.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-pandas_3.0.2.bb b/meta-python/recipes-devtools/python/python3-pandas_3.0.2.bb new file mode 100644 index 0000000000..62affc5f45 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas_3.0.2.bb @@ -0,0 +1,48 @@ +SUMMARY = "pandas library for high-performance data analysis tools" +DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ +high-performance, easy-to-use data structures and data analysis tools for \ +the Python programming language." +HOMEPAGE = "https://pandas.pydata.org/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e98642e1210ade884e5254ab18d55b7d" + +SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch " + +SRC_URI[sha256sum] = "f4753e73e34c8d83221ba58f232433fca2748be8b18dbca02d242ed153945043" + +CVE_PRODUCT = "pandas" + +inherit pkgconfig pypi python_mesonpy cython + +DEPENDS += " \ + python3-numpy \ + python3-versioneer-native \ +" + +CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" + +RDEPENDS:${PN} += " \ + python3-json \ + python3-numpy \ + python3-dateutil \ + python3-dateutil-zoneinfo \ + python3-pytz \ + python3-profile \ +" + +PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:" +export PYTHONPATH + +do_compile:append() { + # Fix absolute paths in generated files + find ${B} -name "*.c" -o -name "*.cpp" | xargs -r \ + sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g' +} + +do_install:prepend() { + sed -i -e 's;${S};;g' ${B}/pandas/_libs/sparse.cpython-*/pandas/_libs/sparse.pyx.c +} + +EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include " + +BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf