git: f28d958f230f - main - www/py-django-mptt: Update to 0.15.0

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Mon, 20 Nov 2023 11:26:07 UTC
The branch main has been updated by kai:

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

commit f28d958f230f338d3e27b75e47755356891f5f7e
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-11-20 11:22:06 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-11-20 11:25:44 +0000

    www/py-django-mptt: Update to 0.15.0
    
    * Support for Python 3.8 was dropped with this release
    
    * Switch to PEP517 build framework.
    
    Changelog:
    
    https://github.com/django-mptt/django-mptt/blob/0.15/CHANGELOG.rst
---
 www/py-django-mptt/Makefile | 8 +++++---
 www/py-django-mptt/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/www/py-django-mptt/Makefile b/www/py-django-mptt/Makefile
index 05e9c5319b54..89cc54a6cd02 100644
--- a/www/py-django-mptt/Makefile
+++ b/www/py-django-mptt/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	django-mptt
-PORTVERSION=	0.14.0
+PORTVERSION=	0.15.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	django_mptt-${PORTVERSION}
 
 MAINTAINER=	kai@FreeBSD.org
 COMMENT=	Utilities for implementing Modified Preorder Tree Traversal in Django
@@ -11,11 +12,12 @@ WWW=		https://github.com/django-mptt/django-mptt
 LICENSE=	MIT
 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}\
 		${PYTHON_PKGNAMEPREFIX}django-js-asset>0:www/py-django-js-asset@${PY_FLAVOR}
 
-USES=		python
-USE_PYTHON=	autoplist distutils
+USES=		python:3.9+
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=		yes
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
diff --git a/www/py-django-mptt/distinfo b/www/py-django-mptt/distinfo
index 0b87dc868083..146567e9ffec 100644
--- a/www/py-django-mptt/distinfo
+++ b/www/py-django-mptt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665308477
-SHA256 (django-mptt-0.14.0.tar.gz) = 2c92a2b1614c53086278795ccf50580cf1f9b8564f3ff03055dd62bab5987711
-SIZE (django-mptt-0.14.0.tar.gz) = 103453
+TIMESTAMP = 1696851900
+SHA256 (django_mptt-0.15.0.tar.gz) = 0df19d5a55f34e73df58ee03fbe0d91807493de4bd3a09f6eb00fc62920035d9
+SIZE (django_mptt-0.15.0.tar.gz) = 69646