aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-dbix-class
diff options
context:
space:
mode:
Diffstat (limited to 'testing/perl-dbix-class')
-rw-r--r--testing/perl-dbix-class/APKBUILD58
1 files changed, 35 insertions, 23 deletions
diff --git a/testing/perl-dbix-class/APKBUILD b/testing/perl-dbix-class/APKBUILD
index cc68ecbb93..d7ef945046 100644
--- a/testing/perl-dbix-class/APKBUILD
+++ b/testing/perl-dbix-class/APKBUILD
@@ -1,41 +1,58 @@
-# Automatically generated by apkbuild-cpan, template 2
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-dbix-class
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=DBIx-Class
-pkgver=0.082842
+pkgver=0.082843
pkgrel=0
pkgdesc="Extensible and flexible object <-> relational mapper."
-url="https://metacpan.org/release/DBIx-Class"
+url="https://metacpan.org/release/DBIx-Class/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="
- perl perl-path-class perl-namespace-clean perl-context-preserve perl-try-tiny
- perl-devel-globaldestruction perl-mro-compat perl-sql-abstract-classic perl-class-c3-componentised
- perl-sub-name perl-class-inspector perl-config-any perl-module-find perl-dbi
- perl-data-dumper-concise perl-class-accessor-grouped perl-scope-guard perl-moo
- perl-hash-merge perl-data-page
+ perl
+ perl-class-accessor-grouped
+ perl-class-c3-componentised
+ perl-class-inspector
+ perl-config-any
+ perl-context-preserve
+ perl-data-dumper-concise
+ perl-dbi
+ perl-devel-globaldestruction
+ perl-hash-merge
+ perl-module-find
+ perl-moo
+ perl-mro-compat
+ perl-namespace-clean
+ perl-path-class
+ perl-scope-guard
+ perl-sql-abstract-classic
+ perl-sub-name
+ perl-try-tiny
"
makedepends="
- perl-module-install perl-package-stash perl-test-exception perl-test-deep perl-dbd-sqlite
+ perl-dbd-sqlite
+ perl-dev
+ perl-package-stash
+ perl-test-deep
+ perl-test-exception
perl-test-warn
"
checkdepends="perl-clone-choose"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/$_pkgreal-$pkgver.tar.gz
- "
+source="https://cpan.metacpan.org/authors/id/R/RI/RIBASUSHI/DBIx-Class-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
-
+build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
}
-build() {
+check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make
+ make test
}
package() {
@@ -43,11 +60,6 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-check() {
- export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make test
-}
-
sha512sums="
-c8d7149536d5c4ebbfc866b0c143454ead37fda5ddb8fa43dfe2d56c2169be0fd8a46ec3b6c7cd22cb1c93504056d5803b5250ac151507ef4205fe53495e8f18 DBIx-Class-0.082842.tar.gz
+395752fd2568580c7a35598c4e2a30210e6ee5dc382dc56338ca6e20effa083e2bb31ebe6c715f2bd421699de10570551b1c4c25772c0f8b071f64787b041d7c DBIx-Class-0.082843.tar.gz
"