Commit a263b96c authored by Timo Teräs's avatar Timo Teräs
Browse files

main/perl-datetime-timezone: break circular dependency

disable tests, and remove the circular makedependency
parent a36f963f
......@@ -8,7 +8,7 @@ url="http://search.cpan.org/dist/DateTime-TimeZone/"
arch="noarch"
license="GPLv2 or Artistic"
depends="perl perl-class-load perl-params-validate perl-class-singleton"
makedepends="perl-dev perl-datetime perl-test-requires"
makedepends="perl-dev perl-test-requires"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-TimeZone-$pkgver.tar.gz"
......@@ -27,7 +27,11 @@ prepare() {
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make && make test || return 1
# No tests - tests depend on perl-datetime, but on the otherhand
# that package has a hard dependency on this one.
# Thus break circular build dependency by skipping tests.
make || return 1
}
package() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment