[Bug 249063] lang/python-doc-html incorrect distinfo

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 16 15:56:26 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249063

--- Comment #2 from Craig Leres <leres at freebsd.org> ---
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
    https://www.python.org/ftp/python/doc/3.7.9/
https://www.python.org/ftp/python/doc/current/

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?

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


More information about the freebsd-python mailing list