From b4dbeba98b262cb75da4ca0e954d814403d48662 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Mon, 24 Jul 2023 15:44:26 -0400 Subject: python3-pandas: upgrade 1.5.3 -> 2.0.3 pandas now requires versioneer, so add that to the DEPENDS list. The LICENSE checksum changed but this was due to line endings and not a difference in content. Changelog: https://github.com/pandas-dev/pandas/releases Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-pandas_2.0.3.bb | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb (limited to 'meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb new file mode 100644 index 0000000000..87a173c8a2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb @@ -0,0 +1,38 @@ +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 = "http://pandas.pydata.org/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a" + +SRC_URI[sha256sum] = "c02f372a88e0d17f36d3093a644c73cfc1788e876a7c4bcb4020a77512e2043c" + +inherit pypi setuptools3 + +DEPENDS += " \ + ${PYTHON_PN}-cython-native \ + ${PYTHON_PN}-numpy-native \ + ${PYTHON_PN}-versioneer-native \ +" + +PACKAGESPLITFUNCS =+ "fix_cythonized_sources" + +fix_cythonized_sources() { + for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do + if [ -e $f ]; then + sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f + fi + done +} + +CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-numpy \ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-dateutil-zoneinfo \ + ${PYTHON_PN}-pytz \ + ${PYTHON_PN}-profile \ +" -- cgit v1.2.3-54-g00ecf