diff options
| author | Trevor Gamblin <tgamblin@baylibre.com> | 2023-07-24 15:44:26 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-07-24 20:24:26 -0700 |
| commit | b4dbeba98b262cb75da4ca0e954d814403d48662 (patch) | |
| tree | cb718293481e9c56df928595e4e33bdc397dfb2c /meta-python/recipes-devtools/python/python3-pandas_2.0.3.bb | |
| parent | 98f3ebfa0393c6fa7a5e334e3221161765749270 (diff) | |
| download | meta-openembedded-b4dbeba98b262cb75da4ca0e954d814403d48662.tar.gz | |
python3-pandas: upgrade 1.5.3 -> 2.0.3
pandas now requires versioneer, so add that to the DEPENDS list. The
LICENSE checksum changed but this was due to line endings and not a
difference in content.
Changelog: https://github.com/pandas-dev/pandas/releases
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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 | " | ||
