diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-11-24 22:20:21 +0100 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-11-25 10:54:36 +0100 |
commit | e928142dbd860ff19f734c66a4508ae78513683f (patch) | |
tree | 3a585fdbe3c3a642d0181e231d68b6cff60485f7 /community | |
parent | 61085fe3e40c9ce57143bf8413f472c6cda16252 (diff) | |
download | aports-e928142dbd860ff19f734c66a4508ae78513683f.tar.bz2 aports-e928142dbd860ff19f734c66a4508ae78513683f.tar.xz |
community/perl-moose: upgrade to 2.2012
Diffstat (limited to 'community')
-rw-r--r-- | community/perl-moose/APKBUILD | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/community/perl-moose/APKBUILD b/community/perl-moose/APKBUILD index e0f7eba63a..e94627de1c 100644 --- a/community/perl-moose/APKBUILD +++ b/community/perl-moose/APKBUILD @@ -2,12 +2,13 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=perl-moose _pkgreal=Moose -pkgver=2.2011 -pkgrel=2 +pkgver=2.2012 +pkgrel=0 pkgdesc="A postmodern object system for Perl 5" -url="http://search.cpan.org/dist/Moose/" +options="!check" # Tests introduce circular dependencies +url="https://metacpan.org/release/Moose" arch="all" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-task-weaken perl-package-stash perl-class-load-xs perl-module-runtime perl-dist-checkconflicts perl-package-stash-xs perl-package-deprecationmanager perl-sub-exporter perl-params-util @@ -18,30 +19,21 @@ depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" options="!check" -source="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Moose-$pkgver.tar.gz" +source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/Moose-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" -check() { - cd "$builddir" - # we cannot run 'make test' since the test - # suite would introduce circular dependencies. -} - prepare() { - cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { - cd "$builddir" make } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="f94ed23c45a860b9afa8defe7f5067a65fdd9d457d94a85e4ea192640d09ad73bc336a2e54c4c663643ec0efa32872f4b2aa69083e99093e420cecf5430f34a3 Moose-2.2011.tar.gz" +sha512sums="195079c32ce0110ae5d76bc1753b9e5c9aa8b3132049912d85600b7d29470b3426e10ccac50a24acbadbb8e00b68c99a98ca975a001b12096b02f2fa1c1264f3 Moose-2.2012.tar.gz" |