diff --git a/devel/py-diskcache/Makefile b/devel/py-diskcache/Makefile index 130c09e0bdb1..1664a74d72a6 100644 --- a/devel/py-diskcache/Makefile +++ b/devel/py-diskcache/Makefile @@ -1,27 +1,29 @@ PORTNAME= diskcache DISTVERSIONPREFIX= v DISTVERSION= 5.6.1 +PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Disk and file backed persistent cache WWW= https://grantjenks.com/docs/diskcache/ LICENSE= APACHE20 -PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django41>0:www/py-django41@${PY_FLAVOR} +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>0:www/py-django42@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} RUN_DEPENDS= ${PY_DEPENDS} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist unittest # 1 test fails, see https://github.com/grantjenks/python-diskcache/issues/262 +USE_PYTHON= distutils autoplist pytest USE_GITHUB= yes GH_ACCOUNT= grantjenks GH_PROJECT= python-diskcache +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + NO_ARCH= yes .include