mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-02 22:30:26 +00:00
Upgrade to release 3.0.0: - Dedicated string data type by default - Consistent copy/view behaviour with Copy-on-Write (CoW) (a.k.a. getting rid of the SettingWithCopyWarning) - New default resolution for datetime-like data - Initial support for the new pd.col syntax License-Update: Update license year to 2026 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
49 lines
1.5 KiB
BlitzBasic
49 lines
1.5 KiB
BlitzBasic
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] = "0facf7e87d38f721f0af46fe70d97373a37701b1c09f7ed7aeeb292ade5c050f"
|
|
|
|
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"
|