1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 11:15:13 +03:00

main/perl-test2-suite: remove, merged into main/perl-test-simple

https://metacpan.org/release/EXODIST/Test-Simple-1.302200

"Merge Test2-Suite into Test-Simple"
This commit is contained in:
Celeste 2024-08-14 06:58:59 +00:00
parent 1689749c79
commit 74e36977a5
2 changed files with 6 additions and 41 deletions

View file

@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test-simple
pkgver=1.302200
pkgrel=0
pkgrel=1
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test-Simple
pkgdesc="Basic utilities for writing tests"
@ -14,6 +14,11 @@ depends="perl"
source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Simple-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
# perl-test-simple 1.302200 now includes perl-test2-suite
# https://metacpan.org/release/EXODIST/Test-Simple-1.302200
provides="perl-test2-suite=$pkgver-r$pkgrel"
replaces="perl-test2-suite"
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \

View file

@ -1,40 +0,0 @@
# Automatically generated by apkbuild-cpan, template 4
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-test2-suite
pkgver=0.000163
pkgrel=1
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Test2-Suite
pkgdesc="Distribution with a rich set of tools built upon the Test2 framework"
url="https://metacpan.org/release/Test2-Suite/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-term-table perl-scope-guard perl-sub-info perl-importer perl-module-pluggable"
source="https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test2-Suite-$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
# man pages are already provided by perl-doc
rm -rf "$pkgdir"/usr/share/man
}
sha512sums="
289f8aadffe0fa7dd897fda870947f08271b8a7793f0f3db0882cdecc3cac864215b38ec87a8b6952ae14495c2492cd5dbf35df7462d8f0410237d99d4bddf6b Test2-Suite-0.000163.tar.gz
"