aports/main/perl-params-validationcompiler/APKBUILD
Natanael Copa 3af2dbd380 main/perl-<various>: use direct dep to perl-test-simple
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]
2024-10-15 10:52:08 +00:00

36 lines
1 KiB
Text

# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-params-validationcompiler
_pkgreal=Params-ValidationCompiler
pkgver=0.31
pkgrel=2
pkgdesc="Params::ValidationCompiler perl module"
url="https://metacpan.org/release/Params-ValidationCompiler"
arch="noarch"
license="Artistic-2.0"
depends="
perl perl-specio perl-test-simple perl-test-without-module perl-eval-closure
perl-exception-class perl-test2-plugin-nowarnings perl-role-tiny perl-mro-compat
"
checkdepends="perl-type-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Params-ValidationCompiler-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgreal-$pkgver
build() {
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
e3265cc6a5fc9761dd6ae82c3875711c5766242ab0f1edd74cc74296fdac22b6c23e48ba4768e895701ca8a00bd81677056713124b8edaa0b340eae1b33cf9c4 Params-ValidationCompiler-0.31.tar.gz
"