summaryrefslogtreecommitdiff
path: root/user/perl-test-data-split
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 02:11:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 02:11:15 +0000
commit25e35638657a449fe1b9948dbc481f4d1972e514 (patch)
tree994a69972f293889759a62e0f788ac287593f9a3 /user/perl-test-data-split
parent5f5db7c836cdff947b9231616f8905f16d6bdd20 (diff)
downloadpackages-25e35638657a449fe1b9948dbc481f4d1972e514.tar.gz
packages-25e35638657a449fe1b9948dbc481f4d1972e514.tar.bz2
packages-25e35638657a449fe1b9948dbc481f4d1972e514.tar.xz
packages-25e35638657a449fe1b9948dbc481f4d1972e514.zip
user/perl-test-data-split: new package
Diffstat (limited to 'user/perl-test-data-split')
-rw-r--r--user/perl-test-data-split/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-data-split/APKBUILD b/user/perl-test-data-split/APKBUILD
new file mode 100644
index 000000000..0e5269e41
--- /dev/null
+++ b/user/perl-test-data-split/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-data-split
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Split data-driven Perl tests into several test scripts"
+url="https://metacpan.org/release/Test-Data-Split"
+arch="noarch"
+license="MIT"
+depends="perl-io-all perl-list-moreutils perl-moox perl-moox-late"
+makedepends="perl-dev perl-module-build"
+checkdepends="perl-test-differences"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Data-Split-$pkgver.tar.gz"
+builddir="$srcdir/Test-Data-Split-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="db6ae688318b6cd98cbbdf0c94e7a1d5ea52c96262d7ed5e1aea2a2380cfa851c468d8775c3cd5520f9e5e8bfdc67e367d66d0027f1452d208250c88f76bffae Test-Data-Split-0.2.1.tar.gz"