Summary: | math/py-numpy port makefile tries to fetch wrong documentation version | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | TommiP <tommi.pernila> | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-python (Nobody) <python> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Some People | CC: | andymenderunix, pi, tommi.pernila, wen | ||||||
Priority: | --- | Keywords: | needs-qa | ||||||
Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(python) |
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
TommiP
2020-04-01 17:38:23 UTC
I checked the doc URLs and there are also links to documents for an earlier version of numpy (1.16.0): https://docs.scipy.org/doc/numpy-1.16.0/numpy-ref-1.16.0.pdf https://docs.scipy.org/doc/numpy-1.16.1/numpy-user-1.16.1.pdf And docs without the point version from numpy.org (currently, at 1.16.6, which is more recent than what scipy.org seems to offer!): https://numpy.org/doc/1.16/numpy-ref.pdf https://numpy.org/doc/1.16/numpy-user.pdf I don't think hard-coding the version is a good idea, especially that PORTVERSION makes it more convenient when updating the port. If the missing DISTFILES are an issue, one can modify MASTER_SITES in the following way: MASTER_SITES= CHEESESHOP \ https://docs.scipy.org/doc/${PORTNAME}-${PORTVERSION:R}.1/:doc Or switch to the numpy.org docs. This properly downloads the documentation. Created attachment 213543 [details]
Unified diff to use numpy.org for docs
Here's a unified diff for math/py-numpy to use numpy.org as the source of documentation.
I think this patch was applied with the update to 1.20.3, see PR#259063 and commit 7e9bec828e31369d9b6bab30ac86218bf3def70d. |