1 # Copyright 2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
10 DESCRIPTION="Bump and reversion \$VERSION on release"
12 KEYWORDS="~amd64 ~x86"
14 RESTRICT="!test? ( test )"
16 >=dev-perl/Dist-Zilla-4.200.0
17 >=dev-perl/Version-Next-0.2.0
20 dev-perl/Module-Build-Tiny
23 >=dev-perl/Module-Build-Tiny-0.34.0
25 >=virtual/perl-Test-Simple-0.880.0
29 "t/author-pod-syntax.t"
33 "Dist::Zilla::Plugin::ReversionOnRelease ${DIST_VERSION}"
36 for dep in "${MODULES[@]}"; do
37 ebegin "Compile testing ${dep}"
38 perl -Mblib="${S}" -M"${dep} ()" -e1
39 eend $? || failed+=( "${dep}" )
41 if [[ ${failed[@]} ]]; then
43 eerror "One or more modules failed compile:";
44 for dep in "${failed[@]}"; do
47 die "Failing due to module compilation errors";
49 # Note: Not adding plugin VersionFromModule as it requires
50 # Dist-Zilla-Plugins-CJM.... which is yuuge.