diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb new file mode 100644 index 0000000000..c7e3ec8fec --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "pandas library for high-performance data analysis tools" | ||
| 2 | DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ | ||
| 3 | high-performance, easy-to-use data structures and data analysis tools for \ | ||
| 4 | the Python programming language." | ||
| 5 | HOMEPAGE = "https://pandas.pydata.org/" | ||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a" | ||
| 8 | |||
| 9 | SRC_URI += " \ | ||
| 10 | file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch " | ||
| 14 | |||
| 15 | SRC_URI[sha256sum] = "4f18ba62b61d7e192368b84517265a99b4d7ee8912f8708660fb4a366cc82667" | ||
| 16 | |||
| 17 | inherit pkgconfig pypi python_mesonpy cython | ||
| 18 | |||
| 19 | DEPENDS += " \ | ||
| 20 | python3-numpy \ | ||
| 21 | python3-versioneer-native \ | ||
| 22 | " | ||
| 23 | |||
| 24 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" | ||
| 25 | |||
| 26 | RDEPENDS:${PN} += " \ | ||
| 27 | python3-json \ | ||
| 28 | python3-numpy \ | ||
| 29 | python3-dateutil \ | ||
| 30 | python3-dateutil-zoneinfo \ | ||
| 31 | python3-pytz \ | ||
| 32 | python3-profile \ | ||
| 33 | " | ||
| 34 | |||
| 35 | PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:" | ||
| 36 | export PYTHONPATH | ||
| 37 | |||
| 38 | do_compile:append() { | ||
| 39 | # Fix absolute paths in generated files | ||
| 40 | find ${B} -name "*.c" -o -name "*.cpp" | xargs -r \ | ||
| 41 | sed -i 's|${WORKDIR}/pandas-${PV}/|${TARGET_DBGSRC_DIR}/|g' | ||
| 42 | } | ||
| 43 | |||
| 44 | EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include " | ||
