def METHOD_NAME(port_info):
    parts = []
    global_ignore = {None, 'n/a', Path(port_info.device).name}
    local_ignore = set(global_ignore)
    for attr, fmt in (
        ('product', _('product: {value}')),
        ('manufacturer', _('manufacturer: {value}')),
        ('serial_number', _('serial number: {value}')),
    ):
        value = getattr(port_info, attr)
        if value not in global_ignore:
            parts.append(fmt.format(value=value))
            local_ignore.add(value)
    description = getattr(port_info, 'description')
    if description not in local_ignore:
        parts.insert(0, _('description: {value}').format(value=description))
    if not parts:
        return None
    return parts