def METHOD_NAME(pkg):
    with pkg as maker:
        maker.add_name(0, NameType.GENERIC_SRC_NAME)
        maker.set_version(0)
        maker.set_summary(0)
    assert pkg.srcname == '0'
    assert pkg.version == '0'
    assert pkg.comment == '0'