diff --git a/converters/py-bencode.py/Makefile b/converters/py-bencode.py/Makefile index 66e5623ef199..d61a450d3545 100644 --- a/converters/py-bencode.py/Makefile +++ b/converters/py-bencode.py/Makefile @@ -1,27 +1,29 @@ PORTNAME= bencode.py PORTVERSION= 4.0.0 PORTREVISION= 1 CATEGORIES= converters devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Bencoding and bdecoding implementation WWW= https://github.com/fuzeman/bencode.py LICENSE= BTOSL LICENSE_NAME= BitTorrent Open Source License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=1.9:devel/py-pbr@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}pbr>=1.9:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} NO_ARCH= yes USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= pep517 autoplist do-test: @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYTHON_VER}) .include