svn commit: r569293 - head/security/py-merkletools
Yuri Victorovich
yuri at FreeBSD.org
Sat Mar 27 04:43:56 UTC 2021
Author: yuri
Date: Sat Mar 27 04:43:55 2021
New Revision: 569293
URL: https://svnweb.freebsd.org/changeset/ports/569293
Log:
security/py-merkletools: Remove tests from plist because they cause conflicts
Modified:
head/security/py-merkletools/Makefile
Modified: head/security/py-merkletools/Makefile
==============================================================================
--- head/security/py-merkletools/Makefile Sat Mar 27 04:40:14 2021 (r569292)
+++ head/security/py-merkletools/Makefile Sat Mar 27 04:43:55 2021 (r569293)
@@ -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/
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>
More information about the svn-ports-all
mailing list