Date: Thu, 9 Jun 2022 11:04:29 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 08ded99ea808 - main - textproc/py-tomlkit: Convert to USE_PYTHON=pytest Message-ID: <202206091104.259B4TOF051391@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=08ded99ea8084a006a330ecbf6c12fc193493359 commit 08ded99ea8084a006a330ecbf6c12fc193493359 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-09 10:59:35 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-09 10:59:35 +0000 textproc/py-tomlkit: Convert to USE_PYTHON=pytest --- textproc/py-tomlkit/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/textproc/py-tomlkit/Makefile b/textproc/py-tomlkit/Makefile index 8da5c58c41a5..73bc519b181b 100644 --- a/textproc/py-tomlkit/Makefile +++ b/textproc/py-tomlkit/Makefile @@ -12,18 +12,14 @@ 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} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest 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?202206091104.259B4TOF051391>