aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-11-29 17:58:53 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-11-29 17:58:53 +0100
commit3de1b3505acffa412aaef6dcb0a73aa996c6f54f (patch)
treef979a85d4dbad645e1f58f5d58ca2b69bec7575e
parentde1a5741379f95509d2cfce56e4f7c2844a985e1 (diff)
downloadaports-3de1b3505acffa412aaef6dcb0a73aa996c6f54f.tar.gz
aports-3de1b3505acffa412aaef6dcb0a73aa996c6f54f.tar.bz2
aports-3de1b3505acffa412aaef6dcb0a73aa996c6f54f.tar.xz
testing/py3-testresources: remove tests/ subdirectory
-rw-r--r--testing/py3-testresources/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/py3-testresources/APKBUILD b/testing/py3-testresources/APKBUILD
index 6b0a002c5f..ac078ee0df 100644
--- a/testing/py3-testresources/APKBUILD
+++ b/testing/py3-testresources/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py3-testresources
_pyname=testresources
pkgver=2.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="A pyunit extension for managing expensive test resources"
url="https://launchpad.net/testresources"
arch="noarch"
@@ -24,6 +24,7 @@ check() {
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
+ rm -rf "$pkgdir"/usr/lib/python3*/site-packages/testresources/tests/
}
sha512sums="0b23432b019400fe378e957d14a91083eef7fe1130a494b567a5274d69e4e8e09ab75861e5453c3f217507e144cf179c908f84dd1a807992d4bee0b8d32cb0f4 testresources-2.0.1.tar.gz"