summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb
diff options
context:
space:
mode:
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.bb44
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 @@
1SUMMARY = "pandas library for high-performance data analysis tools"
2DESCRIPTION = "pandas is an open source, BSD-licensed library providing \
3high-performance, easy-to-use data structures and data analysis tools for \
4the Python programming language."
5HOMEPAGE = "https://pandas.pydata.org/"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a"
8
9SRC_URI += " \
10 file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \
11 "
12
13SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch "
14
15SRC_URI[sha256sum] = "4f18ba62b61d7e192368b84517265a99b4d7ee8912f8708660fb4a366cc82667"
16
17inherit pkgconfig pypi python_mesonpy cython
18
19DEPENDS += " \
20 python3-numpy \
21 python3-versioneer-native \
22"
23
24CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
25
26RDEPENDS:${PN} += " \
27 python3-json \
28 python3-numpy \
29 python3-dateutil \
30 python3-dateutil-zoneinfo \
31 python3-pytz \
32 python3-profile \
33"
34
35PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:"
36export PYTHONPATH
37
38do_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
44EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "