Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 09:02:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461479 - head/archivers/py-attic
Message-ID:  <201802110902.w1B92p59090998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb 11 09:02:51 2018
New Revision: 461479
URL: https://svnweb.freebsd.org/changeset/ports/461479

Log:
  - Switch to new test framework
  - Simplify stripping
  
  Approved by:	portmgr blanket

Modified:
  head/archivers/py-attic/Makefile

Modified: head/archivers/py-attic/Makefile
==============================================================================
--- head/archivers/py-attic/Makefile	Sun Feb 11 09:02:49 2018	(r461478)
+++ head/archivers/py-attic/Makefile	Sun Feb 11 09:02:51 2018	(r461479)
@@ -20,14 +20,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.
 USES=		python:3.3+ ssl
 USE_PYTHON=	autoplist distutils
 
-STRIP_FILES=	hashindex.so platform_freebsd.so chunker.so crypto.so
 PYDISTUTILS_BUILDPATH=${BUILD_WRKSRC}/build/lib.${OPSYS:tl}-${UNAMER}-${ARCH}-${PYTHON_VER}
 
-regression-test: build
-	${SETENV} PYTHONPATH="${PYDISTUTILS_BUILDPATH}:${PYTHONPATH}" \
-	  ${PYTHON_CMD} -m attic.testsuite.run
-
 post-install:
-	${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/attic/,}
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/attic/*.so
+
+do-test:
+	cd ${WRKDIR} && ${SETENV} PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${PYTHONPATH}" \
+		${PYTHON_CMD} -m attic.testsuite.run
 
 .include <bsd.port.mk>



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