Skip to content

Commit

Permalink
devel/py-pytest-black-multipy: Convert to USE_PYTHON=pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jun 9, 2022
1 parent ab5a910 commit 2d78e56
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions devel/py-pytest-black-multipy/Makefile
Expand Up @@ -14,15 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-black>=0:devel/py-pytest-black@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.5:devel/py-pytest@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-checkdocs>=0:devel/py-pytest-checkdocs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR}

USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent distutils pytest

NO_ARCH= yes

do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v

.include <bsd.port.mk>

0 comments on commit 2d78e56

Please sign in to comment.