diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-18 11:13:50 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-02-18 11:16:09 +0100 |
commit | 6508101c22051d030aba368bc42b80ef0a745518 (patch) | |
tree | a2d6faafe8fde9e505950d862ad48393295964f3 /community/cloc | |
parent | 6c5cfabbaffcd69b66cd28a1119abe292a1631f7 (diff) | |
download | aports-6508101c22051d030aba368bc42b80ef0a745518.tar.bz2 aports-6508101c22051d030aba368bc42b80ef0a745518.tar.xz |
community/cloc: depend on perl-parallel-forkmanager
Diffstat (limited to 'community/cloc')
-rw-r--r-- | community/cloc/APKBUILD | 16 | ||||
-rw-r--r-- | community/cloc/disable-test-perl.patch | 16 |
2 files changed, 6 insertions, 26 deletions
diff --git a/community/cloc/APKBUILD b/community/cloc/APKBUILD index 7249c2afdd..fc9de9afaf 100644 --- a/community/cloc/APKBUILD +++ b/community/cloc/APKBUILD @@ -2,17 +2,17 @@ # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> pkgname=cloc pkgver=1.76 -pkgrel=0 +pkgrel=1 pkgdesc="Count lines of code" url="https://github.com/AlDanial/cloc" arch="noarch" license="GPL-2.0" -depends="perl perl-algorithm-diff perl-regexp-common" +depends="perl perl-algorithm-diff perl-regexp-common + perl-parallel-forkmanager" makedepends="" subpackages="$pkgname-doc" source="https://github.com/AlDanial/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz - disable-01_opts.patch - disable-test-perl.patch" + disable-01_opts.patch" builddir="$srcdir/$pkgname-$pkgver" build() { @@ -20,10 +20,7 @@ build() { } check() { - # test-perl requires perl-parallel-forkmanager which is - # currently in testing. Therefore we only run a subset of the - # testsuite for now. - make -B -C "$builddir"/Unix test-pod test-code + make -C "$builddir"/Unix test } package() { @@ -36,5 +33,4 @@ package() { } sha512sums="3f16f084be1828557e4120a8e41b276336ac240c5de4dc765066277d848ce9af20f31b36ec4beb863066d8b3e9287ea0e0b2a8f1abd15532957f53d2d3935ecd cloc-1.76.tar.gz -10039c23d06f16f3c44427ee0f0e5d16dd05d2c5364145f57c1e5de94227387907f9ecebe7d42fc976599a8c1814e51d5f0a4eddef154222c5138cbcce777c4a disable-01_opts.patch -db35af1184fbf03ba4089ae5e9fbfc868b82a0487ee1bf0a284e40faba356e91bcb725c682cbf52c8f76ed1d6883f9ce86200bb65cf8175f9630ebe1492c890e disable-test-perl.patch" +10039c23d06f16f3c44427ee0f0e5d16dd05d2c5364145f57c1e5de94227387907f9ecebe7d42fc976599a8c1814e51d5f0a4eddef154222c5138cbcce777c4a disable-01_opts.patch" diff --git a/community/cloc/disable-test-perl.patch b/community/cloc/disable-test-perl.patch deleted file mode 100644 index cf0873f475..0000000000 --- a/community/cloc/disable-test-perl.patch +++ /dev/null @@ -1,16 +0,0 @@ -test-perl requires perl-parallel-forkmanager which is currently still in -testing, we therefore remove the test-perl prerequisites of the -install-bin target for now. - -diff -upr cloc-1.76.orig/Unix/Makefile cloc-1.76/Unix/Makefile ---- cloc-1.76.orig/Unix/Makefile 2018-02-10 18:09:16.849581838 +0100 -+++ cloc-1.76/Unix/Makefile 2018-02-10 18:09:24.872917920 +0100 -@@ -105,7 +105,7 @@ install-man: test-pod man - $(INSTALL_BIN) -d $(MANDIR1) - $(INSTALL_DATA) $(INSTALL_OBJS_MAN) $(MANDIR1) - --install-bin: test-perl -+install-bin: - # install-bin - Install programs - $(INSTALL_BIN) -d $(BINDIR) - for f in $(INSTALL_OBJS_BIN); \ |