Created attachment 181285 [details] math/py-numpy upgrade to v1.12.1
Just to be curious, why use GitHub as host instead of Cheeseshop (default host for Python modules)? In FreeBSD (not sure for DragonFlyBSD) endian.h is located in sys/ repository.
(In reply to duchateau.olivier from comment #1) % curl -i https://pypi.python.org/packages/source/n/numpy/numpy-1.12.1.tar.gz HTTP/2 404 date: Wed, 29 Mar 2017 20:24:23 GMT content-type: application/xml via: 1.1 varnish fastly-debug-digest: 7135b90adfb53f33276d442366ac5ae1b527aa3fe1dba0cc7eeaea7371c55dce cache-control: max-age=60, public accept-ranges: bytes via: 1.1 varnish age: 0 x-served-by: cache-sea1035-SEA, cache-sjc3132-SJC x-cache: MISS, MISS x-cache-hits: 0, 0 x-timer: S1490819063.703729,VS0,VE61 x-frame-options: deny x-xss-protection: 1; mode=block x-content-type-options: nosniff x-permitted-cross-domain-policies: none content-length: 305 <?xml version="1.0" encoding="UTF-8"?> <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>source/n/numpy/numpy-1.12.1.tar.gz</Key><RequestId>ED5176715DA1E85C</RequestId><HostId>DR8zTXNw9W4ukpHG8ZVkyNO4AyjNjUhbVeSjwoy19t1hEWvdnEBDLfruR+A/V5gPqdf6bVXJTQc=</HostId></Error> I guess endian.h path had been fixed in v1.12.0. https://github.com/numpy/numpy/blob/master/doc/release/1.12.0-notes.rst https://github.com/numpy/numpy/pull/7885/files
For endian.h, you are right, it has been fixed. About download host, it's known behaviour. If you check Mk/bsd.sites.mk, look for CHEESESHOP. If tarball is not found in PyPi, pythonhosted.org is used in fallback mode. So CHEESESHOP is still valid.
(In reply to duchateau.olivier from comment #3) I guess they don't have v1.12 source tarball, see below. Also https://www.scipy.org/scipylib/download.html mentioned: "the official repositories hosted on Github.". So I think download from Github is OK, at least before CHEESESHOP has it. % make fetch ===> License BSD3CLAUSE accepted by the user ===> py27-numpy-1.12.1,1 depends on file: /usr/local/sbin/pkg - found => numpy-1.12.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://pypi.python.org/packages/source/n/numpy/numpy-1.12.1.tar.gz fetch: https://pypi.python.org/packages/source/n/numpy/numpy-1.12.1.tar.gz: Not Found => Attempting to fetch https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.12.1.tar.gz fetch: https://files.pythonhosted.org/packages/source/n/numpy/numpy-1.12.1.tar.gz: Not Found => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/numpy-1.12.1.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/numpy-1.12.1.tar.gz: Not Found => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop. make: stopped in /usr/ports/math/py-numpy
Makefile shows: PORTVERSION= 1.13.3 it is done, so I close.