Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 04:43:55 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569293 - head/security/py-merkletools
Message-ID:  <202103270443.12R4htLF033936@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103270443.12R4htLF033936>