ignore metadata.json
add Gentoo support