Also adds a late src_compile test that asserts Git::Wrapper is loadable,
and will fail if src_prepare fails silently like it did in bug #633384
due to the absence of `blib`.
Closes: https://bugs.gentoo.org/633384
Package-Manager: Portage-2.3.8, Repoman-2.3.3
IUSE="test"
RDEPEND="
+ dev-vcs/git
virtual/perl-File-Temp
dev-perl/File-chdir
virtual/perl-IPC-Cmd
virtual/perl-Test-Simple
)
"
+src_compile() {
+ perl-module_src_compile
+ local MODULES=(
+ "Git::Wrapper ${DIST_VERSION}"
+ )
+ for dep in "${MODULES[@]}"; do
+ perl -Mblib="${S}" -M"${dep} ()" -e1 ||
+ die "Could not load ${dep}"
+ done
+}