Date: Sun, 7 Mar 2021 22:22:04 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567700 - head/textproc/py-tomlkit Message-ID: <202103072222.127MM4vY048841@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Mar 7 22:22:04 2021 New Revision: 567700 URL: https://svnweb.freebsd.org/changeset/ports/567700 Log: Convert to test framework Modified: head/textproc/py-tomlkit/Makefile Modified: head/textproc/py-tomlkit/Makefile ============================================================================== --- head/textproc/py-tomlkit/Makefile Sun Mar 7 22:21:58 2021 (r567699) +++ head/textproc/py-tomlkit/Makefile Sun Mar 7 22:22:04 2021 (r567700) @@ -14,6 +14,9 @@ COMMENT= Style-preserving TOML library LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} + USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils @@ -21,5 +24,8 @@ NO_ARCH= yes post-patch: @${MV} ${WRKSRC}/tests ${WRKSRC}/tomlkit + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103072222.127MM4vY048841>