Skip to content
Snippets Groups Projects
Commit 94ca725d authored by Timothy Legge's avatar Timothy Legge Committed by Leo
Browse files

main/perl-net-async-http: upgrade to 0.47

parent 94c3b049
2 merge requests!11958community/rclone: upgrade to 1.52.3,!11483main/perl-net-async-http: upgrade to 0.47
# Automatically generated by apkbuild-cpan, template 1 # Automatically generated by apkbuild-cpan, template 3
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> # Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> # Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-net-async-http pkgname=perl-net-async-http
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Net-Async-HTTP _pkgreal=Net-Async-HTTP
pkgver=0.45 pkgver=0.47
pkgrel=0 pkgrel=0
pkgdesc="Use HTTP with C<IO::Async>" pkgdesc="use HTTP with C<IO::Async>"
url="https://metacpan.org/release/Net-Async-HTTP" url="https://metacpan.org/release/Net-Async-HTTP/"
arch="noarch" arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl" license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb" depends="perl perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb perl-metrics-any"
cpanmakedepends="perl-test-identity perl-http-cookies" makedepends="perl-dev perl-test-identity perl-http-cookies perl-test-refcount perl-module-build perl-io-async perl-test-metrics-any"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-test-refcount perl-module-build"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Net-Async-HTTP-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Net-Async-HTTP-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver" builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor
}
build() { build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL --installdirs=vendor
./Build ./Build
} }
...@@ -33,8 +27,8 @@ check() { ...@@ -33,8 +27,8 @@ check() {
} }
package() { package() {
./Build install destdir="$pkgdir" ./Build install --destdir="$pkgdir"
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
sha512sums="0d50716cf73b05a55c177eb7858acb002993bace6b1aafc02b18067e9fb5583c7ed5ff49bd611b10b5186e98b2de50016720f827cf7cff82918259fca57e6f9f Net-Async-HTTP-0.45.tar.gz" sha512sums="9a4cc1ff8a7b945763b5201244957ef009981e1525e20b8a589eb3540e17362cf3c8b6cd17e0fddb67fd401d42affd593bc34d041895cfb34c3b53c33abb148d Net-Async-HTTP-0.47.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment