[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264231

            Bug ID: 264231
           Summary: math/py-numpy: Build failure, documentation checksums
                    changed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: david@isnic.is
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

Created attachment 234205
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234205&action=edit
Patch to update file sizes and checksums

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.