pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/math/py-numpy



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon May  3 17:15:23 UTC 2021

Modified Files:
        pkgsrc/math/py-numpy: Makefile PLIST distinfo
        pkgsrc/math/py-numpy/patches: patch-numpy_distutils_fcompiler_gnu.py
            patch-numpy_distutils_system__info.py
Added Files:
        pkgsrc/math/py-numpy/patches: patch-numpy_core_setup.py
            patch-numpy_linalg_setup.py

Log Message:
py-numpy: updated to 1.20.2

1.20.2:
* Update f2py from master.
* ``diagflat`` could overflow on windows or 32-bit platforms
* Fix refcount leak in f2py ``complex_double_from_pyobj``.
* Fix tiny memory leaks when ``like=`` overrides are used
* Remove temporary change of descr/flags in VOID functions
* Segfault in nditer buffer dealloc for Object arrays
* Remove suspicious type casting
* remove nonsensical comparison of pointer < 0
* verify pointer against NULL before using it
* check if PyArray_malloc succeeded
* incorrect error fallthrough in nditer
* Backport CI fixes from main.
* Add annotations for ``dtype.__getitem__``, ``__mul__`` and...
* NameError in numpy.distutils.fcompiler.compaq
* Fixed ``where`` keyword for ``np.mean`` & ``np.var`` methods
* Update apt package list before Python install
* Ensure that re-exported sub-modules are properly annotated
* Fix ma coercion list-of-ma-arrays if they do not cast to...
* Fix small valgrind-found issues
* Fix small issues found with pytest-leaks

1.20.1:
* Add missing placeholder annotations
* Fix typo in ``numpy.__init__.py``
* don't mutate list of fake libraries while iterating over...
* gracefully shuffle memoryviews
* Use C linkage for random distributions
* fix when GitHub Actions builds trigger, and allow ci skips
* Allow unmodified use of isclose, allclose, etc. with timedelta
* Allow pickling all relevant DType types/classes
* Fix missing signed_char dependency.
* Change license date 2020 -> 2021
* CircleCI seems to occasionally time out, increase the limit
* Fix f2py bugs when wrapping F90 subroutines.
* crackfortran regex simplify
* threads.h existence test requires GLIBC > 2.12.
* Prepare for the NumPy 1.20.1 release.

