mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 14:56:46 +02:00
perl-test2-suite was merged into perl-test-simple. Depend directly on
the latter to simplify the build time dependency chain.
This is a follow up to commit 74e36977a5
(main/perl-test2-suite:
remove, merged into main/perl-test-simple) and solves a problem when
bootstrapping aports, which will not pull in indirect dependencies in
the build chain.
>>> perl-extutils-cchecker: Analyzing dependencies...
ERROR: unable to select packages:
.makedepends-perl-extutils-cchecker-20241014.211514:
masked in: cache
satisfies: world[.makedepends-perl-extutils-cchecker=20241014.211514]
perl-test2-suite (no such package):
required by: .makedepends-perl-extutils-cchecker-20241014.211514[perl-test2-suite]
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
pkgname=perl-test2-plugin-nowarnings
|
|
pkgver=0.10
|
|
pkgrel=1
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test2-Plugin-NoWarnings
|
|
pkgdesc="Fail tests if warnings are generated"
|
|
url="https://metacpan.org/release/Test2-Plugin-NoWarnings/"
|
|
arch="noarch"
|
|
license="Artistic-2.0"
|
|
depends="perl perl-test-simple"
|
|
checkdepends="perl-ipc-run3 perl-module-pluggable"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Test2-Plugin-NoWarnings-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
31f749911e9df452e20d17c4cff30afea1f4ef10a11c7d7de92d60b6701b84bf98190ccb5d70867804793fe269b0027a8f9b494a21c1d676480e8ce2823a4b4d Test2-Plugin-NoWarnings-0.10.tar.gz
|
|
"
|