2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # This file was automatically generated using the following command:
14 # $WS_TOOLS/python-integrate-project numpy
17 BUILD_STYLE
= pyproject
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= numpy
23 COMPONENT_SUMMARY
= Fundamental package for array computing in Python
24 COMPONENT_PROJECT_URL
= https
://numpy.org
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:883c987dee1880e2a864ab0dc9892292582510604156762362d9326444636e78
27 COMPONENT_LICENSE
= BSD-3-Clause
28 COMPONENT_LICENSE_FILE
= LICENSE.txt
32 include $(WS_MAKE_RULES
)/common.mk
34 # NumPy Tests must be run outside source directory so switch to the proto area
35 COMPONENT_TEST_DIR
= $(PROTO_DIR
)/$(PYTHON_LIB
)
37 # https://github.com/numpy/numpy/issues/27670
38 # https://www.illumos.org/issues/5346
39 PYTEST_ADDOPTS
+= --deselect numpy
/_core
/tests
/test_longdouble.py
::test_str_roundtrip
40 PYTEST_ADDOPTS
+= --deselect numpy
/_core
/tests
/test_print.py
::TestCommaDecimalPointLocale
::test_locale_longdouble
41 PYTEST_ADDOPTS
+= --deselect numpy
/lib
/tests
/test_function_base.py
::TestPercentile
::test_linear_interpolation
[inverted_cdf-False-20-longdouble-longdouble-quantile-0.4
]
42 PYTEST_ADDOPTS
+= --deselect numpy
/lib
/tests
/test_function_base.py
::TestPercentile
::test_linear_interpolation
[averaged_inverted_cdf-False-27.5
-longdouble-longdouble-quantile-0.4
]
44 # https://www.illumos.org/issues/16874
45 PYTEST_ADDOPTS
+= --deselect numpy
/_core
/tests
/test_umath.py
::TestSpecialFloats
::test_exp2
47 # Auto-generated dependencies
48 PYTHON_REQUIRED_PACKAGES
+= library
/python
/cython
49 PYTHON_REQUIRED_PACKAGES
+= library
/python
/meson-python
50 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
51 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
52 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
53 REQUIRED_PACKAGES
+= system
/library
54 REQUIRED_PACKAGES
+= system
/library
/math