git: 7ad6ae61e1fd - main - www/py-dj51-django-prometheus: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Wed, 31 Dec 2025 11:15:01 UTC
The branch main has been updated by rene:

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

commit 7ad6ae61e1fd48638f3e283c09851800331ce5f7
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-12-31 11:14:54 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-12-31 11:14:54 +0000

    www/py-dj51-django-prometheus: Remove expired port
    
    2025-12-31 www/py-dj51-django-prometheus: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
---
 MOVED                                              |  1 +
 www/Makefile                                       |  1 -
 www/py-dj51-django-prometheus/Makefile             | 42 ----------------------
 www/py-dj51-django-prometheus/distinfo             |  3 --
 .../files/patch-pyproject.toml                     | 11 ------
 www/py-dj51-django-prometheus/files/patch-setup.py | 13 -------
 www/py-dj51-django-prometheus/pkg-descr            | 14 --------
 7 files changed, 1 insertion(+), 84 deletions(-)

diff --git a/MOVED b/MOVED
index d40fbbcc50a1..9392f390a6de 100644
--- a/MOVED
+++ b/MOVED
@@ -4928,3 +4928,4 @@ www/py-dj51-django-rich||2025-12-31|Has expired: Extended support of Django 5.1
 www/py-dj51-django-js-asset||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
 www/py-dj51-social-auth-app-django||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
 www/py-dj51-django-redis||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
+www/py-dj51-django-prometheus||2025-12-31|Has expired: Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
diff --git a/www/Makefile b/www/Makefile
index 503075066364..a79eccef1e8c 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1553,7 +1553,6 @@
     SUBDIR += py-dj51-django-debug-toolbar
     SUBDIR += py-dj51-django-guardian
     SUBDIR += py-dj51-django-htmx
-    SUBDIR += py-dj51-django-prometheus
     SUBDIR += py-dj51-django-tables2
     SUBDIR += py-dj51-django-timezone-field
     SUBDIR += py-dj51-djangorestframework
diff --git a/www/py-dj51-django-prometheus/Makefile b/www/py-dj51-django-prometheus/Makefile
deleted file mode 100644
index 9b7a7fe4499e..000000000000
--- a/www/py-dj51-django-prometheus/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-PORTNAME=	django-prometheus
-DISTVERSION=	2.4.1
-CATEGORIES=	www python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj51-
-DISTNAME=	django_prometheus-${DISTVERSION}
-
-MAINTAINER=	kai@FreeBSD.org
-COMMENT=	Export Django monitoring metrics for Prometheus.io
-WWW=		https://github.com/django-commons/django-prometheus
-
-LICENSE=	APACHE20
-
-DEPRECATED=	Extended support of Django 5.1 ends December 2025, upgrade to the Django 5.2+ version of this port. See https://www.djangoproject.com/download/
-EXPIRATION_DATE=2025-12-31
-
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=4.2<6.0:www/py-django51@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR}
-
-USES=		python
-USE_PYTHON=	autoplist pep517 pytest
-
-TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
-
-NO_ARCH=		yes
-
-OPTIONS_GROUP=		DATABASE CACHE
-OPTIONS_GROUP_CACHE=	MEMCACHED REDIS
-OPTIONS_GROUP_DATABASE=	MYSQL PGSQL
-
-MEMCACHED_DESC=		Memcached distributed memory caching support
-
-MEMCACHED_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR}
-MYSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR}
-PGSQL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}psycopg>=0:databases/py-psycopg@${PY_FLAVOR}
-REDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj51-django-redis>=4.12.1:www/py-dj51-django-redis@${PY_FLAVOR}
-
-.include <bsd.port.mk>
diff --git a/www/py-dj51-django-prometheus/distinfo b/www/py-dj51-django-prometheus/distinfo
deleted file mode 100644
index a97af1466c0e..000000000000
--- a/www/py-dj51-django-prometheus/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1751183595
-SHA256 (django_prometheus-2.4.1.tar.gz) = 073628243d2a6de6a8a8c20e5b512872dfb85d66e1b60b28bcf1eca0155dad95
-SIZE (django_prometheus-2.4.1.tar.gz) = 24464
diff --git a/www/py-dj51-django-prometheus/files/patch-pyproject.toml b/www/py-dj51-django-prometheus/files/patch-pyproject.toml
deleted file mode 100644
index 31ac1775bdb0..000000000000
--- a/www/py-dj51-django-prometheus/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
-Relax version requirements of py-setuptools.
-
---- pyproject.toml.orig	2025-06-18 18:06:03 UTC
-+++ pyproject.toml
-@@ -1,5 +1,5 @@
- [build-system]
--requires = ["setuptools >= 67.7.2, < 72.0.0", "wheel >= 0.40.0"]
-+requires = ["setuptools", "wheel >= 0.40.0"]
- build-backend = "setuptools.build_meta"
- 
- [tool.pytest.ini_options]
diff --git a/www/py-dj51-django-prometheus/files/patch-setup.py b/www/py-dj51-django-prometheus/files/patch-setup.py
deleted file mode 100644
index 6e28293ebe58..000000000000
--- a/www/py-dj51-django-prometheus/files/patch-setup.py
+++ /dev/null
@@ -1,13 +0,0 @@
-Remove py-pytest-runner as build time dependency because it is deprecated and
-should be no longer used.
-
---- setup.py.orig	2024-10-01 12:41:04 UTC
-+++ setup.py
-@@ -40,7 +40,6 @@ setup(
-     long_description=LONG_DESCRIPTION,
-     long_description_content_type="text/markdown",
-     tests_require=["pytest", "pytest-django"],
--    setup_requires=["pytest-runner"],
-     options={"bdist_wheel": {"universal": "1"}},
-     install_requires=[
-         "prometheus-client>=0.7",
diff --git a/www/py-dj51-django-prometheus/pkg-descr b/www/py-dj51-django-prometheus/pkg-descr
deleted file mode 100644
index 0962e7b87336..000000000000
--- a/www/py-dj51-django-prometheus/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-This library exports Django monitoring metrics for Prometheus.io.
-
-It provides support to monitor the following databases types:
-
-* SQLite (via Django)
-* PostgreSQL
-* MySQL
-
-In addition, caches can also be monitored:
-
-* memcached
-* Redis
-
-It's even possible to export metrics of Django models and migrations.