Date: Tue, 3 Nov 2020 15:47:00 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r554000 - head/security/py-xkcdpass Message-ID: <202011031547.0A3Fl0m6081303@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Tue Nov 3 15:47:00 2020 New Revision: 554000 URL: https://svnweb.freebsd.org/changeset/ports/554000 Log: Add tests and USE_PYTHON=concurrent Reported by: koobs Approved by: maintainer timeout Modified: head/security/py-xkcdpass/Makefile Modified: head/security/py-xkcdpass/Makefile ============================================================================== --- head/security/py-xkcdpass/Makefile Tue Nov 3 15:36:36 2020 (r553999) +++ head/security/py-xkcdpass/Makefile Tue Nov 3 15:47:00 2020 (r554000) @@ -3,6 +3,7 @@ PORTNAME= xkcdpass DISTVERSIONPREFIX= ${PORTNAME}- DISTVERSION= 1.17.4 +PORTREVISION= 1 CATEGORIES= security sysutils python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,10 +13,12 @@ COMMENT= Password generator as in XKCD 936 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.BSD +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} + USES= python USE_GITHUB= yes GH_ACCOUNT= jwfh -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes @@ -34,5 +37,9 @@ post-install: post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${_README_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +do-test: + @(cd ${TEST_WRKSRC} && \ + ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test) .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011031547.0A3Fl0m6081303>