PageRenderTime 72ms CodeModel.GetById 29ms RepoModel.GetById 1ms app.codeStats 0ms

/math/py-pandas/Makefile

https://github.com/freebsd/freebsd-ports
Makefile | 90 lines | 77 code | 9 blank | 4 comment | 0 complexity | 284e6d43e7904a4b203b84bde70bb38c MD5 | raw file
  1. PORTNAME= pandas
  2. PORTVERSION= 1.3.5
  3. PORTEPOCH= 1
  4. CATEGORIES= math devel python
  5. MASTER_SITES= CHEESESHOP
  6. PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
  7. MAINTAINER= python@FreeBSD.org
  8. COMMENT= Flexible, high-performance data analysis in Python
  9. LICENSE= BSD3CLAUSE
  10. BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.21<3:lang/cython@${PY_FLAVOR} \
  11. ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.5,1:math/py-numpy@${PY_FLAVOR}
  12. RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.29.21<3:lang/cython@${PY_FLAVOR} \
  13. ${PYTHON_PKGNAMEPREFIX}numpy>=1.16.5,1:math/py-numpy@${PY_FLAVOR} \
  14. ${PYTHON_PKGNAMEPREFIX}dateutil>=2.7.3:devel/py-dateutil@${PY_FLAVOR} \
  15. ${PYTHON_PKGNAMEPREFIX}pytz>=2017.3,1:devel/py-pytz@${PY_FLAVOR} \
  16. ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
  17. ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.1.2:math/py-matplotlib@${PY_FLAVOR}
  18. TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0:devel/py-arrow@${PY_FLAVOR}
  19. USES= cpe python:3.7+
  20. CPE_VENDOR= numfocus
  21. USE_PYTHON= cython distutils
  22. OPTIONS_DEFINE= MPL SCIPY
  23. OPTIONS_GROUP= ACCEL STORAGE HTML EXCEL
  24. OPTIONS_RADIO= SQL
  25. OPTIONS_GROUP_ACCEL= BTLNCK NUMEXPR
  26. OPTIONS_GROUP_STORAGE= BOTO TABLES
  27. OPTIONS_GROUP_HTML= LXML HTML5LIB JINJA2
  28. OPTIONS_GROUP_EXCEL= XLRD XLWT OPENPYXL XLSX
  29. OPTIONS_RADIO_SQL= ALCHEMY10 ALCHEMY11 ALCHEMY12 ALCHEMY13 ALCHEMY14
  30. OPTIONS_DEFAULT= BTLNCK NUMEXPR
  31. # Note: we cannot include the following ports in *_DEPENDS because they depend
  32. # on us for BUILD and RUN.
  33. # devel/py-xarray
  34. # math/py-statsmodels
  35. ACCEL_DESC= Computation Acceleration Add-ons
  36. ALCHEMY10_DESC= Support SQL databases via databases/py-sqlalchemy10
  37. ALCHEMY11_DESC= Support SQL databases via databases/py-sqlalchemy11
  38. ALCHEMY12_DESC= Support SQL databases via databases/py-sqlalchemy12
  39. ALCHEMY13_DESC= Support SQL databases via databases/py-sqlalchemy13
  40. ALCHEMY14_DESC= Support SQL databases via databases/py-sqlalchemy14
  41. BOTO_DESC= Support Amazon S3 storage via devel/py-boto
  42. BTLNCK_DESC= Accelerate certain NaN evals via math/py-bottleneck
  43. EXCEL_DESC= MS Excel I/O Add-ons
  44. HTML5LIB_DESC= Parse HTML with www/py-html5lib and www/py-beautifulsoup
  45. HTML_DESC= HTML Parsing/Generation Add-ons
  46. JINJA2_DESC= Support conditional HTML formatting with devel/py-Jinja2
  47. LXML_DESC= Parse HTML with devel/py-lxml and www/py-beautifulsoup
  48. MPL_DESC= Support graphical plotting output via math/py-matplotlib
  49. NUMEXPR_DESC= Accelerate certain numerical ops via math/py-numexpr
  50. OPENPYXL_DESC= Write MS Excel 2007+ with textproc/py-openpyxl
  51. OPENPYXL_IMPLIES= XLRD
  52. SCIPY_DESC= Support various statistical functions via science/py-scipy
  53. SQL_DESC= SQLAlchemy ORM Add-ons
  54. STORAGE_DESC= Data Storage Add-ons
  55. TABLES_DESC= Support HDF5-based storage via devel/py-tables
  56. XLRD_DESC= Read MS Excel with textproc/py-xlrd
  57. XLSX_DESC= Write MS Excel with textproc/py-xlsxwriter
  58. XLWT_DESC= Write MS Excel with textproc/py-xlwt
  59. ALCHEMY10_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR}
  60. ALCHEMY11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy11>0:databases/py-sqlalchemy11@${PY_FLAVOR}
  61. ALCHEMY12_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>0:databases/py-sqlalchemy12@${PY_FLAVOR}
  62. ALCHEMY13_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy13>0:databases/py-sqlalchemy13@${PY_FLAVOR}
  63. ALCHEMY14_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>0:databases/py-sqlalchemy14@${PY_FLAVOR}
  64. BOTO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boto>0:devel/py-boto@${PY_FLAVOR}
  65. BTLNCK_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bottleneck>=1.2.0:math/py-bottleneck@${PY_FLAVOR}
  66. HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.2.1:www/py-beautifulsoup@${PY_FLAVOR} \
  67. ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR}
  68. JINJA2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}
  69. LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.2.1:www/py-beautifulsoup@${PY_FLAVOR} \
  70. ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
  71. MPL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=2.0.0:math/py-matplotlib@${PY_FLAVOR}
  72. NUMEXPR_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numexpr>=2.6.1:math/py-numexpr@${PY_FLAVOR}
  73. OPENPYXL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openpyxl>=2.4.0:textproc/py-openpyxl@${PY_FLAVOR}
  74. SCIPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scipy>=1.1:science/py-scipy@${PY_FLAVOR}
  75. TABLES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tables>=3.4.2:devel/py-tables@${PY_FLAVOR}
  76. XLRD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlrd>=1.0.0:textproc/py-xlrd@${PY_FLAVOR}
  77. XLSX_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}XlsxWriter>0:textproc/py-xlsxwriter@${PY_FLAVOR}
  78. XLWT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xlwt>0:textproc/py-xlwt@${PY_FLAVOR}
  79. post-install:
  80. ${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
  81. .include <bsd.port.mk>