Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2025 20:33:26 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b36bee780b0b - main - www/py-dj50-django-prometheus: Remove expired port
Message-ID:  <202506012033.551KXQVA022900@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by rene:

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

commit b36bee780b0b95901616245e063d73c2e5cb6e75
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-06-01 20:33:22 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-06-01 20:33:22 +0000

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

diff --git a/MOVED b/MOVED
index e32802b00146..785f9cdd7686 100644
--- a/MOVED
+++ b/MOVED
@@ -4441,3 +4441,4 @@ www/py-dj50-django-choices-field|www/py-dj51-django-choices-field|2025-06-01|Has
 www/py-dj50-django-rich|www/py-dj51-django-rich|2025-06-01|Has expired: Extended support of Django 5.0 ends April 2025, upgrade to the Django 5.1+ version of this port. See https://www.djangoproject.com/download/
 www/py-dj50-django-cors-headers|www/py-dj51-django-cors-headers|2025-06-01|Has expired: Extended support of Django 5.0 ends April 2025, upgrade to the Django 5.1+ version of this port. See https://www.djangoproject.com/download/
 www/py-dj50-django-tree-queries||2025-06-01|Has expired: Extended support of Django 5.0 ends April 2025. See https://www.djangoproject.com/download/
+www/py-dj50-django-prometheus|www/py-dj51-django-prometheus|2025-06-01|Has expired: Extended support of Django 5.0 ends April 2025, upgrade to the Django 5.1+ version of this port. See https://www.djangoproject.com/download/
diff --git a/www/Makefile b/www/Makefile
index e9a62d84557a..761c97414c39 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1520,7 +1520,6 @@
     SUBDIR += py-dj50-django-htmx
     SUBDIR += py-dj50-django-js-asset
     SUBDIR += py-dj50-django-mptt
-    SUBDIR += py-dj50-django-prometheus
     SUBDIR += py-dj50-django-redis
     SUBDIR += py-dj50-django-timezone-field
     SUBDIR += py-dj51-channels
diff --git a/www/py-dj50-django-prometheus/Makefile b/www/py-dj50-django-prometheus/Makefile
deleted file mode 100644
index 8551fd6c7309..000000000000
--- a/www/py-dj50-django-prometheus/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-PORTNAME=	django-prometheus
-PORTVERSION=	2.3.1
-PORTREVISION=	1
-CATEGORIES=	www python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj50-
-
-MAINTAINER=	kai@FreeBSD.org
-COMMENT=	Export Django monitoring metrics for Prometheus.io
-WWW=		https://github.com/korfuri/django-prometheus
-
-LICENSE=	APACHE20
-
-DEPRECATED=	Extended support of Django 5.0 ends April 2025, upgrade to the Django 5.1+ version of this port. See https://www.djangoproject.com/download/
-EXPIRATION_DATE=2025-05-31
-
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0.40.0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django50>=3.2:www/py-django50@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.7:net-mgmt/py-prometheus-client@${PY_FLAVOR}
-
-USES=		python:3.10+
-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}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
-REDIS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dj50-django-redis>=4.8:www/py-dj50-django-redis@${PY_FLAVOR}
-
-.include <bsd.port.mk>
diff --git a/www/py-dj50-django-prometheus/distinfo b/www/py-dj50-django-prometheus/distinfo
deleted file mode 100644
index 4f11977cb57e..000000000000
--- a/www/py-dj50-django-prometheus/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1683262385
-SHA256 (django-prometheus-2.3.1.tar.gz) = f9c8b6c780c9419ea01043c63a437d79db2c33353451347894408184ad9c3e1e
-SIZE (django-prometheus-2.3.1.tar.gz) = 24718
diff --git a/www/py-dj50-django-prometheus/files/patch-pyproject.toml b/www/py-dj50-django-prometheus/files/patch-pyproject.toml
deleted file mode 100644
index 5bf778c4f9e3..000000000000
--- a/www/py-dj50-django-prometheus/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
-Relax version requirements of py-setuptools.
-
---- pyproject.toml.orig	2024-10-06 12:58:05 UTC
-+++ pyproject.toml
-@@ -1,5 +1,5 @@
- [build-system]
--requires = [ "setuptools >= 67.7.2", "wheel >= 0.40.0"]
-+requires = [ "setuptools", "wheel >= 0.40.0"]
- build-backend = "setuptools.build_meta"
- 
- [tool.pytest.ini_options]
diff --git a/www/py-dj50-django-prometheus/files/patch-setup.py b/www/py-dj50-django-prometheus/files/patch-setup.py
deleted file mode 100644
index 6e28293ebe58..000000000000
--- a/www/py-dj50-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-dj50-django-prometheus/pkg-descr b/www/py-dj50-django-prometheus/pkg-descr
deleted file mode 100644
index 0962e7b87336..000000000000
--- a/www/py-dj50-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.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506012033.551KXQVA022900>