git: 52b4ab33fb47 - main - www/py-dj51-django-celery-results: New port

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Mon, 05 May 2025 18:02:02 UTC
The branch main has been updated by grembo:

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

commit 52b4ab33fb4796f298b7e4d5214c88b2af787a15
Author:     Sebastian <sko@rostwald.de>
AuthorDate: 2025-05-05 15:39:03 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2025-05-05 18:01:34 +0000

    www/py-dj51-django-celery-results: New port
    
    Clone of existing port for Django 5.1.
    
    PR:             286533
---
 www/Makefile                                |  1 +
 www/py-dj51-django-celery-results/Makefile  | 21 +++++++++++++++++++++
 www/py-dj51-django-celery-results/distinfo  |  3 +++
 www/py-dj51-django-celery-results/pkg-descr |  6 ++++++
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 3ca63655a058..2d3fc25ef7c5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1540,6 +1540,7 @@
     SUBDIR += py-dj51-django-allauth
     SUBDIR += py-dj51-django-auditlog
     SUBDIR += py-dj51-django-auth-ldap
+    SUBDIR += py-dj51-django-celery-results
     SUBDIR += py-dj51-django-choices-field
     SUBDIR += py-dj51-django-cors-headers
     SUBDIR += py-dj51-django-debug-toolbar
diff --git a/www/py-dj51-django-celery-results/Makefile b/www/py-dj51-django-celery-results/Makefile
new file mode 100644
index 000000000000..250b0a9013e8
--- /dev/null
+++ b/www/py-dj51-django-celery-results/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	django-celery-results
+PORTVERSION=	2.6.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}dj51-
+DISTNAME=	${PORTNAME:S/-/_/g}-${PORTVERSION}
+
+MAINTAINER=	grembo@FreeBSD.org
+COMMENT=	Celery result backends for django
+WWW=		https://github.com/celery/django-celery-results
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django51>=5.1:www/py-django51@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}celery>=5.3.6:devel/py-celery@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/www/py-dj51-django-celery-results/distinfo b/www/py-dj51-django-celery-results/distinfo
new file mode 100644
index 000000000000..9f7f11775c75
--- /dev/null
+++ b/www/py-dj51-django-celery-results/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1746372914
+SHA256 (django_celery_results-2.6.0.tar.gz) = 9abcd836ae6b61063779244d8887a88fe80bbfaba143df36d3cb07034671277c
+SIZE (django_celery_results-2.6.0.tar.gz) = 83985
diff --git a/www/py-dj51-django-celery-results/pkg-descr b/www/py-dj51-django-celery-results/pkg-descr
new file mode 100644
index 000000000000..da24ab97a379
--- /dev/null
+++ b/www/py-dj51-django-celery-results/pkg-descr
@@ -0,0 +1,6 @@
+Celery Result Backends using the Django ORM/Cache framework.
+
+This extension enables you to store Celery task results using the Django
+ORM. It defines a single model (django_celery_results.models.TaskResult)
+used to store task results, and you can query this database table like any
+other Django model.