git: 1e48c962a7d4 - main - www/py-django-crispy-forms: Add PORTSCOUT

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 16 Oct 2023 16:01:38 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1e48c962a7d457d40c8b4b601b2cfe53118bacb3

commit 1e48c962a7d457d40c8b4b601b2cfe53118bacb3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-16 15:19:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-16 15:59:54 +0000

    www/py-django-crispy-forms: Add PORTSCOUT
    
    py-django-crispy-forms 2.1 requires Django 4.2, therefore we postpone this
    update until py-django42 is the default version.
---
 www/py-django-crispy-forms/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/www/py-django-crispy-forms/Makefile b/www/py-django-crispy-forms/Makefile
index 058af5080079..b74eff8b5e9a 100644
--- a/www/py-django-crispy-forms/Makefile
+++ b/www/py-django-crispy-forms/Makefile
@@ -11,7 +11,7 @@ WWW=		https://github.com/django-crispy-forms/django-crispy-forms
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=0:www/py-django32@${PY_FLAVOR}
 
@@ -22,4 +22,6 @@ NO_ARCH=	yes
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}dj22-django-crispy-forms
 
+PORTSCOUT=	skipv:2.1
+
 .include <bsd.port.mk>