svn commit: r569294 - head/math/py-baycomp
Yuri Victorovich
yuri at FreeBSD.org
Sat Mar 27 04:48:43 UTC 2021
Author: yuri
Date: Sat Mar 27 04:48:42 2021
New Revision: 569294
URL: https://svnweb.freebsd.org/changeset/ports/569294
Log:
math/py-baycomp: Remove tests from plist because they cause conflicts
Modified:
head/math/py-baycomp/Makefile
Modified: head/math/py-baycomp/Makefile
==============================================================================
--- head/math/py-baycomp/Makefile Sat Mar 27 04:43:55 2021 (r569293)
+++ head/math/py-baycomp/Makefile Sat Mar 27 04:48:42 2021 (r569294)
@@ -2,6 +2,7 @@
PORTNAME= baycomp
DISTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= math python # statistics
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -20,5 +21,13 @@ USES= localbase:ldflags python:3.6+
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>
More information about the svn-ports-head
mailing list