CVSROOT:        /cvs
Module name:    ports
Changes by:     st...@cvs.openbsd.org   2021/11/01 10:56:25

Modified files:
        lang/python    : Makefile.inc python.port.mk 
        lang/python/3.10: Makefile 
        lang/python/3.10/pkg: PLIST-idle PLIST-main 
        lang/python/3.8: Makefile 
        lang/python/3.8/pkg: PLIST-idle PLIST-main 
        lang/python/3.9: Makefile 
        lang/python/3.9/pkg: PLIST-idle PLIST-main 

Log message:
simplify switching default Python versions, ok kmos@

Add a new SUBST_VARS variable that is set to "@comment " on
most Python versions, but is set to "" on the default one. This makes
it easier to swap between default versions because you don't need
to figure out which @comments should be kept and which should be moved.

While there I remove some existing lines with @comment markers for
files that are not created by any of our current Python ports:

@comment bin/pyvenv
@comment lib/libpython3.8m.so (etc)

The @comment -> ${PY_DEFAULTONLY} change doesn't affect the generated
PLISTs at all, so for that a REVISION bump is unnecessary, but removing
the pyvenv/libpython3.Xm.so does require a bump

Reply via email to