python3-pandas_2.2.2.bb 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 = "https://pandas.pydata.org/"
  6. LICENSE = "BSD-3-Clause"
  7. LIC_FILES_CHKSUM = "file://LICENSE;md5=cb819092901ddb13a7d0a4f5e05f098a"
  8. SRC_URI += " \
  9. file://0001-pyproject.toml-don-t-pin-dependency-versions.patch \
  10. file://0001-pyproject.toml-Downgrade-numpy-version-needs-to-1.x.patch \
  11. "
  12. SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch "
  13. SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54"
  14. inherit pkgconfig pypi python_mesonpy cython
  15. DEPENDS += " \
  16. python3-numpy \
  17. python3-versioneer-native \
  18. "
  19. CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations"
  20. RDEPENDS:${PN} += " \
  21. python3-json \
  22. python3-numpy \
  23. python3-dateutil \
  24. python3-dateutil-zoneinfo \
  25. python3-pytz \
  26. python3-profile \
  27. "
  28. PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:"
  29. export PYTHONPATH
  30. EXTRA_OEMESON:append:class-target = " -Dnumpy_inc_dir=${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}/numpy/_core/include "