mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 07:16: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.2 KiB
Text
38 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=perl-test-script
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Script
|
|
pkgver=1.29
|
|
pkgrel=3
|
|
pkgdesc="Basic cross-platform tests for scripts"
|
|
url="https://metacpan.org/release/Test-Script/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-probe-perl perl-capture-tiny"
|
|
makedepends="perl-dev $cpanmakedepends"
|
|
checkdepends="perl-test-simple"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Test-Script-$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
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
979fade0abc83f8d7d4c1c094fa928e27bd7c9db52140b156689d3b192d9ea84f5824554d6788c9144cf2923a04b1d8a8bdfdcc05a0be5514de92353c9a7d10f Test-Script-1.29.tar.gz
|
|
"
|