From owner-svn-ports-head@freebsd.org Thu May 10 08:34:02 2018 Return-Path: Delivered-To: svn-ports-head@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 A159DFB846A; Thu, 10 May 2018 08:34:02 +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 487D37DDA7; Thu, 10 May 2018 08:34:02 +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 2697C1DF9E; Thu, 10 May 2018 08:34:02 +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 w4A8Y1U0042053; Thu, 10 May 2018 08:34:01 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4A8Y1Ai042052; Thu, 10 May 2018 08:34:01 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201805100834.w4A8Y1Ai042052@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 10 May 2018 08:34:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r469521 - head/devel/py-bitarray X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/devel/py-bitarray X-SVN-Commit-Revision: 469521 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 08:34:02 -0000 Author: amdmi3 Date: Thu May 10 08:34:01 2018 New Revision: 469521 URL: https://svnweb.freebsd.org/changeset/ports/469521 Log: - Add LICENSE_FILE - Switch to options helpers - Fix test and convert to new test framework Approved by: portmgr blanket Modified: head/devel/py-bitarray/Makefile Modified: head/devel/py-bitarray/Makefile ============================================================================== --- head/devel/py-bitarray/Makefile Thu May 10 08:03:48 2018 (r469520) +++ head/devel/py-bitarray/Makefile Thu May 10 08:34:01 2018 (r469521) @@ -12,6 +12,7 @@ MAINTAINER= sbz@FreeBSD.org COMMENT= Efficient arrays of booleans LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE USES= python USE_PYTHON= distutils autoplist @@ -19,18 +20,20 @@ USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -PORTDOCS= AUTHORS CHANGE_LOG LICENSE README.rst +PORTDOCS= AUTHORS CHANGE_LOG README.rst PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} -regression-test: extract - @(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} -c "import ${PORTNAME}; ${PORTNAME}.test()") +do-test: + ${SETENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -c "import ${PORTNAME}; ${PORTNAME}.test()" .include