aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-test-failwarnings
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-09-13 13:45:46 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-09-13 13:54:08 +0000
commit18d3c5538c7118e820f6fea6564e0ddf3ed078aa (patch)
tree6b1a40f49e567cadfdf420a9785ce8f69df8caad /community/perl-test-failwarnings
parent05e340f19912d0914166baa03e9f1a49a4d2f3c3 (diff)
downloadaports-18d3c5538c7118e820f6fea6564e0ddf3ed078aa.tar.bz2
aports-18d3c5538c7118e820f6fea6564e0ddf3ed078aa.tar.xz
community/perl-test-failwarnings:: moved from testing
Diffstat (limited to 'community/perl-test-failwarnings')
-rw-r--r--community/perl-test-failwarnings/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/perl-test-failwarnings/APKBUILD b/community/perl-test-failwarnings/APKBUILD
new file mode 100644
index 0000000000..4d47127066
--- /dev/null
+++ b/community/perl-test-failwarnings/APKBUILD
@@ -0,0 +1,42 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-test-failwarnings
+_pkgreal=Test-FailWarnings
+pkgver=0.008
+pkgrel=0
+pkgdesc="Add test failures if warnings are caught"
+url="http://search.cpan.org/dist/Test-FailWarnings/"
+arch="noarch"
+license="apache_2_0"
+cpandepends=""
+cpanmakedepends=" perl-capture-tiny "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ default_prepare || return 1
+
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make && make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="c03d51f550dbfd9945722ff7f4c32717 Test-FailWarnings-0.008.tar.gz"
+sha256sums="da34ef9029f6849d6026201d49127d054ee6ac4b979c82210315f5721964a96f Test-FailWarnings-0.008.tar.gz"
+sha512sums="7bffcc18191326095d99ad01be6426f4d9d927f769a156318f9abfea67da6adfecb657bad89390740c9f531fe69c717afa1d250258eed63d127bf10cbbf2bd51 Test-FailWarnings-0.008.tar.gz"