Created attachment 217705 [details]
The distinfo entry for python-3.8.5-docs-html.tar.bz2 appears to be incorrect based on the 20 July version that's available at python.org. I've attached a patch against ports/head version 546287.
I added a dependency on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249537 which will fix makesum for lang/python-doc-html.
lang/python-doc-html uses two different values for MASTER_SITES; for most targets it is set based on the DEFAULT_VERSIONS setting of python:
zinc 164 # make -C /usr/ports/lang/python-doc-html -V MASTER_SITES
But when the target is makesum, the port's Makefile sets MASTER_SITES (like DISTFILES) to reflect all supported versions of python:
zinc 169 # make -C /usr/ports/lang/python-doc-html -V MASTER_SITES makesum
https://www.python.org/ftp/python/doc/2.7.18/:2x7x18 https://www.python.org/ftp/python/doc/3.6.12/:3x6x12 https://www.python.org/ftp/python/doc/3.7.9/:3x7x9 https://www.python.org/ftp/python/doc/3.8.6/:3x8x6 https://www.python.org/ftp/python/doc/3.9.0/:3x9x0 https://www.python.org/ftp/python/doc/current/
But because Mk/bsd.port.mk now does a sub-make for makesum, the carefully constructed MASTER_SITES value is getting stripped when trying to generate a new distinfo.
I guess I don't understand why it's ok for Mk/bsd.port.mk to pass DISTFILES to the makesum sub-make but not MASTER_SITES?