summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb
new file mode 100644
index 0000000000..ac8d469847
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb
@@ -0,0 +1,42 @@
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 = "http://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[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54"
14
15inherit pypi python_mesonpy
16
17DEPENDS += " \
18 python3-cython-native \
19 python3-numpy-native \
20 python3-versioneer-native \
21"
22
23PACKAGESPLITFUNCS =+ "fix_cythonized_sources"
24
25fix_cythonized_sources() {
26 for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do
27 if [ -e $f ]; then
28 sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f
29 fi
30 done
31}
32
33CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
34
35RDEPENDS:${PN} += " \
36 python3-json \
37 python3-numpy \
38 python3-dateutil \
39 python3-dateutil-zoneinfo \
40 python3-pytz \
41 python3-profile \
42"