diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb | 38 |
1 files changed, 38 insertions, 0 deletions
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 @@ | |||
| 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 = "http://pandas.pydata.org/" | ||
| 6 | LICENSE = "BSD-3-Clause" | ||
| 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "c02f372a88e0d17f36d3093a644c73cfc1788e876a7c4bcb4020a77512e2043c" | ||
| 10 | |||
| 11 | inherit pypi setuptools3 | ||
| 12 | |||
| 13 | DEPENDS += " \ | ||
| 14 | ${PYTHON_PN}-cython-native \ | ||
| 15 | ${PYTHON_PN}-numpy-native \ | ||
| 16 | ${PYTHON_PN}-versioneer-native \ | ||
| 17 | " | ||
| 18 | |||
| 19 | PACKAGESPLITFUNCS =+ "fix_cythonized_sources" | ||
| 20 | |||
| 21 | fix_cythonized_sources() { | ||
| 22 | for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}`; do | ||
| 23 | if [ -e $f ]; then | ||
| 24 | sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f | ||
| 25 | fi | ||
| 26 | done | ||
| 27 | } | ||
| 28 | |||
| 29 | CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" | ||
| 30 | |||
| 31 | RDEPENDS:${PN} += " \ | ||
| 32 | ${PYTHON_PN}-json \ | ||
| 33 | ${PYTHON_PN}-numpy \ | ||
| 34 | ${PYTHON_PN}-dateutil \ | ||
| 35 | ${PYTHON_PN}-dateutil-zoneinfo \ | ||
| 36 | ${PYTHON_PN}-pytz \ | ||
| 37 | ${PYTHON_PN}-profile \ | ||
| 38 | " | ||
