maintainer-feedback requested: [Bug 264231] math/py-numpy: Build failure, documentation checksums changed

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 May 2022 11:15:37 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 264231: math/py-numpy: Build failure, documentation checksums changed
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264231



--- Description ---
math/py-numpy build fails as documentation checksums and sizes have changed:

```
=======================<phase: fetch	      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
=> numpy-1.22.4.zip doesn't seem to exist in /portdistfiles/numpy-1.22.
=> Attempting to fetch
https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.22.4.zip
numpy-1.22.4.zip					10 MB	19 MBps    01s
=> numpy-ref.pdf doesn't seem to exist in /portdistfiles/numpy-1.22.
=> Attempting to fetch https://numpy.org/doc/1.22/numpy-ref.pdf
fetch: https://numpy.org/doc/1.22/numpy-ref.pdf: size mismatch: expected
7537013, actual 7537545
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/numpy-1.22/numpy-ref.pdf
fetch: http://distcache.FreeBSD.org/ports-distfiles/numpy-1.22/numpy-ref.pdf:
Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/numpy-1.22 and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/math/py-numpy
=>> Cleaning up wrkdir
===>  Cleaning for py38-numpy-1.22.4,1
build of math/py-numpy@py38 | py38-numpy-1.22.4,1 ended at Wed May 25 10:05:39
GMT 2022
build time: 00:00:04
!!! build failure encountered !!!
```

The attached patch fixes this.