Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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" |
Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 8 | |
Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 9 | SRC_URI[sha256sum] = "c02f372a88e0d17f36d3093a644c73cfc1788e876a7c4bcb4020a77512e2043c" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 10 | |
| 11 | inherit pypi setuptools3 |
| 12 | |
| 13 | DEPENDS += " \ |
Patrick Williams | 2a25492 | 2023-08-11 09:48:11 -0500 | [diff] [blame] | 14 | ${PYTHON_PN}-cython-native \ |
| 15 | ${PYTHON_PN}-numpy-native \ |
| 16 | ${PYTHON_PN}-versioneer-native \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 17 | " |
| 18 | |
Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 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 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 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 | " |