From owner-svn-ports-all@freebsd.org Sun Feb 11 09:02:52 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A7F2F031EE; Sun, 11 Feb 2018 09:02:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BFE46D950; Sun, 11 Feb 2018 09:02:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 06C8A20CB0; Sun, 11 Feb 2018 09:02:52 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1B92pIu090999; Sun, 11 Feb 2018 09:02:51 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1B92p59090998; Sun, 11 Feb 2018 09:02:51 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201802110902.w1B92p59090998@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sun, 11 Feb 2018 09:02:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r461479 - head/archivers/py-attic X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/archivers/py-attic X-SVN-Commit-Revision: 461479 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2018 09:02:52 -0000 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