diff --git a/textproc/py-hashids/Makefile b/textproc/py-hashids/Makefile index 84070edac10d..c826a882ccb3 100644 --- a/textproc/py-hashids/Makefile +++ b/textproc/py-hashids/Makefile @@ -1,28 +1,23 @@ # Created by: Po-Chuan Hsieh PORTNAME= hashids PORTVERSION= 1.3.1 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Implement the hashids algorithm in python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} - USES= python:3.5+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes post-patch: @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py -do-test: - cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v - .include