aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-anyevent-influxdb/APKBUILD
diff options
context:
space:
mode:
authorNick Andrew <nick@nick-andrew.net>2017-04-09 09:20:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-10 11:08:07 +0000
commitbe3ec0fa1eef92f236e84c4517e86f68709a9f63 (patch)
tree3a98c0d9b63fd51b47405c99a6650a2b063d6d95 /testing/perl-anyevent-influxdb/APKBUILD
parent4f3150e16ab82138292b80e300d5ed0e9544c0bc (diff)
downloadaports-be3ec0fa1eef92f236e84c4517e86f68709a9f63.tar.bz2
aports-be3ec0fa1eef92f236e84c4517e86f68709a9f63.tar.xz
testing/perl-anyevent-influxdb: Upgrade to 1.0.2.0
Diffstat (limited to 'testing/perl-anyevent-influxdb/APKBUILD')
-rw-r--r--testing/perl-anyevent-influxdb/APKBUILD30
1 files changed, 16 insertions, 14 deletions
diff --git a/testing/perl-anyevent-influxdb/APKBUILD b/testing/perl-anyevent-influxdb/APKBUILD
index 7f3eebaec7..99ad182c71 100644
--- a/testing/perl-anyevent-influxdb/APKBUILD
+++ b/testing/perl-anyevent-influxdb/APKBUILD
@@ -1,41 +1,43 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 2
# Contributor: Nick Andrew <nick@nick-andrew.net>
# Maintainer: Nick Andrew <nick@nick-andrew.net>
pkgname=perl-anyevent-influxdb
_pkgreal=AnyEvent-InfluxDB
-pkgver=0.13
+pkgver=1.0.2.0
pkgrel=0
pkgdesc="An asynchronous library for InfluxDB time-series database"
url="http://search.cpan.org/dist/AnyEvent-InfluxDB/"
arch="noarch"
license="GPL PerlArtistic"
-cpandepends="perl-uri perl-list-moreutils perl-anyevent-http perl-uri-encode-xs perl-json perl-moo perl-anyevent"
-cpanmakedepends=" "
+cpandepends="perl-anyevent-http perl-anyevent perl-list-moreutils perl-moo perl-json perl-uri perl-uri-encode-xs"
+cpanmakedepends=""
+cpancheckdepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
+checkdepends="$cpancheckdepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AJ/AJGB/$_pkgreal-$pkgver.tar.gz"
-
-_builddir="$srcdir/$_pkgreal-$pkgver"
+builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ default_prepare || return 1
+
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
perl Build.PL installdirs=vendor || return 1
}
build() {
- cd "$_builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ cd "$builddir"
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
./Build && ./Build test
}
package() {
- cd "$_builddir"
+ cd "$builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="d87b7782bb7b38b2365a795116294b3a AnyEvent-InfluxDB-0.13.tar.gz"
-sha256sums="201d90d2681fe07afda28e0c76abb395a08595e170e063d302a56f422a74820f AnyEvent-InfluxDB-0.13.tar.gz"
-sha512sums="ca097ee4638af9f9e5eca33ea1aa96557d85f9c94959116c37e7b9416a34571ed0d1d50523618262a6d96092d64282d901ae9e133a10b7983450188b03bae492 AnyEvent-InfluxDB-0.13.tar.gz"
+
+sha512sums="1b88aa659fae9f7089547f9765048368811af26a0d090ead61a862dd00ebe175e9a2ea458dae39590268b0bb77913b630fb13e07fe3bccaff002bb5da6bc2c42 AnyEvent-InfluxDB-1.0.2.0.tar.gz"