git: eda76e395c17 - main - www/py-django-bootstrap3: Update to 23.4

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sat, 28 Oct 2023 04:38:29 UTC
The branch main has been updated by kai:

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

commit eda76e395c17444edd58d057ad5d5ce0152377bd
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-10-28 04:30:35 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-10-28 04:34:07 +0000

    www/py-django-bootstrap3: Update to 23.4
    
    * Switch to PEP517 build framework.
    
    Changelog since 15.0.0:
    
    https://github.com/zostera/django-bootstrap3/blob/v23.4/CHANGELOG.md
---
 www/py-django-bootstrap3/Makefile | 10 +++++++---
 www/py-django-bootstrap3/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/www/py-django-bootstrap3/Makefile b/www/py-django-bootstrap3/Makefile
index d8374bd48700..75cc8dcfa19d 100644
--- a/www/py-django-bootstrap3/Makefile
+++ b/www/py-django-bootstrap3/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	django-bootstrap3
-PORTVERSION=	15.0.0
-PORTREVISION=	1
+PORTVERSION=	23.4
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	django_bootstrap3-${PORTVERSION}
 
 MAINTAINER=	kai@FreeBSD.org
 COMMENT=	Bootstrap 3 support for Django projects
@@ -12,13 +12,17 @@ WWW=		https://github.com/zostera/django-bootstrap3
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=2.2:www/py-django32@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
+post-extract:
+	@${FIND} ${WRKSRC}/src -name ".DS_Store" -delete
+
 do-test:
 	@cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} manage.py test -v3 --noinput
 
diff --git a/www/py-django-bootstrap3/distinfo b/www/py-django-bootstrap3/distinfo
index 7f5bd44152e2..884289dc28bc 100644
--- a/www/py-django-bootstrap3/distinfo
+++ b/www/py-django-bootstrap3/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1624956739
-SHA256 (django-bootstrap3-15.0.0.tar.gz) = f803efd5605046b8f467523dbe94653a4a8d6bcf97ad480b386ba5cf8f94fe6b
-SIZE (django-bootstrap3-15.0.0.tar.gz) = 132313
+TIMESTAMP = 1696852120
+SHA256 (django_bootstrap3-23.4.tar.gz) = 975e6017bb25b29a86416c4fbac6020f15bfd36d66861f42a20dd4ccfdab435d
+SIZE (django_bootstrap3-23.4.tar.gz) = 19664