Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 04:48:42 +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: r569294 - head/math/py-baycomp
Message-ID:  <202103270448.12R4mgJP034168@repo.freebsd.org>

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



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