git: 9090bf93b62d - main - www/py-django-prometheus: Update to 2.3.1

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Fri, 05 May 2023 05:47:02 UTC
The branch main has been updated by kai:

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

commit 9090bf93b62df6fc9a837121bd96e5186a9c6ffb
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2023-05-05 05:43:54 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2023-05-05 05:43:54 +0000

    www/py-django-prometheus: Update to 2.3.1
    
    * Add test suite while I'm here.
    
    Changelog since 2.2.0:
    
    https://github.com/korfuri/django-prometheus/blob/v2.3.1/CHANGELOG.md
---
 www/py-django-prometheus/Makefile | 9 +++++----
 www/py-django-prometheus/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/www/py-django-prometheus/Makefile b/www/py-django-prometheus/Makefile
index cdaa2e58a29e..bd7399df66d8 100644
--- a/www/py-django-prometheus/Makefile
+++ b/www/py-django-prometheus/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	django-prometheus
-PORTVERSION=	2.2.0
-PORTREVISION=	1
+PORTVERSION=	2.3.1
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,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}django32>=2.2:www/py-django32@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR}
 
 USES=		python:3.6+
-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-django-prometheus/distinfo b/www/py-django-prometheus/distinfo
index 65dd0e40195c..4f11977cb57e 100644
--- a/www/py-django-prometheus/distinfo
+++ b/www/py-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