Commit a5c4dfd3 authored by Leo's avatar Leo

main/perl-test-output: upgrade to 1.032

parent d0fe42c2
Pipeline #69921 passed with stages
in 6 minutes and 8 seconds
# Automatically generated by apkbuild-cpan, template 1
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-output
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-Output
pkgver=1.031
pkgrel=2
pkgver=1.032
pkgrel=0
pkgdesc="Utilities to test STDOUT and STDERR messages."
url="https://metacpan.org/release/Test-Output/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-capture-tiny perl-sub-exporter perl-test-simple"
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
license="Artistic-2.0"
depends="perl perl-capture-tiny perl-sub-exporter"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/$_pkgreal-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/B/BD/BDFOY/Test-Output-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
check() {
cd "$builddir"
make test
}
prepare() {
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}'`
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
make
}
check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="b443d5a4ab7be1c308b74ebc9a1a50022b404886e8a1dbd2700d974ead506a6976ec6d5c141528cf1c2833174c3afd9023362cb0b4e000f0e878d2e3e9f90e90 Test-Output-1.031.tar.gz"
sha512sums="35093c5f4377e4d0f931d89cdebc2aa82203c00bba3ae695c1b7f32464827c9dfe394df3e7d536ee43b5bc76c5fc0a3b0b6623d918e79b3686d8f3404d708180 Test-Output-1.032.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment