aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-03-27 04:43:55 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-03-27 04:43:55 +0000
commit29ed46f667e40ce20f43c799f8dfcc2da0add937 (patch)
treeacc35e2b3ff54b9c289349a4ee5be36f62f0aab8 /security
parent92f67140755fdd5ef6c802a896a835f1a4824c21 (diff)
downloadports-29ed46f667e40ce20f43c799f8dfcc2da0add937.tar.gz
ports-29ed46f667e40ce20f43c799f8dfcc2da0add937.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/py-merkletools/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/security/py-merkletools/Makefile b/security/py-merkletools/Makefile
index 37afcac169b4..9d1e56d7ef4e 100644
--- a/security/py-merkletools/Makefile
+++ b/security/py-merkletools/Makefile
@@ -2,6 +2,7 @@
PORTNAME= merkletools
DISTVERSION= 1.0.3
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,6 +17,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysha3>0:security/py-pysha3@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
-NO_ARCH= yes
+NO_ARCH= yesA
+
+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>