mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/perl-ryu: new aport
https://metacpan.org/release/Ryu/ Stream and data flow handling for async code
This commit is contained in:
parent
1a59a81aaa
commit
d8d90a678b
58
testing/perl-ryu/APKBUILD
Normal file
58
testing/perl-ryu/APKBUILD
Normal file
@ -0,0 +1,58 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-ryu
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Ryu
|
||||
pkgver=3.005
|
||||
pkgrel=0
|
||||
pkgdesc="Stream and data flow handling for async code"
|
||||
url="https://metacpan.org/release/Ryu/"
|
||||
# armhf, armv7, x86: Invalid type 'q' in pack at Buffer.pm line 202
|
||||
# According to https://perldoc.perl.org/functions/pack Quads are
|
||||
# probably available only if Perl is compiled with -Duse64bitint
|
||||
arch="noarch !armhf !armv7 !x86"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="
|
||||
perl perl-curry perl-future perl-future-queue
|
||||
perl-indirect perl-json-maybexs perl-list-utilsby
|
||||
perl-log-any perl-ref-util perl-syntax-keyword-try
|
||||
perl-text-csv
|
||||
"
|
||||
checkdepends="
|
||||
perl-log-any-adapter-tap perl-test-checkdeps perl-test-deep
|
||||
perl-test-fatal perl-test-files perl-test-hexstring
|
||||
perl-test-refcount perl-test-warnings perl-variable-disposition
|
||||
"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/Ryu-$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
|
||||
}
|
||||
|
||||
doc() {
|
||||
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
||||
amove "${file#"$pkgdir"}"
|
||||
done
|
||||
default_doc
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
1886ffea40bf42a228eaa5d43ef1dbcb56a4f70973fa3426a40b819dd708fab26cffc0aefb6242d724c1a323cb70f20541688fc264e777cdc99820088a2eea2f Ryu-3.005.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user