git: 129424969d43 - main - www/py-dj41-django-prometheus: Update to 2.3.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 02 Jun 2023 16:19:51 UTC
The branch main has been updated by kai:

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

commit 129424969d439d88ca43d6621df8507caea9bdb4
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-06-02 15:56:20 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-06-02 16:19:23 +0000

    www/py-dj41-django-prometheus: Update to 2.3.1
    
    * Hook up test suite while I'm here.
    
    Changelog since 2.2.0:
    
    https://github.com/korfuri/django-prometheus/blob/v2.3.1/CHANGELOG.md
    
    MFH:            No (doesn't match version requirement of NetBox 3.4.10)
---
 www/py-dj41-django-prometheus/Makefile | 8 +++++---
 www/py-dj41-django-prometheus/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/www/py-dj41-django-prometheus/Makefile b/www/py-dj41-django-prometheus/Makefile
index 635cb4219692..1108b980eb07 100644
--- a/www/py-dj41-django-prometheus/Makefile
+++ b/www/py-dj41-django-prometheus/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	django-prometheus
-PORTVERSION=	2.2.0
+PORTVERSION=	2.3.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj41-
@@ -11,11 +11,13 @@ WWW=		https://github.com/korfuri/django-prometheus
 LICENSE=	APACHE20
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django41>=2.2:www/py-django41@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django41>=3.2:www/py-django41@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR}
 
 USES=		python:3.8+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist distutils pytest
+
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 
 CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
 
diff --git a/www/py-dj41-django-prometheus/distinfo b/www/py-dj41-django-prometheus/distinfo
index 65dd0e40195c..4f11977cb57e 100644
--- a/www/py-dj41-django-prometheus/distinfo
+++ b/www/py-dj41-django-prometheus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641495767
-SHA256 (django-prometheus-2.2.0.tar.gz) = 240378a1307c408bd5fc85614a3a57f1ce633d4a222c9e291e2bbf325173b801
-SIZE (django-prometheus-2.2.0.tar.gz) = 24995
+TIMESTAMP = 1683262385
+SHA256 (django-prometheus-2.3.1.tar.gz) = f9c8b6c780c9419ea01043c63a437d79db2c33353451347894408184ad9c3e1e
+SIZE (django-prometheus-2.3.1.tar.gz) = 24718