1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[v11]= Array computing for Python (3.11)
8 SDESC[v12]= Array computing for Python (3.12)
9 HOMEPAGE= https://numpy.org
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/n/numpy
14 DISTFILE[1]= numpy-1.26.3.tar.gz:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
24 BUILD_DEPENDS= openblas:dev:standard
25 BUILDRUN_DEPENDS= openblas:primary:standard
27 USES= cpe meson pkgconfig c++:single
29 DISTNAME= numpy-1.26.3
31 LICENSE= BSD3CLAUSE:single
32 LICENSE_FILE= BSD3CLAUSE:{{WRKSRC}}/LICENSE.txt
38 PLIST_SUB= EGGVER=1.26.3
39 SOEXTENSION={{SOEXTENSION}}
41 VAR_OPSYS[linux]= MAKEFILE_LINE=SOEXTENSION=-x86_64-linux-gnu
43 [PY311].BUILDRUN_DEPENDS_ON= python311:single:standard
44 [PY311].BUILD_DEPENDS_ON= python-Cython:single:v11
45 python-meson-python:single:v11
46 python-wheel:single:v11
47 python-spin:single:v11
49 [PY311].PLIST_SUB_ON= SITEPKGS=lib/python3.11/site-packages/numpy
54 [PY312].BUILDRUN_DEPENDS_ON= python312:primary:standard
55 [PY312].BUILD_DEPENDS_ON= python312:dev:standard
56 python-Cython:single:v12
57 python-meson-python:single:v12
58 python-wheel:single:v12
59 python-spin:single:v12
61 [PY312].PLIST_SUB_ON= SITEPKGS=lib/python3.12/site-packages/numpy
67 (cd ${WRKSRC} && pip install . --no-build-isolation )
70 # do nothing so meson.mk doesn't do anything
73 whl=$$(find /root/.cache/pip/wheels -name "*.whl");\
81 --root-user-action=ignore \
82 --disable-pip-version-check \
84 ${FIND} ${STAGEDIR}${PREFIX}/lib -name "*.so" | xargs ${STRIP_CMD}
86 [FILE:2903:descriptions/desc.single]
98 NumPy is the fundamental package for scientific computing with Python.
100 - **Website:** https://www.numpy.org
101 - **Documentation:** https://numpy.org/doc
103 https://mail.python.org/mailman/listinfo/numpy-discussion
104 - **Source code:** https://github.com/numpy/numpy
105 - **Contributing:** https://www.numpy.org/devdocs/dev/index.html
106 - **Bug reports:** https://github.com/numpy/numpy/issues
107 - **Report a security vulnerability:** https://tidelift.com/docs/security
111 - a powerful N-dimensional array object
112 - sophisticated (broadcasting) functions
113 - tools for integrating C/C++ and Fortran code
114 - useful linear algebra, Fourier transform, and random number capabilities
118 NumPy requires `pytest` and `hypothesis`. Tests can then be run after
121 python -c "import numpy, sys; sys.exit(numpy.test() is False)"
124 ----------------------
126 NumPy is a community-driven open source project developed by a diverse
128 [contributors]. The NumPy leadership has made a strong
129 commitment to creating an open, inclusive, and positive community. Please
131 [NumPy Code of Conduct] for guidance on how to interact
132 with others in a way that makes our community thrive.
134 Call for Contributions
135 ----------------------
137 The NumPy project welcomes your expertise and enthusiasm!
139 Small improvements or fixes are always appreciated. If you are considering
141 to the source code, please contact us through the [mailing
144 Writing code isn’t the only way to contribute to NumPy. You can also:
145 - review pull requests
146 - help us stay on top of new and old issues
147 - develop tutorials, presentations, and other educational materials
148 - maintain and improve [our website]
149 - develop graphic design for our brand assets and promotional materials
150 - translate website content
151 - help with outreach and onboard new contributors
152 - write grant proposals and help with other fundraising efforts
154 For more information about the ways you can contribute to NumPy, visit [our
156 If you’re unsure where to start or how your skills fit in, reach out! You
158 ask on the mailing list or here, on GitHub, by opening a new issue or
160 comment on a relevant issue that is already open.
162 Our preferred channels of communication are all public, but if you’d like
164 speak to us in private first, contact our community coordinators at
165 numpy-team@googlegroups.com or on Slack (write numpy-team@googlegroups.com
169 We also have a biweekly community call, details of which are announced on
171 mailing list. You are very welcome to join.
173 If you are new to contributing to open source, [this
174 guide] helps explain why, what,
175 and how to successfully get involved.
179 697df43e2b6310ecc9d95f05d5ef20eacc09c7c4ecc9da3f235d39e71b7da1e4 15679696 numpy-1.26.3.tar.gz
182 [FILE:18540:manifests/plist.single]
183 %%ONLY311%%%%SITEPKGS%%/distutils/
206 numpy_distribution.py
211 %%ONLY311%%%%SITEPKGS%%/distutils/__pycache__/conv_template.cpython-%%XY%%.pyc
212 %%ONLY311%%%%SITEPKGS%%/distutils/checks/
249 extra_avx512bw_mask.c
250 extra_avx512dq_mask.c
251 extra_avx512f_reduce.c
252 extra_vsx3_half_double.c
256 %%ONLY311%%%%SITEPKGS%%/distutils/command/
275 %%ONLY311%%%%SITEPKGS%%/distutils/fcompiler/
296 %%ONLY311%%%%SITEPKGS%%/distutils/mingw/gfortran_vs2003_hack.c
297 %%ONLY311%%%%SITEPKGS%%/distutils/tests/
300 test_ccompiler_opt.py
301 test_ccompiler_opt_conf.py
304 test_fcompiler_gnu.py
305 test_fcompiler_intel.py
306 test_fcompiler_nagfor.py
307 test_from_template.py
309 test_mingw32ccompiler.py
311 test_npy_pkg_config.py
316 __init__.cython-30.pxd
334 %%SITEPKGS%%-%%EGGVER%%.dist-info/
352 %%SITEPKGS%%/_pyinstaller/
357 %%SITEPKGS%%/_typing/
364 _extended_precision.py
376 %%SITEPKGS%%/array_api/
380 _creation_functions.py
381 _data_type_functions.py
383 _elementwise_functions.py
384 _indexing_functions.py
385 _manipulation_functions.py
386 _searching_functions.py
388 _sorting_functions.py
389 _statistical_functions.py
391 _utility_functions.py
394 %%SITEPKGS%%/array_api/tests/
397 test_creation_functions.py
398 test_data_type_functions.py
399 test_elementwise_functions.py
400 test_indexing_functions.py
401 test_manipulation_functions.py
402 test_set_functions.py
403 test_sorting_functions.py
409 %%SITEPKGS%%/compat/tests/
416 _add_newdocs_scalars.py
426 _multiarray_tests.cpython-%%XY%%%%SOEXTENSION%%.so
427 _multiarray_umath.cpython-%%XY%%%%SOEXTENSION%%.so
428 _operand_flag_tests.cpython-%%XY%%%%SOEXTENSION%%.so
429 _rational_tests.cpython-%%XY%%%%SOEXTENSION%%.so
430 _simd.cpython-%%XY%%%%SOEXTENSION%%.so
432 _struct_ufunc_tests.cpython-%%XY%%%%SOEXTENSION%%.so
437 _umath_tests.cpython-%%XY%%%%SOEXTENSION%%.so
466 %%SITEPKGS%%/core/include/numpy/
472 _neighborhood_iterator_imp.h
476 experimental_dtype_api.h
481 npy_1_7_deprecated_api.h
488 npy_no_deprecated_api.h
494 %%SITEPKGS%%/core/include/numpy/random/
499 %%SITEPKGS%%/core/lib/libnpymath.a
500 %%SITEPKGS%%/core/lib/npy-pkg-config/
503 %%SITEPKGS%%/core/tests/
510 test_array_coercion.py
511 test_array_interface.py
514 test_casting_floatingpoint_errors.py
515 test_casting_unittests.py
516 test_conversion_utils.py
517 test_cpu_dispatcher.py
519 test_custom_dtypes.py
529 test_function_base.py
535 test_item_selection.py
544 test_nep50_promotions.py
547 test_numpy_2_0_compat.py
554 test_scalar_methods.py
556 test_scalarinherit.py
565 test_umath_accuracy.py
566 test_umath_complex.py
568 %%SITEPKGS%%/core/tests/data/
570 generate_umath_validation_data.cpp
572 recarray_from_file.fits
573 umath-validation-set-README.txt
574 umath-validation-set-arccos.csv
575 umath-validation-set-arccosh.csv
576 umath-validation-set-arcsin.csv
577 umath-validation-set-arcsinh.csv
578 umath-validation-set-arctan.csv
579 umath-validation-set-arctanh.csv
580 umath-validation-set-cbrt.csv
581 umath-validation-set-cos.csv
582 umath-validation-set-cosh.csv
583 umath-validation-set-exp.csv
584 umath-validation-set-exp2.csv
585 umath-validation-set-expm1.csv
586 umath-validation-set-log.csv
587 umath-validation-set-log10.csv
588 umath-validation-set-log1p.csv
589 umath-validation-set-log2.csv
590 umath-validation-set-sin.csv
591 umath-validation-set-sinh.csv
592 umath-validation-set-tan.csv
593 umath-validation-set-tanh.csv
594 %%SITEPKGS%%/core/tests/examples/cython/
598 %%SITEPKGS%%/core/tests/examples/limited_api/
628 %%SITEPKGS%%/f2py/_backends/
634 %%SITEPKGS%%/f2py/src/
637 %%SITEPKGS%%/f2py/tests/
639 test_abstract_interface.py
640 test_array_from_pyobj.py
641 test_assumed_shape.py
642 test_block_docstring.py
646 test_compile_function.py
658 test_quoted_character.py
660 test_return_character.py
661 test_return_complex.py
662 test_return_integer.py
663 test_return_logical.py
665 test_semicolon_split.py
669 test_value_attrspec.py
671 %%SITEPKGS%%/f2py/tests/src/abstract_interface/
674 %%SITEPKGS%%/f2py/tests/src/array_from_pyobj/wrapmodule.c
675 %%SITEPKGS%%/f2py/tests/src/assumed_shape/
681 %%SITEPKGS%%/f2py/tests/src/block_docstring/foo.f
682 %%SITEPKGS%%/f2py/tests/src/callback/
688 %%SITEPKGS%%/f2py/tests/src/cli/
692 %%SITEPKGS%%/f2py/tests/src/common/
695 %%SITEPKGS%%/f2py/tests/src/crackfortran/
715 %%SITEPKGS%%/f2py/tests/src/f2cmap/
718 %%SITEPKGS%%/f2py/tests/src/isocintrin/isoCtests.f90
719 %%SITEPKGS%%/f2py/tests/src/kind/foo.f90
720 %%SITEPKGS%%/f2py/tests/src/mixed/
724 %%SITEPKGS%%/f2py/tests/src/module_data/
726 module_data_docstring.f90
727 %%SITEPKGS%%/f2py/tests/src/negative_bounds/issue_20853.f90
728 %%SITEPKGS%%/f2py/tests/src/parameter/
730 constant_compound.f90
732 constant_non_compound.f90
734 %%SITEPKGS%%/f2py/tests/src/quoted_character/foo.f
735 %%SITEPKGS%%/f2py/tests/src/regression/inout.f90
736 %%SITEPKGS%%/f2py/tests/src/regression/gh25337/
739 %%SITEPKGS%%/f2py/tests/src/return_character/
742 %%SITEPKGS%%/f2py/tests/src/return_complex/
745 %%SITEPKGS%%/f2py/tests/src/return_integer/
748 %%SITEPKGS%%/f2py/tests/src/return_logical/
751 %%SITEPKGS%%/f2py/tests/src/return_real/
754 %%SITEPKGS%%/f2py/tests/src/size/foo.f90
755 %%SITEPKGS%%/f2py/tests/src/string/
765 %%SITEPKGS%%/f2py/tests/src/value_attrspec/gh21665.f90
771 _pocketfft_internal.cpython-%%XY%%%%SOEXTENSION%%.so
774 %%SITEPKGS%%/fft/tests/
824 %%SITEPKGS%%/lib/tests/
832 test_financial_expired.py
834 test_function_base.py
846 test_stride_tricks.py
851 %%SITEPKGS%%/lib/tests/data/
861 _umath_linalg.cpython-%%XY%%%%SOEXTENSION%%.so
862 lapack_lite.cpython-%%XY%%%%SOEXTENSION%%.so
865 %%SITEPKGS%%/linalg/tests/
885 %%SITEPKGS%%/ma/tests/
894 %%SITEPKGS%%/matrixlib/
900 %%SITEPKGS%%/matrixlib/tests/
904 test_masked_matrix.py
905 test_matrix_linalg.py
909 %%SITEPKGS%%/polynomial/
929 %%SITEPKGS%%/polynomial/tests/
946 _bounded_integers.cpython-%%XY%%%%SOEXTENSION%%.so
947 _bounded_integers.pxd
948 _common.cpython-%%XY%%%%SOEXTENSION%%.so
950 _generator.cpython-%%XY%%%%SOEXTENSION%%.so
952 _mt19937.cpython-%%XY%%%%SOEXTENSION%%.so
954 _pcg64.cpython-%%XY%%%%SOEXTENSION%%.so
956 _philox.cpython-%%XY%%%%SOEXTENSION%%.so
959 _sfc64.cpython-%%XY%%%%SOEXTENSION%%.so
961 bit_generator.cpython-%%XY%%%%SOEXTENSION%%.so
965 mtrand.cpython-%%XY%%%%SOEXTENSION%%.so
967 %%SITEPKGS%%/random/_examples/cffi/
970 %%SITEPKGS%%/random/_examples/cython/
972 extending_distributions.pyx
974 %%SITEPKGS%%/random/_examples/numba/
976 extending_distributions.py
977 %%SITEPKGS%%/random/lib/libnpyrandom.a
978 %%SITEPKGS%%/random/tests/
982 test_generator_mt19937.py
983 test_generator_mt19937_regressions.py
986 test_randomstate_regression.py
988 test_seed_sequence.py
990 %%SITEPKGS%%/random/tests/data/
992 mt19937-testset-1.csv
993 mt19937-testset-2.csv
996 pcg64dxsm-testset-1.csv
997 pcg64dxsm-testset-2.csv
1002 %%SITEPKGS%%/testing/
1006 print_coercion_tables.py
1008 %%SITEPKGS%%/testing/_private/
1013 %%SITEPKGS%%/testing/tests/
1022 test_numpy_config.py
1023 test_numpy_version.py
1028 %%SITEPKGS%%/typing/
1032 %%SITEPKGS%%/typing/tests/
1037 %%SITEPKGS%%/typing/tests/data/mypy.ini
1038 %%SITEPKGS%%/typing/tests/data/fail/
1040 array_constructors.pyi
1058 lib_function_base.pyi
1083 warnings_and_errors.pyi
1084 %%SITEPKGS%%/typing/tests/data/misc/extended_precision.pyi
1085 %%SITEPKGS%%/typing/tests/data/pass/
1087 array_constructors.py
1104 ndarray_conversion.py
1106 ndarray_shape_manipulation.py
1116 warnings_and_errors.py
1117 %%SITEPKGS%%/typing/tests/data/reveal/
1119 array_constructors.pyi
1141 lib_function_base.pyi
1151 nbit_base_example.pyi
1152 ndarray_conversion.pyi
1154 ndarray_shape_manipulation.pyi
1171 warnings_and_errors.pyi
1175 [FILE:1275:patches/patch-numpy_core_include_numpy_npy__math.h]
1176 --- numpy/core/include/numpy/npy_math.h.orig 1970-01-01 00:00:00 UTC
1177 +++ numpy/core/include/numpy/npy_math.h
1178 @@ -285,7 +285,11 @@ NPY_INPLACE npy_longdouble npy_tanl(npy_
1179 NPY_INPLACE npy_longdouble npy_expl(npy_longdouble x);
1180 NPY_INPLACE npy_longdouble npy_sqrtl(npy_longdouble x);
1181 NPY_INPLACE npy_longdouble npy_hypotl(npy_longdouble x, npy_longdouble y);
1182 +#if defined(__NetBSD__)
1183 +#define npy_log2l __builtin_log2l
1185 NPY_INPLACE npy_longdouble npy_log2l(npy_longdouble x);
1187 NPY_INPLACE npy_longdouble npy_atan2l(npy_longdouble x, npy_longdouble y);
1188 NPY_INPLACE npy_longdouble npy_powl(npy_longdouble x, npy_longdouble y);
1189 NPY_INPLACE npy_longdouble npy_modfl(npy_longdouble x, npy_longdouble* y);
1190 @@ -303,14 +307,22 @@ NPY_INPLACE npy_longdouble npy_modfl(npy
1191 #define npy_cbrtl cbrtl
1192 #define npy_log10l log10l
1193 #define npy_logl logl
1194 +#if defined(__NetBSD__)
1195 +#define npy_expm1l expm1
1197 #define npy_expm1l expm1l
1199 #define npy_asinl asinl
1200 #define npy_acosl acosl
1201 #define npy_atanl atanl
1202 #define npy_asinhl asinhl
1203 #define npy_acoshl acoshl
1204 #define npy_atanhl atanhl
1205 +#if defined(__NetBSD__)
1206 +#define npy_log1pl log1p
1208 #define npy_log1pl log1pl
1210 #define npy_exp2l exp2l
1211 #define npy_fmodl fmodl
1212 #define npy_frexpl frexpl
1215 [FILE:564:patches/patch-numpy_f2py_cfuncs.py]
1216 --- numpy/f2py/cfuncs.py.orig 1970-01-01 00:00:00 UTC
1217 +++ numpy/f2py/cfuncs.py
1218 @@ -547,6 +547,9 @@ cppmacros["F2PY_THREAD_LOCAL_DECL"] = ""
1219 #define F2PY_THREAD_LOCAL_DECL __thread
1220 #elif defined(__STDC_VERSION__) \\
1221 && (__STDC_VERSION__ >= 201112L) \\
1222 + && !defined(__DragonFly__) \\
1223 + && !defined(__FreeBSD__) \\
1224 + && !defined(__sun__) \\
1225 && !defined(__STDC_NO_THREADS__) \\
1226 && (!defined(__GLIBC__) || __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 12)) \\
1227 && !defined(NPY_OS_OPENBSD) && !defined(NPY_OS_HAIKU)