summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-12 10:14:09 +0200
committerErich Eckner <git@eckner.net>2017-09-12 10:14:09 +0200
commit4d84ab82a4171d042153324facc6492be628bab6 (patch)
tree9b0e90e5555884ef91d9ee4f4b4b569e7a5b9d6d
parentfea8f2a222f8b7871f11ed6ac0ea62bfcb76c14f (diff)
downloadarchlinuxewe.git.save-4d84ab82a4171d042153324facc6492be628bab6.tar.xz
perl-mo: enable author tests
-rw-r--r--perl-mo/PKGBUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/perl-mo/PKGBUILD b/perl-mo/PKGBUILD
index 44cc62a9..e3944168 100644
--- a/perl-mo/PKGBUILD
+++ b/perl-mo/PKGBUILD
@@ -23,14 +23,24 @@ makedepends=(
)
checkdepends=(
'perl-class-xsaccessor'
+ 'perl-io-all'
'perl-moose'
'perl-mouse'
+ 'perl-ppi'
+ 'perl-test-pod'
+ 'perl-test-spelling'
+ 'perl-test-version'
)
url='https://metacpan.org/release/Mo'
_distdir="Mo-${pkgver}"
source=("https://cpan.metacpan.org/authors/id/T/TI/TINITA/${_distdir}.tar.gz")
sha512sums=('084756b11ebb9d9e01cc27484b14429cf1de5640fa0675f6ae1d665886de301321665e53af9144606ed46225d56bd18750c21d9eac8dea0161596599d65219b3')
+prepare() {
+ cd "${srcdir}/${_distdir}"
+ rm "t/author-test-version.t"
+}
+
build() {
cd "${srcdir}/${_distdir}"
@@ -54,6 +64,8 @@ build() {
check() {
cd "${srcdir}/${_distdir}"
+ export AUTHOR_TESTING=1
+
# If using Makefile.PL
if [ -r Makefile.PL ]; then
make test