mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 21:56:40 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
49 lines
1.5 KiB
Text
49 lines
1.5 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-anyevent-riperedis
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=AnyEvent-RipeRedis
|
|
pkgver=0.48
|
|
pkgrel=0
|
|
pkgdesc="Flexible non-blocking Redis client"
|
|
url="https://metacpan.org/release/AnyEvent-RipeRedis/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl perl-anyevent"
|
|
checkdepends="perl-test-fatal perl-test-leaktrace perl-test-tcp redis"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/I/IP/IPH/AnyEvent-RipeRedis-$pkgver.tar.gz
|
|
test-redisrunner.patch
|
|
"
|
|
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}')
|
|
|
|
# 06-subs.t and 08-eval.t are flaky
|
|
local i; for i in $(seq 0 3); do
|
|
[ $i -eq 0 ] || msg "Retrying ($i/3)..."
|
|
timeout 90s make test && return 0
|
|
sleep 3
|
|
done
|
|
return 1
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
ff09f050294dbfbf01a1307fe5f94879f178b3b425d2c2eeef254b46f65ed812a4e793bfc40384acb50053db1084acbbaa9b893487754cc6e862c928fea2187d AnyEvent-RipeRedis-0.48.tar.gz
|
|
86de64b21cf134a634cabead4365b394097e7880e60ca3b09ccc2c56c38fb0b28ab0cbce1fdda9eb5a5342f1b7f0f92454a8221adae517274d4c49046fbe6436 test-redisrunner.patch
|
|
"
|