Date: Mon, 13 May 2019 14:28:40 +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: r501571 - head/devel/py-bitstring Message-ID: <201905131428.x4DESefT014148@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Mon May 13 14:28:39 2019 New Revision: 501571 URL: https://svnweb.freebsd.org/changeset/ports/501571 Log: - Add LICENSE_FILE - Switch to options helpers - Switch to new test framework Approved by: portmgr blanket Modified: head/devel/py-bitstring/Makefile Modified: head/devel/py-bitstring/Makefile ============================================================================== --- head/devel/py-bitstring/Makefile Mon May 13 14:28:20 2019 (r501570) +++ head/devel/py-bitstring/Makefile Mon May 13 14:28:39 2019 (r501571) @@ -11,6 +11,7 @@ MAINTAINER= sbz@FreeBSD.org COMMENT= Simple construction, analysis, and modification of binary data LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE USES= python zip USE_PYTHON= autoplist concurrent distutils @@ -20,11 +21,11 @@ PORTDOCS= PKG-INFO README.rst release_notes.txt OPTIONS_DEFINE= DOCS -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -regression-test: extract +do-test: @(cd ${WRKSRC}/test && ${PYTHON_CMD} -c 'import unittest, test_${PORTNAME}; unittest.main(test_${PORTNAME})') .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905131428.x4DESefT014148>