Date: Thu, 9 Jun 2022 11:03:27 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: 0366eb6bf680 - main - devel/py-black: Convert to USE_PYTHON=pytest Message-ID: <202206091103.259B3Rb5050029@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=0366eb6bf680ccf80f4bb7b91db58032b6eb6cb0 commit 0366eb6bf680ccf80f4bb7b91db58032b6eb6cb0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-06-09 10:58:11 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-06-09 10:58:11 +0000 devel/py-black: Convert to USE_PYTHON=pytest --- devel/py-black/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/devel/py-black/Makefile b/devel/py-black/Makefile index 2c380c541727..683ad7b12fd2 100644 --- a/devel/py-black/Makefile +++ b/devel/py-black/Makefile @@ -16,11 +16,18 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=8.0.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pathspec>=0.9.0:devel/py-pathspec@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}platformdirs>=2:devel/py-platformdirs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=2020.1.8:textproc/py-regex@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=5.3:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}ipython>=7.8.0:devel/ipython@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pre-commit>=0:devel/py-pre-commit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.9.0:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.2.1:devel/py-pytest-xdist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tokenize-rt>=3.2.0:devel/py-tokenize-rt@${PY_FLAVOR} USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} OPTIONS_DEFINE= COLORAMA D JUPYTER UVLOOP OPTIONS_DEFAULT=COLORAMA @@ -49,7 +56,4 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.10.0.0:devel/py-typing RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>=1.1.0:textproc/py-tomli@${PY_FLAVOR} .endif -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test - .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206091103.259B3Rb5050029>