aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-03-27 04:48:42 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-03-27 04:48:42 +0000
commit829462b765341e0a929bbd9de54b9d3c0567d26f (patch)
tree279245c9d6e45df87719a9dc553c61d9cf74e4f2 /math
parent29ed46f667e40ce20f43c799f8dfcc2da0add937 (diff)
downloadports-829462b765341e0a929bbd9de54b9d3c0567d26f.tar.gz
ports-829462b765341e0a929bbd9de54b9d3c0567d26f.zip
math/py-baycomp: Remove tests from plist because they cause conflicts
Notes
Notes: svn path=/head/; revision=569294
Diffstat (limited to 'math')
-rw-r--r--math/py-baycomp/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/math/py-baycomp/Makefile b/math/py-baycomp/Makefile
index 7e1292c0a554..2c027cdd5d87 100644
--- a/math/py-baycomp/Makefile
+++ b/math/py-baycomp/Makefile
@@ -2,6 +2,7 @@
PORTNAME= baycomp
DISTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= math python # statistics
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -21,4 +22,12 @@ USE_PYTHON= distutils autoplist
NO_ARCH= yes
+POST_PLIST= rm-tests-from-plist
+
+post-install:
+ @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/tests
+
+rm-tests-from-plist:
+ @${REINPLACE_CMD} '/\/tests\//d' ${TMPPLIST}
+
.include <bsd.port.mk>