[MacPorts] #30626: pylint: use select portgroup