diff options
Diffstat (limited to 'www/py-django-stubs-ext/Makefile')
-rw-r--r-- | www/py-django-stubs-ext/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/py-django-stubs-ext/Makefile b/www/py-django-stubs-ext/Makefile index 856481f91657..314fb3e0ce93 100644 --- a/www/py-django-stubs-ext/Makefile +++ b/www/py-django-stubs-ext/Makefile @@ -2,10 +2,10 @@ PORTNAME= django-stubs-ext PORTVERSION= 5.2.0 CATEGORIES= www python MASTER_SITES= PYPI -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMEPREFIX?= ${PYTHON_PKGNAMEPREFIX} DISTNAME= django_stubs_ext-${PORTVERSION} -MAINTAINER= sunpoet@FreeBSD.org +MAINTAINER?= sunpoet@FreeBSD.org COMMENT= Monkey-patching and extensions for django-stubs WWW= https://github.com/typeddjango/django-stubs @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=0:www/py-django42@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django${DJANGO_VERSION}>=0:www/py-django${DJANGO_VERSION}@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} USES= python:3.10+ @@ -22,4 +22,8 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +CONFLICTS_INSTALL?= www/py-dj52-django-stubs-ext + +DJANGO_VERSION?= 42 + .include <bsd.port.mk> |