On 2021/06/14 09:50, wen heping wrote: > Hi, ports@: > > > Here is a patch for textproc/py-colored: > i) Update to 1.4.2 > ii) Switch to python3, no other ports depends on py2-colored.
When switching a port from py2+3 to py3-only, these are needed: - use "FLAVOR = python3" (no ?=) - add "@pkgpath category/py-whatever" to PLIST, and add a devel/quirks entry for py-whatever -> py3-whatever, so that old installed py2 packages are updated - (doesn't apply for py-colored, but check for MODPY_BIN_SUFFIX uses that can be removed, and add @conflict with the old py2 version if there are any files present after doing that)