community/perl-test-postgresql: fix make depends

Add perl-module-install as a make dependency to fix build error:
Can't locate inc/Module/Install.pm in @INC (you may need to install
the inc::Module::Install module)

Also add perl-try-tiny to checkdepends.
This commit is contained in:
Roberto Oliveira 2017-11-05 17:23:51 +00:00
parent e03f088c12
commit 06c59d36b9

View File

@ -4,7 +4,7 @@
pkgname=perl-test-postgresql
_pkgreal=Test-PostgreSQL
pkgver=1.23
pkgrel=0
pkgrel=1
pkgdesc="PostgreSQL runner for tests"
url="http://search.cpan.org/dist/Test-PostgreSQL/"
arch="noarch"
@ -14,7 +14,8 @@ cpanmakedepends="perl-test-sharedfork perl-dbd-pg perl-dbi
perl-test-pod perl-moo perl-type-tiny perl-function-parameters
perl-file-which perl-tie-hash-method"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
makedepends="perl-dev $cpanmakedepends perl-module-install"
checkdepends="perl-try-tiny"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TJ/TJC/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"