Skip to content

Commit

Permalink
textproc/py-chardet: Update do-test:
Browse files Browse the repository at this point in the history
- Update COMMENT
- Clean up TEST_DEPENDS
- Sort TEST_DEPENDS
  • Loading branch information
sunpoet committed Jun 10, 2021
1 parent 8a8c4b4 commit e6a50aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions textproc/py-chardet/Makefile
Expand Up @@ -8,20 +8,20 @@ MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= python@FreeBSD.org
COMMENT= Universal encoding detector for Python 2 and 3
COMMENT= Universal encoding detector for Python

LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE

TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}

NO_ARCH= yes
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils

NO_ARCH= yes

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

.include <bsd.port.mk>

0 comments on commit e6a50aa

Please sign in to comment.