aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-08-15 19:34:01 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-08-15 19:49:23 +0000
commit94ca725d0a6958936069e724e193be79525bedb6 (patch)
tree0e364e3f5845ef07100ffb973150b46b05d11f88
parent94c3b04976f489e27bc50cef0cf072f3ea05d0d0 (diff)
downloadaports-94ca725d0a6958936069e724e193be79525bedb6.tar.gz
aports-94ca725d0a6958936069e724e193be79525bedb6.tar.bz2
aports-94ca725d0a6958936069e724e193be79525bedb6.tar.xz
main/perl-net-async-http: upgrade to 0.47
-rw-r--r--main/perl-net-async-http/APKBUILD26
1 files changed, 10 insertions, 16 deletions
diff --git a/main/perl-net-async-http/APKBUILD b/main/perl-net-async-http/APKBUILD
index c28ca711fa..ed7ee4052d 100644
--- a/main/perl-net-async-http/APKBUILD
+++ b/main/perl-net-async-http/APKBUILD
@@ -1,30 +1,24 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
pkgname=perl-net-async-http
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Net-Async-HTTP
-pkgver=0.45
+pkgver=0.47
pkgrel=0
-pkgdesc="Use HTTP with C<IO::Async>"
-url="https://metacpan.org/release/Net-Async-HTTP"
+pkgdesc="use HTTP with C<IO::Async>"
+url="https://metacpan.org/release/Net-Async-HTTP/"
arch="noarch"
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"
-cpanmakedepends="perl-test-identity perl-http-cookies"
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends perl-test-refcount perl-module-build"
+depends="perl perl-io-async perl-future perl-uri perl-http-message perl-struct-dumb perl-metrics-any"
+makedepends="perl-dev perl-test-identity perl-http-cookies perl-test-refcount perl-module-build perl-io-async perl-test-metrics-any"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Net-Async-HTTP-$pkgver.tar.gz"
-
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- perl Build.PL installdirs=vendor
-}
-
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ perl Build.PL --installdirs=vendor
./Build
}
@@ -33,8 +27,8 @@ check() {
}
package() {
- ./Build install destdir="$pkgdir"
+ ./Build install --destdir="$pkgdir"
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"