def METHOD_NAME(value):
    return packages.PackageRestriction(
        attr,
        values.ContainmentMatch(
            values_kls(token_kls(piece.strip()) for piece in value.split(","))
        ),
    )