1.20.0:
* enable multi-platform SIMD compiler optimizations
* NEP 36 (fair play)
* Deprecate aliases of builtin types in python 3.7+
* `np.resize` negative shape and subclasses edge case fixes
* Add the method `permuted` to Generator.
* Fix issues with non-reduce broadcasting axes
* Ensure PyArray_FromScalar always returns the requested dtype
* Technical decisions for new DTypes
* Create Preliminary DTypeMeta class and np.dtype subclasses
* Avoid exception in NpzFile destructor if constructor raises...
* Improved `__str__` for polynomials
* Remove Accelerate support
* [DOC] Added tutorial about the numpy.ma module.
* Add where argument to np.mean
* Deprecate passing shape=None to mean shape=()
* Ensure indexing errors will be raised even on empty results
* improve printing of arrays with multi-line reprs
* Correct documentation of ``__array__`` when used as output...
* Implement concatenate dtype and casting keyword arguments
* Deprecate `numpy.dual`.
* Potential fix for divmod(1.0, 0.0) to raise divbyzero and...
* Increase guidance and detail of np.polynomial docstring
* Add transition note to all lib/poly functions
* Rewrite of array-coercion to support new dtypes
* Add ``full_output`` argument to ``f2py.compile``.
* Deprecate ufunc.outer with matrix inputs
* Unify cached (C-level static) imports
* Allow attach docs twice but error if wrong
* Fix default fallback in genfromtxt
* ENH:Umath Replace raw SIMD of unary float point(32-64) with NPYV...
* added edge keyword argument to digitize
* Update the f2py section of the "Using Python as Glue" page.
* Improve `rec.array` function documentation
* include dt64/td64 isinstance checks in ``__init__.pxd``
* Clarifications for np.std
* Order percentile monotonically
* cleanups to quantile
* Update master after 1.19.x branch.
* Ensure out argument is returned by identity for 0d arrays
* Clarifications for ``np.var``.
* Add a note about performance of isclose compared to math.isclose
* Clean up the implementation of quantile
* Bump hypothesis from 5.12.0 to 5.14.0
* Improve "tobytes" docstring.
* Fix tools/download-wheels.py.
* Require Python >= 3.6 in setup.py
* Fix malformed docstrings in ma.
* Optimize Cpu feature detect in X86, fix for GCC on macOS
* np.info does not show keyword-only arguments
* Fix bad reference in ``numpy.ma``
* Fix detecting and testing armhf features
* Fix packbits documentation rendering,
* Fix troubleshooting code snippet when env vars are empty
* relpath fails for different drives on windows
* Fix ``np.ma.core.doc_note``
* Bump numpydoc version
* Stop Using PyEval_Call* and simplify some uses
* Improve the ARM cpu feature detection by parsing /proc/cpuinfo
* Reconstruct Testing Guideline.
* Cleanup 'tools/download-wheels.py'
* link np.interp to SciPy's interpolation functions (closes...
* Fix spelling typo - homogenous to homogeneous.
* Use AVX-512 for np.isnan, np.infinite, np.isinf and np.signbit
* Fix refcounting in add_newdoc
* Create a link for the circleCI artifact
* Fix dtype leak in `PyArray_FromAny` error path
* Indentation for docstrings
* Fix small leaks in error path and ``empty_like`` with shape
* Streamline download-wheels.
* Fix an obvious mistake in a message printed in doc/Makefile.
* Bump cython from 0.29.17 to 0.29.19
* Bump hypothesis from 5.14.0 to 5.15.1
* Bump pytest-cov from 2.8.1 to 2.9.0
* Use AVX-512 for np.frexp and np.ldexp
* add index for user docs.
* ARM Neon implementation with intrinsic for np.argmax.
* Tighten howto-docs guide
* Make ctypes optional on Windows
* Hardcode buffer handling for simple scalars
* Stop uploading wheels to Rackspace.
* Use a raw string for the fromstring docstring.
* Validate and disable CPU features in runtime
* Implement the NumPy C SIMD vectorization interface
* Update make dist html target.
* Update sphinx conf to use xelatex.
* turn on codecov patch diffs
* endpoints of array returned by geomspace() should match...
* support python 3.10
* Chain some exceptions.
* Improve intersect1d docstring
* Update assert_warns parameter list
* Simplify assert_warns in test_io.py
* make NEP 18 status Final
* Add style guide to howto_document
* NEP for C style guide
* Fix description of dtype default in linspace
* Add extern to PyArrayDTypeMeta_Type declaration
* Add a reference into NEP 29,
* Catch remaining cases of Py_SIZE and Py_TYPE as lvalues
* Fix deprecated warn for Intel/Apple/Clang Compiler
* make clearer that sinc is normalized by a factor pi
* update roadmap
* fixes einsum output order with optimization
* add a "make show" command to doc/Makefile
* Add a NEP link to all neps.
* extend error message when Accelerate is detected
* Improve assert_warns docstring with example
* Bump hypothesis from 5.15.1 to 5.16.0
* Fix development_workflow links
* fix GCC 10 major version comparison
* install mingw32 v7.3.0 for win32
* Fixes for 18 broken links
* use zip instead of range in piecewise
* add `norm=forward,backward` to numpy.fft functions
* Optimize the performace of np.packbits in ARM-based machine.
* Fix result when a gufunc output broadcasts the inputs.
* Point Contributing page to new NEP 45
* make Py_SET_SIZE and Py_SET_TYPE macros a bit safer
* Error when ``size`` is smaller than broadcast input...
* Correct MV Normal sig
* raise IEEE exception on AIX
* only single-polynomial fitting in np.polynomial.Polynomial.fit()
* Minor rounding correction in Generator.binomial
* trivial doc style fix in NEP 45.
* add type stubs from numpy-stubs
* make callbacks threadsafe
* replace \t by whitespace for readability
* MAINT:ARMHF Fix detecting feature groups NEON_HALF and NEON_VFPV4
* Improve buffer speed
* move thread-local declaration definition to common...
* Fix cython warning in random/_common.pyx.
* Bump pytest from 5.4.2 to 5.4.3
* Remove non-threadsafe sigint handling from fft calculation
* SSE2 intrinsic implementation for float64 input of np.enisum
* Ensure SeedSequence 0-padding does not collide with spawn...
* Remove deprecated numeric types and deprecate remaining
* drop win32 3.7, 3.6 builds
* simplifying annotations for np.core.from_numeric
* make typing module available at runtime
* Throw TypeError on operator concat on Numpy Arrays
* Add new tests for array coercion
* fix sin/cos bug when input is strided array
* fix name of first parameter to dtype constructor in type...
* Added an example for np.transpose(4d_array)
* changed np.generic arguments to positional-only
* Clarify dtype default for logspace and geomspace
* Disallow complex args in arange
* Raise TypeError for float->timedelta promotion
* Add ``__f2py_numpy_version__`` attribute to Fortran modules.
* Fix reference count leak in mapping.c
* Move and improve ``test_ignore_nan_ulperror``.
* make addition of types a "new feature" in release notes
* Avx512 intrinsics implementation for float64 input np.log
* Bump pytest-cov from 2.9.0 to 2.10.0
* Bump hypothesis from 5.16.0 to 5.16.1
* bump mypy version to 0.780
* Openblas 0.3.10
* add annotation for abs
* check if std=c99 is really required
* disable Shippable cache
* Expand array-creation benchmarks
* Implemented two dtype-related TODO's
* Initialize stop-reading in array_from_text
* Updated documentation for numpy.squeeze
* add tool to find functions missing types
* ENH,BUG:distutils Remove the origins from the implied features
* Some code clean up in loadtxt
* remove obsolete goal_time param
* Fix uint->timedelta promotion to raise TypeError
* Replace `PyUString_GET_SIZE` with `PyUnicode_GetLength`.
* Fix outdated docs link
* add a static typing test for memoryviews as ArrayLikes
* Added annotations to 8 functions from np.core.fromnumeric
* Update master after 1.19.0 release.
* Allow genfromtxt to unpack structured arrays
* Prefer generator expressions over list comprehensions...
* cross-reference numpy.dot and numpy.linalg.multi_dot
* Bump hypothesis from 5.16.1 to 5.16.3
* Bump mypy from 0.780 to 0.781
* Add lib.format.open_memmap to autosummary.
* Fix bug in AVX complex absolute while processing array of...
* remove blacklist/whitelist terms
* Add extra debugging information to CPU features detection
* Add support for file like objects to np.core.records.fromfile
* updated gcc minimum recommend version to build from source
* Allow `None` to be passed to certain `generic` subclasses
* fixed docstring for descr_to_dtype
* Remove "matrix" from `triu` docstring.
* add py.typed sentinel to package manifest
* Fixup quantile tests to not use `np.float`
* Add CPU entry for Emscripten / WebAssembly
* Disable Python 3.9-dev testing.
* Add instruction about stable symlink
* Disable use_hugepages in case of ValueError
* Add dep directive to alen docstring.
* Add RPATH support for AIX
* fix typo
* Fix PyArray_SearchSorted signature.
* Add annotations to the last 8 functions in numpy.core.fromnumeric
* Use f90 compiler specified in f2py command line args for...
* reword random c-api introduction, cython is documented in...
* Tweak a sentence about broadcasting.
* Prepend `ma.` to references in ``numpy.ma``
* Remove redundant word
* add unique() to See Also of repeat()
* add example to unique() and make connection to repeat()
* Chaining exceptions in numpy/core/_internal.py
* add manylinux1 OpenBlAS 0.3.10 hashes and test for them
* Add Matti Picus to steering council page
* make dtype generic over scalar type
* Added a section in the 'Iterating over arrays' doc page...
* Tidy exception chaining in _datasource.py
* Fixes for deprecated functions in scalartypes.c.src
* Bump mypy from 0.781 to 0.782
* Bump hypothesis from 5.16.3 to 5.19.0
* Update NumPy logos
* Remove unneeded call to PyUnicode_READY
* Fix deprecated functions in scalarapi.c
* switch to logo with text
* Bring the NumPy C SIMD vectorization interface "NPYV"...
* Add basic benchmarks for scalar indexing and assignment
* fix decode error when building and get rid of warn
* Minor RST formatting.
* update cython to 0.29.21
* Upgrade to Python 3.8 for DEBUG testing.
* Fix RST/numpydoc standard.
* Move typing tests
* Explicitly disallow object user dtypes
* add example to corrcoef function
* adding docs on passing dimensions as tuple to ndindex
* Remove overzealous automatic RST link
* Add explanation of 'K' and 'A' layout options to 'asarray*'...
* Add a reST label to /user/building.rst
* fix mgrid output for lower precision float inputs
* temporarily disable OpenBLAS hash checks
* Do not inherit flags from the structured part of a union...
* replace dec.slow with pytest.mark.slow
* Make void scalar to array creation copy when dtype is...
* fix inconsistent parameter name in np.ndindex docstring
* setuptools 49.2.0 emits a warning, avoid it
* add examples to random number generator pages
* describe ufunc copy behavior when input and output overlap
* Fix ``runtest.py`` warning.
* Add pandas to doc_requirements.txt
* fix sphinx deprecation
* Avoid using uninitialized bytes in getlimits.py.
* Explaining why datetime64 doesn't work for allclose + isclose
* improve SIMD features tables
* update openblas hashes, re-enable check
* Remove code that will never run
* Bump hypothesis from 5.19.0 to 5.19.1
* linspace should round towards -infinity
* Disable shippable until we can fix it.
* Remove Duplicated Code (function extract rmap)
* Remove Duplicated Code
* Change for loop (range -> for each)
* Deprecate NumPy object scalars
* clarify whats required for new features
* fix new compiler warnings on clang
* fix the search dir of dispatch-able sources
* Remove deprecated python function 'file()'
* Validate output size in bin- and multinomial
* Pin setuptools
* Update compiler check for AVX-512F
* fix the test for ``np.ones``
* edit to the documentation of lib/polynomial.py/polyfit
* Configure hypothesis in ``np.test()`` for determinism,...
* Remove unused pip install
* Fix bad MPL kwarg in docs
* Fix types including curly braces
* Remove the links for ``True`` and ``False``
* Integrate the new CPU dispatcher with umath generator
* Fix wrong markups in `arrays.dtypes`
* Remove links for C codes
* Fix the declarations of C fuctions
* also use Py_SET_REFCNT instead of Py_REFCNT
* Chaining exceptions in numpy/__init__.py
* update val to be scalar or array like optional
* Bump hypothesis from 5.19.1 to 5.20.2
* Speed up trim_zeros
* Fix string/bytes to complex assignment
* Add correctness vs strictness consideration for np.dtype
* Add ufunc docstring to generated docs.
* Update master after 1.19.1 release.
* Revert "Merge pull request 16248 from alexrockhill/edge"
* Fix memory leak of buffer-info cache due to relaxed strides
* Store exported buffer info on the array
* update OpenBLAS build
* Allow array-like types to be coerced as object array elements
* Deprecate size-one ragged array coercion
* Change the name of the folder "icons" to "logo".
* enable colors for `runtests.py --ipython`
* Clarify input to irfft/irfft2/irfftn
* Bump hypothesis from 5.20.2 to 5.23.2
* update numpy/lib/arraypad.py with appropriate chain exception
* Use arm64 instead of aarch64 on travisCI.
* Chain exception in ``distutils/fcompiler/environment.py``.
* Added the `order` parameter to `np.array()`
* Add Neon SIMD implementations for add, sub, mul, and div
* Fixed typo in lib/recfunctions.py
* Add pypy win32 CI testing.
* Increase the use of `Literal` types
* Add NumPy declarations to be used by Cython 3.0+
* Add the new NumPy logo to Sphinx pages
* Bump hypothesis from 5.23.2 to 5.23.9
* Bump pytest from 5.4.3 to 6.0.1
* pin setuptools < 49.2.0
* Revise glossary page
* clip() allows arguments.
* Updated NEP-35 with keyword-only instruction
* Simplify scalar power
* Improve error handling in umathmodule setup
* Disclaimer for FFT library
* Add error return to all casting functionality and NpyIter
* fix a compile and a test warning
* Clarify that `np.char` comparison functions always return...
* Use a less ambiguous example for array_split
* Bump hypothesis from 5.23.9 to 5.23.12
* core._internal style fixups
* Remove _EXTRAFLAGS variable
* fix typo in polydiv that prevented promotion to poly1d
* Revert boolean casting back to elementwise comparisons...
* Raise error on complex input to i0
* Remove obsolete conversion to set
* Remove the deprecated financial functions.
* Remove uses of PyString_FromString.
* use the pydata_sphinx_theme
* Fixes duplication of toctree content
* Bump pytest-cov from 2.10.0 to 2.10.1
* Bump hypothesis from 5.23.12 to 5.26.0
* Adjust NEP-35 to make it more user-accessible
* Add placeholder stubs for all sub-modules
* Split einsum into multiple files
* Handle errors from the PyCapsule API
* Fix spacing in vectorize doc
* Remove `np.ctypeslib.ctypes_load_library`
* make spacing consistent in NEP 41 bullet points
* fix ilp64 blas dot/vdot/... for strides > int32 max
* allow running mypy through runtests.py
* Remove duplicated symbols from link step
* Check for reduce intrinsics and AVX512BW mask operations
* Chain some exceptions in arraysetops.
* Chain ValueError in ma.timer_comparison
* Rewrite promotion using common DType and common instance
* Make arrayprint str and repr the ndarray defaults.
* Fix a few typos.
* Change handling of the expired financial functions.
* Add annotations to 3 functions in `np.core.function_base`
* Replace uses of PyString_AsString.
* ``Replace PyUString_*`` by ``PyUnicode_*`` equivalents.
* Replace PyInt macros with their PyLong replacement
* Add support for the abstract scalars to cython code
* Fix incorrect cython definition of npy_cfloat
* Clean up some Npy_ vs Py_ macro usage
* Remove references to PyCObject
* Update numpy4matlab
* Clean up some more bytes vs unicode handling
* Remove Void special case for "safe casting"
* Remove redundant headers
* Remove NPY_COPY_PYOBJECT_PTR
* Merge the npysort library into multiarray
* Add tests mapping out the rules for metadata in promotion
* revert trim_zeros changes from gh-16911
* Make `np.complexfloating` generic w.r.t. `np.floating`
* remove calls to PyUnicode_AsASCIIString,...
* Added missing methods to `np.flatiter`
* Correct error in description of ndarray.base
* Document `dtype.metadata`
* Use utf8 strings in more of datetime
* Add placeholder stubs for `ndarray` and `generic`
* Bump hypothesis from 5.26.0 to 5.30.0
* Remove some callers of functions in numpy.compat
* Make the window functions exactly symmetric
* Improve error handling in npy_cpu_init
* Fix the documented signatures of four `ufunc` methods
* Make the `NPY_CPU_DISPATCH_CALL` macros expressions not...
* Fixed headings for tutorials so they appear at new theme...
* Canonical_urls
* Fix various issues with the `np.generic` annotations
* enabled negation of library choices in NPY_*_ORDER
* comment out metadata added via javascript
* move informational files from numpy.doc.*.py to their...
* use sysconfig not distutils.sysconfig where possible
* Fix dimension discovery of within array ragged cases
* Added templates for different types of issues.
* Deprecated ndindex.ndincr
* Remove old PY_VERSION_HEX and sys.version_info code
* Avoid using ``np.random`` in typing tests.
* Fix link quick-start in old random API functions
* ``__array_interface__`` data address cannot be bytes
* Run slow CI jobs earlier so builds finishes sooner
* Add tool to help speed up Travis CI
* Fix docstring cross-referencing
* Added a PR "Reviewer guidelines" document.
* work around a bug in the new theme
* add fused multiply subtract/add intrinics for all supported...
* Bump hypothesis from 5.30.0 to 5.33.0
* Bump pydata-sphinx-theme from 0.3.2 to 0.4.0
* add new glossary terms
* remove some glosssary terms
* Fix the path to `mypy.ini` in `runtests.py`
* sysconfig attributes/distutils issue
* Annotate the arithmetic operations of `ndarray` and `generic`
* Merge together index page content into a single file
* Fix a typo in shape_base.
* Pass optimizations arguments to asv build
* Change the financial name access warning to DeprecationWarning
* Update master after 1.19.2 release.
* Simplify ufunc pickling
* Cleanup some pystring macros
* Replace remaining PyString macros.
* Replace PyUString_Check by PyUnicode_Check.
* fix pickling user-scalars by allowing non-format buffer...
* Replace some ``pyint_*`` macros defined in ``npy_3kcompat``.
* set upper versions for build dependencies
* (dtype-transfer) make copyswapn and legacy cast wrapper...
* Replace PyBaseString_Check by PyUnicode_Check
* Replace a couple of missed npy_3kcompat macros
* pin pygments to 2.6.1, 2.7.0 breaks custom NumPyC lexer
* Bump hypothesis from 5.33.0 to 5.35.1
* Bump pytest from 6.0.1 to 6.0.2
* Move the `fromnumeric` annotations to their own stub file
* Syntax-highlight .src files on github
* Mark vendored/generated files in .gitattributes
* Cleanup f2py/cfuncs.py
* Set deprecated fields to null in PyArray_InitArrFuncs
* allow registration of hard-coded structured dtypes
* Add annotations for five array construction functions
* Fix incorrect `.. deprecated::` syntax that led to this...
* improve `issubdtype` and scalar type docs
* Remove the tables of scalar types, and use `..autoclass`...
* update lexer highlighting and make numpydocs a regular...
* Chaining exceptions in npyio.py
* Regenerate table in NEP 29 (add numpy 1.18 and 1.19 to list)
* Fix syntax errors in docstrings for versionchanged, versionadded
* Add partial/non-contig load and store intrinsics for 32/64-bit
* Support for the NVIDIA HPC SDK nvfortran compiler
* Fix a macOS build failure when `NPY_BLAS_ORDER=""`
* Add PR prefix labeler and numpy prefix mapping
* Guide to writing how-tos
* How-to guide for I/O
* clarify residuals return param
* Add Npy__PyLong_AsInt function.
* Bump hypothesis from 5.35.1 to 5.35.3
* Finish replacing PyInt_Check
* Remove an obsolete paragraph.
* Edit nep-0042 for more clarity
* Add annotations for remaining `ndarray` / `generic` non-magic...
* Fixes module data docstrings.
* Fix default_rng docstring
* ensure _UFuncNoLoopError can be pickled
* Minor grammatical correction in quickstart doc.
* NumPy restyling for pydata theme
* Fix docstring for np.matmul
* Bump hypothesis from 5.35.3 to 5.36.1
* Remove old debug print statement.
* Replace "About NumPy" with "Document conventions"
* Update info on doc style rules
* Fix default void, datetime, and timedelta in array coercion
* Replace append_metastr_to_string function.
* Fixed ARGOUTVIEWM memory deallocation.
* rm incorrect alias from recarray user article.
* Rewrite can-cast logic in terms of NEP 42
* Add arraysetops to an autosummary
* Replace PyUString_ConcatAndDel in nditer_constr.c.
* Replace PyUString_ConcatAndDel in mapping.c.
* Replace the module-level `__getattr__` with explicit type...
* in PR template, set expectations for PR review timeline
* Cleanup remaining PyUString_ConcatAndDel use.
* Special case how numpy scalars are coerced to signed integer
* Mark the typing tests as slow
* Fix a parameter type in the `putmask` docs
* adding operational form documentation for array ops
* Deprecate coercion to subarray dtypes
* Fix memory leak in array-coercion error paths
* chains nested try-except in numpy/ma/core.py
* Remove bogus reference to _a_
* Fix formatting issues in description of .c.src files
* nep-0029 typo correction
* Move aliases for common scalar unions to `numpy.typing`
* Fix memoryleaks related to NEP 37 function overrides
* Fix the links for ``Ellipsis``
* add references to einops and opt_einsum
* Disable 32 bit PyPy CI testing on Windows.
* Security warning for issues template
* Fix "Feature request" spelling in issue templates
* Chaining exception in numpy\numpy\ma\mrecords.py
* Cleaner template for PRs
* fix exception chaining in format.py
* Warn on unsupported Python 3.10+
* Typed` to the PyPi classifier
* Fix the references for macros
* update NEP 42 with discussion of type hinting applications
* Remove CoC pages from Sphinx
* Chain exceptions in "_polybase.py"
* Bump hypothesis from 5.36.1 to 5.37.0
* add dtype option to numpy.lib.function_base.cov and corrcoef
* Fixes incorrect error message in numpy.ediff1d
* update code of conduct URL
* Add some entries for C types and macros
* Add annotations for bitwise operations
* add some missing scalar aliases
* Fix doctest for full_like
* remove os.fspath and os.PathLike backports
* Move the `np.core.numeric` annotations to their own stub...
* type np.unicode_ as np.str_
* Fix the entries for members of structures
* Fix the references for `random.*`
* circleCI- merge before build, add -n to sphinx
* Remove duplicate placeholder annotations
* Use consistent lowercase on docs landing page
* fix incompatible type comparison in numpy.lib.utils.info
* Fix failures in master related to userdtype registeration
* remove `sys` from the type stubs
* Fix empty 'C style guide' page
* Rename 'Quickstart tutorial'
* Added the Final feature for all constants
* Fewer blank lines in PR template
* Display real license on license page
* Add docstrings for some scalar types
* Update top links in landing page
* Make merge ref grabbing conditional on the PR being active
* Fix Bool types in C functions
* Fix some links and typos
* Cleanup compatibility code for pathlib
* Fix a typo
* add function to get broadcast shape from a given set of...
* Fixed crash on self-referential dtypes
* Bump hypothesis from 5.37.0 to 5.37.1
* Bump pydata-sphinx-theme from 0.4.0 to 0.4.1
* Bump mypy from 0.782 to 0.790
* Make `np.number` generic with respect to its precision
* fix conditional for PR merge command
* explicit disabling `CCompilerOpt` in F2PY
* Cygwin Workaround for 14787 on affected platforms
* Fix the entries of C functions
* Fix wrong blockquotes
* Add NEP 43 links to NEP 42
* Remove directives for some constants
* Update the annotations in `np.core.numeric`
* Add the entry for ``NPY_FEATURE_VERSION``
* Fix typos
* Add annotations for three new constants
* Fix Boolean array indexing typo
* Respect dtype of all-zero argument to poly1d
* include additional feedback
* Cleanup swig for Python 3.
* Move the `np.core.numerictypes` annotations to their own...
* Bump hypothesis from 5.37.1 to 5.37.3
* Add annotations for `np.core._type_aliases`
* Typo in lexsort docstring
* Coercion/cast of array to a subarray dtype will be fixed
* Clean up the errors of the typing tests
* Fixed file handle leak in array_tofile.
* Fix a broken `np.core.numeric` test
* Mark dead code as intentional for clang.
* removed old references to submodule licenses
* Fix typos (general documentation)
* Fully qualify license trove classifier
* mac dylib treated as part of extra objects by f2py
* Add annotations for 9 `ndarray`/`generic` magic methods
* Fix the document for arrays interface
* Conversion of some strings to f-strings
* Fix some references
* Valid docstring for config_py function show()
* Conversion of some strings to fstrings, part II
* Conversion of some strings to fstrings, part III
* Tidy up references to str_ / bytes_
* Conversion of some strings to fstrings, part iv
* Fix the references for ``__array_*__``
* Add entries for macros
* Add ``identity_value`` to ``PyUFuncObject``
* Replace ``PyCObject`` with ``PyCapsule``
* Don't use Python highlighting for non-python code
* Fix some references
* Bump hypothesis from 5.37.3 to 5.38.0
* update to OpenBLAS v0.3.12
* Fix reference to atleast_1d
* Add annotations for `np.core._ufunc_config`
* Add annotations for `np.core.shape_base`
* fix np.timedelta64('nat').__format__ throwing an exception
* f2py incorrectly translates dimension declarations.
* Fix installing Numpy on z/OS
* Ensure inner loop signature is complete everywhere
* simplify source path names in compilation test
* Add a doctest for ``getlincoef``
* Update master after 1.19.3 release.
* Make test suite work in FIPS (140-2) Mode
* Add a docstring for getarrlen
* Update README badge for travis-ci.com
* Refine a number of ``np.generic`` annotations
* Update release documentation and software
* Add sum intrinsics for float/double.
* (nditer_impl.h) Use ``intp`` instead of ``char *`` for offset...
* Fix small bug in ``make_lite.py``.
* Modify Templates
* Bump hypothesis from 5.38.0 to 5.41.0
* Bump pytz from 2020.1 to 2020.4
* use a more standard workflow for PyPy
* Update master after 1.19.4 release.
* Rename ``DtypeLike`` to ``DTypeLike``
* Fix small typos.
* Fixed an issue where ``.pyi`` files were ignored by numpy...
* Fix Doc Typos & Added Example
* Improve the einsum bench by adding new bench cases and variable...
* Revert gh-17654 - f2py incorrectly translates dimension...
* Add more files to ``.gitgnore``
* Do not import sliding_window_view to main namespace
* Do not override ``sliding_window_view`` module to ``numpy``
* Add NEP-35 instructions on reading like= downstream
* Use importlib to find numpy root directory in distutils
* Remove unused ``**options`` from MaskedArray ``__new__``...
* Remove Python 3.6 CI testing.
* move linux jobs to github actions
* Bump hypothesis from 5.41.0 to 5.41.2
* Fix cblas detection on windows
* add pypy3.7
* compare platform.architecture() correctly
* Add "performance" category to the release notes
* Fix segfault due to out of bound pointer in floatstatus...
* Fix buffer export dtype references
* Fix memory leaks found using valgrind
* Lazy load f2py test utilities
* use BUFFERSIZE=20 in OpenBLAS
* fix reuses the previous values during the fallback...
* update link to website in FUNDING.yml
* Add BLD and STY to labeler prefixes.
* Simplify Hypothesis configuration
* Make like= argument added in NEP-35 strict
* Fix up links, code blocks of release note fragments
* Minor touchups in npyio
* Update mailmap.
* Set the ufunc and ndarray ops return type to ``Any``
* Update linalg.py
* Fix empty_like docstring
* Add missing release fragments to ``upcoming_changes``.
* Fix incorrectly passed size in masked processing
* Bump hypothesis from 5.41.2 to 5.41.3
* Add back durations flag for DEBUG builds.
* Fix subarray dtype used with too large count in fromfile
* Fix pickling of scalars with NPY_LISTPICKLE
* Update the `numpy.typing` documentation
* Fixing boilerplate code example
* Add ``__all__`` to `numpy.typing`
* Add release note for gh-16161.
* Fix incorrect C function prototypes/declarations.
* Prepare for the NumPy 1.20.x branch.
* use python-version not PYTHON_VERSION
* Fix buffer readflag errors and small leaks
* Prepare for 1.20.0 release
* Remove remaining uses of Python 3.6.
* use latest pypy37 not pypy36
* clean up a spurious warning in numpy/typing/setup.py
* Speed up default ``where`` in the reduce-like method
* remove stray '+' from f-string upgrade
* add support for fujitsu compiler to numpy.
* 'bool' object has no attribute 'ndim'
* Update release notes to mention ``type(dtype) is not np.dtype``
* Replace f-string in setup.py
* Ignore fewer errors during array-coercion
* Fix a MacOS build failure
* Fix crosstalk issues with polynomial str tests.
* Ensure tests are not sensitive to execution order
* update to OpenBLAS 0.3.13
* Futurewarn on requiring __len__ on array-likes
* make a variable volatile to work around clang compiler bug
* add back sdist test run
* Fix concatenation when the output is "S" or "U"
* Fix detecting aarch64 on macOS
* Prepare for 1.20.0rc2 release.
* Generate the main dispatcher config header into the...
* Fix _simd module build for 64bit ARM/NEON clang
* Update 1.20.x after 1.19.5 release.
* Fix promotion of half and string
* improve avx512 mask logical operations
* Promotion between strings and objects was assymetric
* Use explicit reexports for numpy.typing objects
* Keep ignoring most errors during array-protocol lookup
* warn on unrecognized objects, fix empty...
* update OpenBLAS to af2b0d02
* Clarify the type alias deprecation message
* Ensure too many advanced indices raises an exception
* add an 'apt update'
* Prepare for the NumPy 1.20.0 release.


To generate a diff of this commit:
cvs rdiff -u -r1.78 -r1.79 pkgsrc/math/py-numpy/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/math/py-numpy/PLIST
cvs rdiff -u -r1.60 -r1.61 pkgsrc/math/py-numpy/distinfo
cvs rdiff -u -r0 -r1.5 pkgsrc/math/py-numpy/patches/patch-numpy_core_setup.py
cvs rdiff -u -r1.17 -r1.18 \
    pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py
cvs rdiff -u -r1.7 -r1.8 \
    pkgsrc/math/py-numpy/patches/patch-numpy_distutils_system__info.py
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/math/py-numpy/patches/patch-numpy_linalg_setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-numpy/Makefile
diff -u pkgsrc/math/py-numpy/Makefile:1.78 pkgsrc/math/py-numpy/Makefile:1.79
--- pkgsrc/math/py-numpy/Makefile:1.78  Tue Apr 20 20:53:48 2021
+++ pkgsrc/math/py-numpy/Makefile       Mon May  3 17:15:22 2021
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.78 2021/04/20 20:53:48 thor Exp $
+# $NetBSD: Makefile,v 1.79 2021/05/03 17:15:22 adam Exp $
 
-DISTNAME=      numpy-1.19.5
-PKGREVISION=   4
+DISTNAME=      numpy-1.20.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    math python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=n/numpy/}
@@ -23,7 +22,7 @@ USE_LANGUAGES=                c99 fortran
 
 REPLACE_PYTHON+=       *.py */*.py */*/*.py */*/*/*.py */*/*/*/*.py
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27 # since 1.17
+PYTHON_VERSIONS_INCOMPATIBLE=  27 36
 
 # XXX Avoid picking up other compilers when installed
 .include "../../mk/compiler.mk"

Index: pkgsrc/math/py-numpy/PLIST
diff -u pkgsrc/math/py-numpy/PLIST:1.31 pkgsrc/math/py-numpy/PLIST:1.32
--- pkgsrc/math/py-numpy/PLIST:1.31     Thu Nov 26 10:50:44 2020
+++ pkgsrc/math/py-numpy/PLIST  Mon May  3 17:15:22 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2020/11/26 10:50:44 adam Exp $
+@comment $NetBSD: PLIST,v 1.32 2021/05/03 17:15:22 adam Exp $
 bin/f2py${PYVERSSUFFIX}
 ${PLIST.py2x}bin/f2py2
 ${PLIST.py3x}bin/f2py3
@@ -16,6 +16,7 @@ ${PYSITELIB}/numpy/__init__.cython-30.px
 ${PYSITELIB}/numpy/__init__.pxd
 ${PYSITELIB}/numpy/__init__.py
 ${PYSITELIB}/numpy/__init__.pyc
+${PYSITELIB}/numpy/__init__.pyi
 ${PYSITELIB}/numpy/__init__.pyo
 ${PYSITELIB}/numpy/_distributor_init.py
 ${PYSITELIB}/numpy/_distributor_init.pyc
@@ -26,6 +27,7 @@ ${PYSITELIB}/numpy/_globals.pyo
 ${PYSITELIB}/numpy/_pytesttester.py
 ${PYSITELIB}/numpy/_pytesttester.pyc
 ${PYSITELIB}/numpy/_pytesttester.pyo
+${PYSITELIB}/numpy/char.pyi
 ${PYSITELIB}/numpy/compat/__init__.py
 ${PYSITELIB}/numpy/compat/__init__.pyc
 ${PYSITELIB}/numpy/compat/__init__.pyo
@@ -49,12 +51,17 @@ ${PYSITELIB}/numpy/conftest.pyc
 ${PYSITELIB}/numpy/conftest.pyo
 ${PYSITELIB}/numpy/core/__init__.py
 ${PYSITELIB}/numpy/core/__init__.pyc
+${PYSITELIB}/numpy/core/__init__.pyi
 ${PYSITELIB}/numpy/core/__init__.pyo
 ${PYSITELIB}/numpy/core/_add_newdocs.py
 ${PYSITELIB}/numpy/core/_add_newdocs.pyc
 ${PYSITELIB}/numpy/core/_add_newdocs.pyo
+${PYSITELIB}/numpy/core/_add_newdocs_scalars.py
+${PYSITELIB}/numpy/core/_add_newdocs_scalars.pyc
+${PYSITELIB}/numpy/core/_add_newdocs_scalars.pyo
 ${PYSITELIB}/numpy/core/_asarray.py
 ${PYSITELIB}/numpy/core/_asarray.pyc
+${PYSITELIB}/numpy/core/_asarray.pyi
 ${PYSITELIB}/numpy/core/_asarray.pyo
 ${PYSITELIB}/numpy/core/_dtype.py
 ${PYSITELIB}/numpy/core/_dtype.pyc
@@ -67,6 +74,7 @@ ${PYSITELIB}/numpy/core/_exceptions.pyc
 ${PYSITELIB}/numpy/core/_exceptions.pyo
 ${PYSITELIB}/numpy/core/_internal.py
 ${PYSITELIB}/numpy/core/_internal.pyc
+${PYSITELIB}/numpy/core/_internal.pyi
 ${PYSITELIB}/numpy/core/_internal.pyo
 ${PYSITELIB}/numpy/core/_methods.py
 ${PYSITELIB}/numpy/core/_methods.pyc
@@ -75,15 +83,18 @@ ${PYSITELIB}/numpy/core/_multiarray_test
 ${PYSITELIB}/numpy/core/_multiarray_umath.so
 ${PYSITELIB}/numpy/core/_operand_flag_tests.so
 ${PYSITELIB}/numpy/core/_rational_tests.so
+${PYSITELIB}/numpy/core/_simd.so
 ${PYSITELIB}/numpy/core/_string_helpers.py
 ${PYSITELIB}/numpy/core/_string_helpers.pyc
 ${PYSITELIB}/numpy/core/_string_helpers.pyo
 ${PYSITELIB}/numpy/core/_struct_ufunc_tests.so
 ${PYSITELIB}/numpy/core/_type_aliases.py
 ${PYSITELIB}/numpy/core/_type_aliases.pyc
+${PYSITELIB}/numpy/core/_type_aliases.pyi
 ${PYSITELIB}/numpy/core/_type_aliases.pyo
 ${PYSITELIB}/numpy/core/_ufunc_config.py
 ${PYSITELIB}/numpy/core/_ufunc_config.pyc
+${PYSITELIB}/numpy/core/_ufunc_config.pyi
 ${PYSITELIB}/numpy/core/_ufunc_config.pyo
 ${PYSITELIB}/numpy/core/_umath_tests.so
 ${PYSITELIB}/numpy/core/arrayprint.py
@@ -100,9 +111,11 @@ ${PYSITELIB}/numpy/core/einsumfunc.pyc
 ${PYSITELIB}/numpy/core/einsumfunc.pyo
 ${PYSITELIB}/numpy/core/fromnumeric.py
 ${PYSITELIB}/numpy/core/fromnumeric.pyc
+${PYSITELIB}/numpy/core/fromnumeric.pyi
 ${PYSITELIB}/numpy/core/fromnumeric.pyo
 ${PYSITELIB}/numpy/core/function_base.py
 ${PYSITELIB}/numpy/core/function_base.pyc
+${PYSITELIB}/numpy/core/function_base.pyi
 ${PYSITELIB}/numpy/core/function_base.pyo
 ${PYSITELIB}/numpy/core/generate_numpy_api.py
 ${PYSITELIB}/numpy/core/generate_numpy_api.pyc
@@ -152,9 +165,11 @@ ${PYSITELIB}/numpy/core/multiarray.pyc
 ${PYSITELIB}/numpy/core/multiarray.pyo
 ${PYSITELIB}/numpy/core/numeric.py
 ${PYSITELIB}/numpy/core/numeric.pyc
+${PYSITELIB}/numpy/core/numeric.pyi
 ${PYSITELIB}/numpy/core/numeric.pyo
 ${PYSITELIB}/numpy/core/numerictypes.py
 ${PYSITELIB}/numpy/core/numerictypes.pyc
+${PYSITELIB}/numpy/core/numerictypes.pyi
 ${PYSITELIB}/numpy/core/numerictypes.pyo
 ${PYSITELIB}/numpy/core/overrides.py
 ${PYSITELIB}/numpy/core/overrides.pyc
@@ -170,6 +185,7 @@ ${PYSITELIB}/numpy/core/setup_common.pyc
 ${PYSITELIB}/numpy/core/setup_common.pyo
 ${PYSITELIB}/numpy/core/shape_base.py
 ${PYSITELIB}/numpy/core/shape_base.pyc
+${PYSITELIB}/numpy/core/shape_base.pyi
 ${PYSITELIB}/numpy/core/shape_base.pyo
 ${PYSITELIB}/numpy/core/tests/__init__.py
 ${PYSITELIB}/numpy/core/tests/__init__.pyc
@@ -184,6 +200,8 @@ ${PYSITELIB}/numpy/core/tests/data/umath
 ${PYSITELIB}/numpy/core/tests/data/umath-validation-set-exp
 ${PYSITELIB}/numpy/core/tests/data/umath-validation-set-log
 ${PYSITELIB}/numpy/core/tests/data/umath-validation-set-sin
+${PYSITELIB}/numpy/core/tests/examples/checks.pyx
+${PYSITELIB}/numpy/core/tests/examples/setup.py
 ${PYSITELIB}/numpy/core/tests/test__exceptions.py
 ${PYSITELIB}/numpy/core/tests/test__exceptions.pyc
 ${PYSITELIB}/numpy/core/tests/test__exceptions.pyo
@@ -193,15 +211,27 @@ ${PYSITELIB}/numpy/core/tests/test_abc.p
 ${PYSITELIB}/numpy/core/tests/test_api.py
 ${PYSITELIB}/numpy/core/tests/test_api.pyc
 ${PYSITELIB}/numpy/core/tests/test_api.pyo
+${PYSITELIB}/numpy/core/tests/test_array_coercion.py
+${PYSITELIB}/numpy/core/tests/test_array_coercion.pyc
+${PYSITELIB}/numpy/core/tests/test_array_coercion.pyo
 ${PYSITELIB}/numpy/core/tests/test_arrayprint.py
 ${PYSITELIB}/numpy/core/tests/test_arrayprint.pyc
 ${PYSITELIB}/numpy/core/tests/test_arrayprint.pyo
+${PYSITELIB}/numpy/core/tests/test_casting_unittests.py
+${PYSITELIB}/numpy/core/tests/test_casting_unittests.pyc
+${PYSITELIB}/numpy/core/tests/test_casting_unittests.pyo
 ${PYSITELIB}/numpy/core/tests/test_conversion_utils.py
 ${PYSITELIB}/numpy/core/tests/test_conversion_utils.pyc
 ${PYSITELIB}/numpy/core/tests/test_conversion_utils.pyo
+${PYSITELIB}/numpy/core/tests/test_cpu_dispatcher.py
+${PYSITELIB}/numpy/core/tests/test_cpu_dispatcher.pyc
+${PYSITELIB}/numpy/core/tests/test_cpu_dispatcher.pyo
 ${PYSITELIB}/numpy/core/tests/test_cpu_features.py
 ${PYSITELIB}/numpy/core/tests/test_cpu_features.pyc
 ${PYSITELIB}/numpy/core/tests/test_cpu_features.pyo
+${PYSITELIB}/numpy/core/tests/test_cython.py
+${PYSITELIB}/numpy/core/tests/test_cython.pyc
+${PYSITELIB}/numpy/core/tests/test_cython.pyo
 ${PYSITELIB}/numpy/core/tests/test_datetime.py
 ${PYSITELIB}/numpy/core/tests/test_datetime.pyc
 ${PYSITELIB}/numpy/core/tests/test_datetime.pyo
@@ -301,6 +331,12 @@ ${PYSITELIB}/numpy/core/tests/test_scala
 ${PYSITELIB}/numpy/core/tests/test_shape_base.py
 ${PYSITELIB}/numpy/core/tests/test_shape_base.pyc
 ${PYSITELIB}/numpy/core/tests/test_shape_base.pyo
+${PYSITELIB}/numpy/core/tests/test_simd.py
+${PYSITELIB}/numpy/core/tests/test_simd.pyc
+${PYSITELIB}/numpy/core/tests/test_simd.pyo
+${PYSITELIB}/numpy/core/tests/test_simd_module.py
+${PYSITELIB}/numpy/core/tests/test_simd_module.pyc
+${PYSITELIB}/numpy/core/tests/test_simd_module.pyo
 ${PYSITELIB}/numpy/core/tests/test_ufunc.py
 ${PYSITELIB}/numpy/core/tests/test_ufunc.pyc
 ${PYSITELIB}/numpy/core/tests/test_ufunc.pyo
@@ -324,12 +360,14 @@ ${PYSITELIB}/numpy/core/umath_tests.pyc
 ${PYSITELIB}/numpy/core/umath_tests.pyo
 ${PYSITELIB}/numpy/ctypeslib.py
 ${PYSITELIB}/numpy/ctypeslib.pyc
+${PYSITELIB}/numpy/ctypeslib.pyi
 ${PYSITELIB}/numpy/ctypeslib.pyo
 ${PYSITELIB}/numpy/distutils/__config__.py
 ${PYSITELIB}/numpy/distutils/__config__.pyc
 ${PYSITELIB}/numpy/distutils/__config__.pyo
 ${PYSITELIB}/numpy/distutils/__init__.py
 ${PYSITELIB}/numpy/distutils/__init__.pyc
+${PYSITELIB}/numpy/distutils/__init__.pyi
 ${PYSITELIB}/numpy/distutils/__init__.pyo
 ${PYSITELIB}/numpy/distutils/_shell_utils.py
 ${PYSITELIB}/numpy/distutils/_shell_utils.pyc
@@ -337,6 +375,44 @@ ${PYSITELIB}/numpy/distutils/_shell_util
 ${PYSITELIB}/numpy/distutils/ccompiler.py
 ${PYSITELIB}/numpy/distutils/ccompiler.pyc
 ${PYSITELIB}/numpy/distutils/ccompiler.pyo
+${PYSITELIB}/numpy/distutils/ccompiler_opt.py
+${PYSITELIB}/numpy/distutils/ccompiler_opt.pyc
+${PYSITELIB}/numpy/distutils/ccompiler_opt.pyo
+${PYSITELIB}/numpy/distutils/checks/cpu_asimd.c
+${PYSITELIB}/numpy/distutils/checks/cpu_asimddp.c
+${PYSITELIB}/numpy/distutils/checks/cpu_asimdfhm.c
+${PYSITELIB}/numpy/distutils/checks/cpu_asimdhp.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx2.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512_clx.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512_cnl.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512_icl.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512_knl.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512_knm.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512_skx.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512cd.c
+${PYSITELIB}/numpy/distutils/checks/cpu_avx512f.c
+${PYSITELIB}/numpy/distutils/checks/cpu_f16c.c
+${PYSITELIB}/numpy/distutils/checks/cpu_fma3.c
+${PYSITELIB}/numpy/distutils/checks/cpu_fma4.c
+${PYSITELIB}/numpy/distutils/checks/cpu_neon.c
+${PYSITELIB}/numpy/distutils/checks/cpu_neon_fp16.c
+${PYSITELIB}/numpy/distutils/checks/cpu_neon_vfpv4.c
+${PYSITELIB}/numpy/distutils/checks/cpu_popcnt.c
+${PYSITELIB}/numpy/distutils/checks/cpu_sse.c
+${PYSITELIB}/numpy/distutils/checks/cpu_sse2.c
+${PYSITELIB}/numpy/distutils/checks/cpu_sse3.c
+${PYSITELIB}/numpy/distutils/checks/cpu_sse41.c
+${PYSITELIB}/numpy/distutils/checks/cpu_sse42.c
+${PYSITELIB}/numpy/distutils/checks/cpu_ssse3.c
+${PYSITELIB}/numpy/distutils/checks/cpu_vsx.c
+${PYSITELIB}/numpy/distutils/checks/cpu_vsx2.c
+${PYSITELIB}/numpy/distutils/checks/cpu_vsx3.c
+${PYSITELIB}/numpy/distutils/checks/cpu_xop.c
+${PYSITELIB}/numpy/distutils/checks/extra_avx512bw_mask.c
+${PYSITELIB}/numpy/distutils/checks/extra_avx512dq_mask.c
+${PYSITELIB}/numpy/distutils/checks/extra_avx512f_reduce.c
+${PYSITELIB}/numpy/distutils/checks/test_flags.c
 ${PYSITELIB}/numpy/distutils/command/__init__.py
 ${PYSITELIB}/numpy/distutils/command/__init__.pyc
 ${PYSITELIB}/numpy/distutils/command/__init__.pyo
@@ -418,6 +494,9 @@ ${PYSITELIB}/numpy/distutils/fcompiler/c
 ${PYSITELIB}/numpy/distutils/fcompiler/environment.py
 ${PYSITELIB}/numpy/distutils/fcompiler/environment.pyc
 ${PYSITELIB}/numpy/distutils/fcompiler/environment.pyo
+${PYSITELIB}/numpy/distutils/fcompiler/fujitsu.py
+${PYSITELIB}/numpy/distutils/fcompiler/fujitsu.pyc
+${PYSITELIB}/numpy/distutils/fcompiler/fujitsu.pyo
 ${PYSITELIB}/numpy/distutils/fcompiler/g95.py
 ${PYSITELIB}/numpy/distutils/fcompiler/g95.pyc
 ${PYSITELIB}/numpy/distutils/fcompiler/g95.pyo
@@ -506,6 +585,15 @@ ${PYSITELIB}/numpy/distutils/system_info
 ${PYSITELIB}/numpy/distutils/tests/__init__.py
 ${PYSITELIB}/numpy/distutils/tests/__init__.pyc
 ${PYSITELIB}/numpy/distutils/tests/__init__.pyo
+${PYSITELIB}/numpy/distutils/tests/test_build_ext.py
+${PYSITELIB}/numpy/distutils/tests/test_build_ext.pyc
+${PYSITELIB}/numpy/distutils/tests/test_build_ext.pyo
+${PYSITELIB}/numpy/distutils/tests/test_ccompiler_opt.py
+${PYSITELIB}/numpy/distutils/tests/test_ccompiler_opt.pyc
+${PYSITELIB}/numpy/distutils/tests/test_ccompiler_opt.pyo
+${PYSITELIB}/numpy/distutils/tests/test_ccompiler_opt_conf.py
+${PYSITELIB}/numpy/distutils/tests/test_ccompiler_opt_conf.pyc
+${PYSITELIB}/numpy/distutils/tests/test_ccompiler_opt_conf.pyo
 ${PYSITELIB}/numpy/distutils/tests/test_exec_command.py
 ${PYSITELIB}/numpy/distutils/tests/test_exec_command.pyc
 ${PYSITELIB}/numpy/distutils/tests/test_exec_command.pyo
@@ -545,50 +633,19 @@ ${PYSITELIB}/numpy/distutils/unixccompil
 ${PYSITELIB}/numpy/doc/__init__.py
 ${PYSITELIB}/numpy/doc/__init__.pyc
 ${PYSITELIB}/numpy/doc/__init__.pyo
-${PYSITELIB}/numpy/doc/basics.py
-${PYSITELIB}/numpy/doc/basics.pyc
-${PYSITELIB}/numpy/doc/basics.pyo
-${PYSITELIB}/numpy/doc/broadcasting.py
-${PYSITELIB}/numpy/doc/broadcasting.pyc
-${PYSITELIB}/numpy/doc/broadcasting.pyo
-${PYSITELIB}/numpy/doc/byteswapping.py
-${PYSITELIB}/numpy/doc/byteswapping.pyc
-${PYSITELIB}/numpy/doc/byteswapping.pyo
 ${PYSITELIB}/numpy/doc/constants.py
 ${PYSITELIB}/numpy/doc/constants.pyc
 ${PYSITELIB}/numpy/doc/constants.pyo
-${PYSITELIB}/numpy/doc/creation.py
-${PYSITELIB}/numpy/doc/creation.pyc
-${PYSITELIB}/numpy/doc/creation.pyo
-${PYSITELIB}/numpy/doc/dispatch.py
-${PYSITELIB}/numpy/doc/dispatch.pyc
-${PYSITELIB}/numpy/doc/dispatch.pyo
-${PYSITELIB}/numpy/doc/glossary.py
-${PYSITELIB}/numpy/doc/glossary.pyc
-${PYSITELIB}/numpy/doc/glossary.pyo
-${PYSITELIB}/numpy/doc/indexing.py
-${PYSITELIB}/numpy/doc/indexing.pyc
-${PYSITELIB}/numpy/doc/indexing.pyo
-${PYSITELIB}/numpy/doc/internals.py
-${PYSITELIB}/numpy/doc/internals.pyc
-${PYSITELIB}/numpy/doc/internals.pyo
-${PYSITELIB}/numpy/doc/misc.py
-${PYSITELIB}/numpy/doc/misc.pyc
-${PYSITELIB}/numpy/doc/misc.pyo
-${PYSITELIB}/numpy/doc/structured_arrays.py
-${PYSITELIB}/numpy/doc/structured_arrays.pyc
-${PYSITELIB}/numpy/doc/structured_arrays.pyo
-${PYSITELIB}/numpy/doc/subclassing.py
-${PYSITELIB}/numpy/doc/subclassing.pyc
-${PYSITELIB}/numpy/doc/subclassing.pyo
 ${PYSITELIB}/numpy/doc/ufuncs.py
 ${PYSITELIB}/numpy/doc/ufuncs.pyc
 ${PYSITELIB}/numpy/doc/ufuncs.pyo
 ${PYSITELIB}/numpy/dual.py
 ${PYSITELIB}/numpy/dual.pyc
 ${PYSITELIB}/numpy/dual.pyo
+${PYSITELIB}/numpy/emath.pyi
 ${PYSITELIB}/numpy/f2py/__init__.py
 ${PYSITELIB}/numpy/f2py/__init__.pyc
+${PYSITELIB}/numpy/f2py/__init__.pyi
 ${PYSITELIB}/numpy/f2py/__init__.pyo
 ${PYSITELIB}/numpy/f2py/__main__.py
 ${PYSITELIB}/numpy/f2py/__main__.pyc
@@ -651,6 +708,8 @@ ${PYSITELIB}/numpy/f2py/tests/src/kind/f
 ${PYSITELIB}/numpy/f2py/tests/src/mixed/foo.f
 ${PYSITELIB}/numpy/f2py/tests/src/mixed/foo_fixed.f90
 ${PYSITELIB}/numpy/f2py/tests/src/mixed/foo_free.f90
+${PYSITELIB}/numpy/f2py/tests/src/module_data/mod.mod
+${PYSITELIB}/numpy/f2py/tests/src/module_data/module_data_docstring.f90
 ${PYSITELIB}/numpy/f2py/tests/src/parameter/constant_both.f90
 ${PYSITELIB}/numpy/f2py/tests/src/parameter/constant_compound.f90
 ${PYSITELIB}/numpy/f2py/tests/src/parameter/constant_integer.f90
@@ -686,6 +745,9 @@ ${PYSITELIB}/numpy/f2py/tests/test_kind.
 ${PYSITELIB}/numpy/f2py/tests/test_mixed.py
 ${PYSITELIB}/numpy/f2py/tests/test_mixed.pyc
 ${PYSITELIB}/numpy/f2py/tests/test_mixed.pyo
+${PYSITELIB}/numpy/f2py/tests/test_module_doc.py
+${PYSITELIB}/numpy/f2py/tests/test_module_doc.pyc
+${PYSITELIB}/numpy/f2py/tests/test_module_doc.pyo
 ${PYSITELIB}/numpy/f2py/tests/test_parameter.py
 ${PYSITELIB}/numpy/f2py/tests/test_parameter.pyc
 ${PYSITELIB}/numpy/f2py/tests/test_parameter.pyo
@@ -727,6 +789,7 @@ ${PYSITELIB}/numpy/f2py/use_rules.pyc
 ${PYSITELIB}/numpy/f2py/use_rules.pyo
 ${PYSITELIB}/numpy/fft/__init__.py
 ${PYSITELIB}/numpy/fft/__init__.pyc
+${PYSITELIB}/numpy/fft/__init__.pyi
 ${PYSITELIB}/numpy/fft/__init__.pyo
 ${PYSITELIB}/numpy/fft/_pocketfft.py
 ${PYSITELIB}/numpy/fft/_pocketfft.pyc
@@ -749,6 +812,7 @@ ${PYSITELIB}/numpy/fft/tests/test_pocket
 ${PYSITELIB}/numpy/fft/tests/test_pocketfft.pyo
 ${PYSITELIB}/numpy/lib/__init__.py
 ${PYSITELIB}/numpy/lib/__init__.pyc
+${PYSITELIB}/numpy/lib/__init__.pyi
 ${PYSITELIB}/numpy/lib/__init__.pyo
 ${PYSITELIB}/numpy/lib/_datasource.py
 ${PYSITELIB}/numpy/lib/_datasource.pyc
@@ -768,9 +832,6 @@ ${PYSITELIB}/numpy/lib/arraysetops.pyo
 ${PYSITELIB}/numpy/lib/arrayterator.py
 ${PYSITELIB}/numpy/lib/arrayterator.pyc
 ${PYSITELIB}/numpy/lib/arrayterator.pyo
-${PYSITELIB}/numpy/lib/financial.py
-${PYSITELIB}/numpy/lib/financial.pyc
-${PYSITELIB}/numpy/lib/financial.pyo
 ${PYSITELIB}/numpy/lib/format.py
 ${PYSITELIB}/numpy/lib/format.pyc
 ${PYSITELIB}/numpy/lib/format.pyo
@@ -837,9 +898,9 @@ ${PYSITELIB}/numpy/lib/tests/test_arrays
 ${PYSITELIB}/numpy/lib/tests/test_arrayterator.py
 ${PYSITELIB}/numpy/lib/tests/test_arrayterator.pyc
 ${PYSITELIB}/numpy/lib/tests/test_arrayterator.pyo
-${PYSITELIB}/numpy/lib/tests/test_financial.py
-${PYSITELIB}/numpy/lib/tests/test_financial.pyc
-${PYSITELIB}/numpy/lib/tests/test_financial.pyo
+${PYSITELIB}/numpy/lib/tests/test_financial_expired.py
+${PYSITELIB}/numpy/lib/tests/test_financial_expired.pyc
+${PYSITELIB}/numpy/lib/tests/test_financial_expired.pyo
 ${PYSITELIB}/numpy/lib/tests/test_format.py
 ${PYSITELIB}/numpy/lib/tests/test_format.pyc
 ${PYSITELIB}/numpy/lib/tests/test_format.pyo
@@ -908,6 +969,7 @@ ${PYSITELIB}/numpy/lib/utils.pyc
 ${PYSITELIB}/numpy/lib/utils.pyo
 ${PYSITELIB}/numpy/linalg/__init__.py
 ${PYSITELIB}/numpy/linalg/__init__.pyc
+${PYSITELIB}/numpy/linalg/__init__.pyi
 ${PYSITELIB}/numpy/linalg/__init__.pyo
 ${PYSITELIB}/numpy/linalg/_umath_linalg.so
 ${PYSITELIB}/numpy/linalg/lapack_lite.so
@@ -934,6 +996,7 @@ ${PYSITELIB}/numpy/linalg/tests/test_reg
 ${PYSITELIB}/numpy/linalg/tests/test_regression.pyo
 ${PYSITELIB}/numpy/ma/__init__.py
 ${PYSITELIB}/numpy/ma/__init__.pyc
+${PYSITELIB}/numpy/ma/__init__.pyi
 ${PYSITELIB}/numpy/ma/__init__.pyo
 ${PYSITELIB}/numpy/ma/bench.py
 ${PYSITELIB}/numpy/ma/bench.pyc
@@ -985,6 +1048,7 @@ ${PYSITELIB}/numpy/matlib.pyc
 ${PYSITELIB}/numpy/matlib.pyo
 ${PYSITELIB}/numpy/matrixlib/__init__.py
 ${PYSITELIB}/numpy/matrixlib/__init__.pyc
+${PYSITELIB}/numpy/matrixlib/__init__.pyi
 ${PYSITELIB}/numpy/matrixlib/__init__.pyo
 ${PYSITELIB}/numpy/matrixlib/defmatrix.py
 ${PYSITELIB}/numpy/matrixlib/defmatrix.pyc
@@ -1018,6 +1082,7 @@ ${PYSITELIB}/numpy/matrixlib/tests/test_
 ${PYSITELIB}/numpy/matrixlib/tests/test_regression.pyo
 ${PYSITELIB}/numpy/polynomial/__init__.py
 ${PYSITELIB}/numpy/polynomial/__init__.pyc
+${PYSITELIB}/numpy/polynomial/__init__.pyi
 ${PYSITELIB}/numpy/polynomial/__init__.pyo
 ${PYSITELIB}/numpy/polynomial/_polybase.py
 ${PYSITELIB}/numpy/polynomial/_polybase.pyc
@@ -1076,9 +1141,11 @@ ${PYSITELIB}/numpy/polynomial/tests/test
 ${PYSITELIB}/numpy/polynomial/tests/test_printing.py
 ${PYSITELIB}/numpy/polynomial/tests/test_printing.pyc
 ${PYSITELIB}/numpy/polynomial/tests/test_printing.pyo
+${PYSITELIB}/numpy/py.typed
 ${PYSITELIB}/numpy/random/__init__.pxd
 ${PYSITELIB}/numpy/random/__init__.py
 ${PYSITELIB}/numpy/random/__init__.pyc
+${PYSITELIB}/numpy/random/__init__.pyi
 ${PYSITELIB}/numpy/random/__init__.pyo
 ${PYSITELIB}/numpy/random/_bounded_integers.pxd
 ${PYSITELIB}/numpy/random/_bounded_integers.so
@@ -1149,11 +1216,13 @@ ${PYSITELIB}/numpy/random/tests/test_see
 ${PYSITELIB}/numpy/random/tests/test_smoke.py
 ${PYSITELIB}/numpy/random/tests/test_smoke.pyc
 ${PYSITELIB}/numpy/random/tests/test_smoke.pyo
+${PYSITELIB}/numpy/rec.pyi
 ${PYSITELIB}/numpy/setup.py
 ${PYSITELIB}/numpy/setup.pyc
 ${PYSITELIB}/numpy/setup.pyo
 ${PYSITELIB}/numpy/testing/__init__.py
 ${PYSITELIB}/numpy/testing/__init__.pyc
+${PYSITELIB}/numpy/testing/__init__.pyi
 ${PYSITELIB}/numpy/testing/__init__.pyo
 ${PYSITELIB}/numpy/testing/_private/__init__.py
 ${PYSITELIB}/numpy/testing/_private/__init__.pyc
@@ -1218,6 +1287,95 @@ ${PYSITELIB}/numpy/tests/test_scripts.py
 ${PYSITELIB}/numpy/tests/test_warnings.py
 ${PYSITELIB}/numpy/tests/test_warnings.pyc
 ${PYSITELIB}/numpy/tests/test_warnings.pyo
+${PYSITELIB}/numpy/typing/__init__.py
+${PYSITELIB}/numpy/typing/__init__.pyc
+${PYSITELIB}/numpy/typing/__init__.pyo
+${PYSITELIB}/numpy/typing/_add_docstring.py
+${PYSITELIB}/numpy/typing/_add_docstring.pyc
+${PYSITELIB}/numpy/typing/_add_docstring.pyo
+${PYSITELIB}/numpy/typing/_array_like.py
+${PYSITELIB}/numpy/typing/_array_like.pyc
+${PYSITELIB}/numpy/typing/_array_like.pyo
+${PYSITELIB}/numpy/typing/_callable.py
+${PYSITELIB}/numpy/typing/_callable.pyc
+${PYSITELIB}/numpy/typing/_callable.pyo
+${PYSITELIB}/numpy/typing/_dtype_like.py
+${PYSITELIB}/numpy/typing/_dtype_like.pyc
+${PYSITELIB}/numpy/typing/_dtype_like.pyo
+${PYSITELIB}/numpy/typing/_scalars.py
+${PYSITELIB}/numpy/typing/_scalars.pyc
+${PYSITELIB}/numpy/typing/_scalars.pyo
+${PYSITELIB}/numpy/typing/_shape.py
+${PYSITELIB}/numpy/typing/_shape.pyc
+${PYSITELIB}/numpy/typing/_shape.pyo
+${PYSITELIB}/numpy/typing/setup.py
+${PYSITELIB}/numpy/typing/setup.pyc
+${PYSITELIB}/numpy/typing/setup.pyo
+${PYSITELIB}/numpy/typing/tests/__init__.py
+${PYSITELIB}/numpy/typing/tests/__init__.pyc
+${PYSITELIB}/numpy/typing/tests/__init__.pyo
+${PYSITELIB}/numpy/typing/tests/data/fail/arithmetic.py
+${PYSITELIB}/numpy/typing/tests/data/fail/array_constructors.py
+${PYSITELIB}/numpy/typing/tests/data/fail/array_like.py
+${PYSITELIB}/numpy/typing/tests/data/fail/bitwise_ops.py
+${PYSITELIB}/numpy/typing/tests/data/fail/constants.py
+${PYSITELIB}/numpy/typing/tests/data/fail/dtype.py
+${PYSITELIB}/numpy/typing/tests/data/fail/flatiter.py
+${PYSITELIB}/numpy/typing/tests/data/fail/fromnumeric.py
+${PYSITELIB}/numpy/typing/tests/data/fail/modules.py
+${PYSITELIB}/numpy/typing/tests/data/fail/ndarray.py
+${PYSITELIB}/numpy/typing/tests/data/fail/ndarray_misc.py
+${PYSITELIB}/numpy/typing/tests/data/fail/numerictypes.py
+${PYSITELIB}/numpy/typing/tests/data/fail/scalars.py
+${PYSITELIB}/numpy/typing/tests/data/fail/ufunc_config.py
+${PYSITELIB}/numpy/typing/tests/data/fail/ufuncs.py
+${PYSITELIB}/numpy/typing/tests/data/fail/warnings_and_errors.py
+${PYSITELIB}/numpy/typing/tests/data/mypy.ini
+${PYSITELIB}/numpy/typing/tests/data/pass/arithmetic.py
+${PYSITELIB}/numpy/typing/tests/data/pass/array_constructors.py
+${PYSITELIB}/numpy/typing/tests/data/pass/array_like.py
+${PYSITELIB}/numpy/typing/tests/data/pass/bitwise_ops.py
+${PYSITELIB}/numpy/typing/tests/data/pass/dtype.py
+${PYSITELIB}/numpy/typing/tests/data/pass/flatiter.py
+${PYSITELIB}/numpy/typing/tests/data/pass/fromnumeric.py
+${PYSITELIB}/numpy/typing/tests/data/pass/literal.py
+${PYSITELIB}/numpy/typing/tests/data/pass/mod.py
+${PYSITELIB}/numpy/typing/tests/data/pass/modules.py
+${PYSITELIB}/numpy/typing/tests/data/pass/ndarray_conversion.py
+${PYSITELIB}/numpy/typing/tests/data/pass/ndarray_misc.py
+${PYSITELIB}/numpy/typing/tests/data/pass/ndarray_shape_manipulation.py
+${PYSITELIB}/numpy/typing/tests/data/pass/numeric.py
+${PYSITELIB}/numpy/typing/tests/data/pass/numerictypes.py
+${PYSITELIB}/numpy/typing/tests/data/pass/scalars.py
+${PYSITELIB}/numpy/typing/tests/data/pass/simple.py
+${PYSITELIB}/numpy/typing/tests/data/pass/simple_py3.py
+${PYSITELIB}/numpy/typing/tests/data/pass/ufunc_config.py
+${PYSITELIB}/numpy/typing/tests/data/pass/ufuncs.py
+${PYSITELIB}/numpy/typing/tests/data/pass/warnings_and_errors.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/arithmetic.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/array_constructors.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/bitwise_ops.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/constants.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/dtype.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/flatiter.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/fromnumeric.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/mod.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/modules.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/nbit_base_example.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/ndarray_conversion.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/ndarray_misc.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/ndarray_shape_manipulation.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/numeric.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/numerictypes.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/scalars.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/ufunc_config.py
+${PYSITELIB}/numpy/typing/tests/data/reveal/warnings_and_errors.py
+${PYSITELIB}/numpy/typing/tests/test_isfile.py
+${PYSITELIB}/numpy/typing/tests/test_isfile.pyc
+${PYSITELIB}/numpy/typing/tests/test_isfile.pyo
+${PYSITELIB}/numpy/typing/tests/test_typing.py
+${PYSITELIB}/numpy/typing/tests/test_typing.pyc
+${PYSITELIB}/numpy/typing/tests/test_typing.pyo
 ${PYSITELIB}/numpy/version.py
 ${PYSITELIB}/numpy/version.pyc
 ${PYSITELIB}/numpy/version.pyo

Index: pkgsrc/math/py-numpy/distinfo
diff -u pkgsrc/math/py-numpy/distinfo:1.60 pkgsrc/math/py-numpy/distinfo:1.61
--- pkgsrc/math/py-numpy/distinfo:1.60  Tue Apr 20 20:53:48 2021
+++ pkgsrc/math/py-numpy/distinfo       Mon May  3 17:15:22 2021
@@ -1,11 +1,13 @@
-$NetBSD: distinfo,v 1.60 2021/04/20 20:53:48 thor Exp $
+$NetBSD: distinfo,v 1.61 2021/05/03 17:15:22 adam Exp $
 
-SHA1 (numpy-1.19.5.zip) = 61f0b3dad58ce97b14da9dccbee0722d36f26937
-RMD160 (numpy-1.19.5.zip) = 3317c98790e8c2d1d9c36279b3451f09b6776935
-SHA512 (numpy-1.19.5.zip) = dfe2809b5f486624b4802ea5610822bf7ba80c46dcf8505f69b0267137b01719131f74aa366949954c66796d48ba1b4f74cf0ecc5692a9ebd49e673fb0881ff4
-Size (numpy-1.19.5.zip) = 7318340 bytes
+SHA1 (numpy-1.20.2.zip) = 12b7a872c4d2ddcb22b5796f19ba4349e4fe0038
+RMD160 (numpy-1.20.2.zip) = b931f92e9830a79d51f705218b8dd0ded49ae7ba
+SHA512 (numpy-1.20.2.zip) = 337a66d68c965da06f757a89b58d30b83ec0b2f3c7a3bb39496e5031e50fee6c4f2ec090202c3da9a20613864ea46d032ae75af1de5c33eebe515133ef37d40c
+Size (numpy-1.20.2.zip) = 7756879 bytes
+SHA1 (patch-numpy_core_setup.py) = 70db6193da36d31a085036e2b61b154e990f70de
 SHA1 (patch-numpy_distutils_fcompiler_____init____.py) = 49d070da5b48bd9818b37ac3254341fa68503c53
 SHA1 (patch-numpy_distutils_fcompiler_g95.py) = be73b64a3e551df998b6a904d6db762bf28a98ed
-SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 1d62e1c5e35de0f2cf975de38f62df7f10c71d74
-SHA1 (patch-numpy_distutils_system__info.py) = 6910006662d49408186ac5f687eb20114ff9eb89
+SHA1 (patch-numpy_distutils_fcompiler_gnu.py) = 1ab3fd7b3f42328f4094f1b21a65c05ae4d975b7
+SHA1 (patch-numpy_distutils_system__info.py) = 8dd626c31cef82f927fbc60fb37f432e4153b1d3
 SHA1 (patch-numpy_linalg_lapack__litemodule.c) = e97ec871c2f33c3121b3c8471a9e5a74c3c798c8
+SHA1 (patch-numpy_linalg_setup.py) = 867a2aba13ebb60b67ac2824a4cb1aff2e1231ee

Index: pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py
diff -u pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py:1.17 pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py:1.18
--- pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py:1.17    Wed Aug  5 14:05:46 2020
+++ pkgsrc/math/py-numpy/patches/patch-numpy_distutils_fcompiler_gnu.py Mon May  3 17:15:22 2021
@@ -1,4 +1,4 @@
-$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.17 2020/08/05 14:05:46 adam Exp $
+$NetBSD: patch-numpy_distutils_fcompiler_gnu.py,v 1.18 2021/05/03 17:15:22 adam Exp $
 
 Linker needs -shared explictly (at least with GCC 4.7 on SunOS), plus
 any ABI flags as appropriate.
@@ -7,9 +7,9 @@ On Darwin, do not use '-bundle' (to avoi
 Do not use -funroll-loops compiler flag.
 Do not run a shell command when it is "None".
 
---- numpy/distutils/fcompiler/gnu.py.orig      2020-07-10 04:52:40.000000000 +0000
+--- numpy/distutils/fcompiler/gnu.py.orig      2021-01-25 07:23:44.000000000 +0000
 +++ numpy/distutils/fcompiler/gnu.py
-@@ -60,8 +60,10 @@ class GnuFCompiler(FCompiler):
+@@ -53,8 +53,10 @@ class GnuFCompiler(FCompiler):
                      return ('gfortran', m.group(1))
          else:
              # Output probably from --version, try harder:
@@ -21,7 +21,7 @@ Do not run a shell command when it is "N
                  return ('gfortran', m.group(1))
              m = re.search(
                  r'GNU Fortran.*?\-?([0-9-.]+\.[0-9-.]+)', version_string)
-@@ -88,13 +90,13 @@ class GnuFCompiler(FCompiler):
+@@ -81,13 +83,13 @@ class GnuFCompiler(FCompiler):
      possible_executables = ['g77', 'f77']
      executables = {
          'version_cmd'  : [None, "-dumpversion"],
@@ -38,16 +38,16 @@ Do not run a shell command when it is "N
      }
      module_dir_switch = None
      module_include_switch = None
-@@ -134,7 +136,7 @@ class GnuFCompiler(FCompiler):
+@@ -127,7 +129,7 @@ class GnuFCompiler(FCompiler):
                      s = f'Env. variable MACOSX_DEPLOYMENT_TARGET set to {target}'
                      warnings.warn(s, stacklevel=2)
-                 os.environ['MACOSX_DEPLOYMENT_TARGET'] = target
+                 os.environ['MACOSX_DEPLOYMENT_TARGET'] = str(target)
 -            opt.extend(['-undefined', 'dynamic_lookup', '-bundle'])
 +            opt.extend(['-undefined', 'dynamic_lookup'])
          else:
              opt.append("-shared")
          if sys.platform.startswith('sunos'):
-@@ -233,7 +235,6 @@ class GnuFCompiler(FCompiler):
+@@ -226,7 +228,6 @@ class GnuFCompiler(FCompiler):
              opt = ['-O2']
          else:
              opt = ['-O3']
@@ -55,25 +55,25 @@ Do not run a shell command when it is "N
          return opt
  
      def _c_arch_flags(self):
-@@ -296,13 +297,13 @@ class Gnu95FCompiler(GnuFCompiler):
+@@ -289,13 +290,13 @@ class Gnu95FCompiler(GnuFCompiler):
      possible_executables = ['gfortran', 'f95']
      executables = {
          'version_cmd'  : ["<F90>", "-dumpversion"],
 -        'compiler_f77' : [None, "-Wall", "-g", "-ffixed-form",
 +        'compiler_f77' : [None, "-Wall", "-ffixed-form",
-                           "-fno-second-underscore"] + _EXTRAFLAGS,
+                           "-fno-second-underscore"],
 -        'compiler_f90' : [None, "-Wall", "-g",
 +        'compiler_f90' : [None, "-Wall",
-                           "-fno-second-underscore"] + _EXTRAFLAGS,
+                           "-fno-second-underscore"],
 -        'compiler_fix' : [None, "-Wall",  "-g","-ffixed-form",
-+        'compiler_fix' : [None, "-Wall",  "-ffixed-form",
-                           "-fno-second-underscore"] + _EXTRAFLAGS,
++        'compiler_fix' : [None, "-Wall", "-ffixed-form",
+                           "-fno-second-underscore"],
 -        'linker_so'    : ["<F90>", "-Wall", "-g"],
 +        'linker_so'    : ["<F90>", "-Wall", "-shared"],
          'archiver'     : ["ar", "-cr"],
          'ranlib'       : ["ranlib"],
          'linker_exe'   : [None, "-Wall"]
-@@ -321,7 +322,7 @@ class Gnu95FCompiler(GnuFCompiler):
+@@ -314,7 +315,7 @@ class Gnu95FCompiler(GnuFCompiler):
  
      def _universal_flags(self, cmd):
          """Return a list of -arch flags for every supported architecture."""

Index: pkgsrc/math/py-numpy/patches/patch-numpy_distutils_system__info.py
diff -u pkgsrc/math/py-numpy/patches/patch-numpy_distutils_system__info.py:1.7 pkgsrc/math/py-numpy/patches/patch-numpy_distutils_system__info.py:1.8
--- pkgsrc/math/py-numpy/patches/patch-numpy_distutils_system__info.py:1.7      Tue Apr 20 20:53:49 2021
+++ pkgsrc/math/py-numpy/patches/patch-numpy_distutils_system__info.py  Mon May  3 17:15:22 2021
@@ -1,6 +1,6 @@
-$NetBSD: patch-numpy_distutils_system__info.py,v 1.7 2021/04/20 20:53:49 thor Exp $
+$NetBSD: patch-numpy_distutils_system__info.py,v 1.8 2021/05/03 17:15:22 adam Exp $
 
---- numpy/distutils/system_info.py.orig        2021-04-20 18:13:28.992593008 +0000
+--- numpy/distutils/system_info.py.orig        2021-03-27 09:52:12.000000000 +0000
 +++ numpy/distutils/system_info.py
 @@ -114,6 +114,19 @@ Currently, the following classes are ava
      x11_info:x11
@@ -22,7 +22,7 @@ $NetBSD: patch-numpy_distutils_system__i
  Example:
  ----------
  [DEFAULT]
-@@ -1744,6 +1757,16 @@ class lapack_opt_info(system_info):
+@@ -1845,6 +1858,16 @@ class lapack_opt_info(system_info):
              return True
          return False
  
@@ -39,9 +39,9 @@ $NetBSD: patch-numpy_distutils_system__i
      def _calc_info(self, name):
          return getattr(self, '_calc_info_{}'.format(name))()
  
-@@ -1767,6 +1790,12 @@ class lapack_opt_info(system_info):
-                                  "LAPACK order has unacceptable "
-                                  "values: {}".format(non_existing))
+@@ -1855,6 +1878,12 @@ class lapack_opt_info(system_info):
+                              "LAPACK order has unacceptable "
+                              "values: {}".format(unknown_order))
  
 +        if 'NPY_LAPACK_LIBS' in os.environ:
 +            # Bypass autodetection, set language to F77 and use env var linker
@@ -52,7 +52,7 @@ $NetBSD: patch-numpy_distutils_system__i
          for lapack in lapack_order:
              if self._calc_info(lapack):
                  return
-@@ -1889,6 +1918,20 @@ class blas_opt_info(system_info):
+@@ -1977,6 +2006,20 @@ class blas_opt_info(system_info):
          self.set_info(**info)
          return True
  
@@ -73,9 +73,9 @@ $NetBSD: patch-numpy_distutils_system__i
      def _calc_info(self, name):
          return getattr(self, '_calc_info_{}'.format(name))()
  
-@@ -1910,6 +1953,12 @@ class blas_opt_info(system_info):
-             if len(non_existing) > 0:
-                 raise ValueError("blas_opt_info user defined BLAS order has unacceptable values: {}".format(non_existing))
+@@ -1985,6 +2028,12 @@ class blas_opt_info(system_info):
+         if len(unknown_order) > 0:
+             raise ValueError("blas_opt_info user defined BLAS order has unacceptable values: {}".format(unknown_order))
  
 +        if 'NPY_BLAS_LIBS' in os.environ:
 +            # Bypass autodetection, set language to F77 and use env var linker

Added files:

Index: pkgsrc/math/py-numpy/patches/patch-numpy_core_setup.py
diff -u /dev/null pkgsrc/math/py-numpy/patches/patch-numpy_core_setup.py:1.5
--- /dev/null   Mon May  3 17:15:23 2021
+++ pkgsrc/math/py-numpy/patches/patch-numpy_core_setup.py      Mon May  3 17:15:22 2021
@@ -0,0 +1,14 @@
+$NetBSD: patch-numpy_core_setup.py,v 1.5 2021/05/03 17:15:22 adam Exp $
+
+Use C language (not F77 from blas_info); fixes library name on Darwin.
+
+--- numpy/core/setup.py.orig   2021-04-22 17:50:58.000000000 +0000
++++ numpy/core/setup.py
+@@ -760,6 +760,7 @@ def configuration(parent_package='',top_
+ 
+     if have_blas:
+         extra_info = blas_info
++        extra_info['language'] = 'c'
+         # These files are also in MANIFEST.in so that they are always in
+         # the source distribution independently of HAVE_CBLAS.
+         common_src.extend([join('src', 'common', 'cblasfuncs.c'),

Index: pkgsrc/math/py-numpy/patches/patch-numpy_linalg_setup.py
diff -u /dev/null pkgsrc/math/py-numpy/patches/patch-numpy_linalg_setup.py:1.1
--- /dev/null   Mon May  3 17:15:23 2021
+++ pkgsrc/math/py-numpy/patches/patch-numpy_linalg_setup.py    Mon May  3 17:15:22 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-numpy_linalg_setup.py,v 1.1 2021/05/03 17:15:22 adam Exp $
+
+Use C language (not F77 from lapack_info); fixes library name on Darwin.
+
+--- numpy/linalg/setup.py.orig 2021-04-22 17:45:05.000000000 +0000
++++ numpy/linalg/setup.py
+@@ -54,6 +54,8 @@ def configuration(parent_package='', top
+                 self.set_info(**info)
+ 
+         lapack_info = numpy_linalg_lapack_lite().get_info(2)
++    else:
++        lapack_info['language'] = 'c'
+ 
+     def get_lapack_lite_sources(ext, build_dir):
+         if use_lapack_lite:



Home | Main Index | Thread Index | Old Index