git: 5247cc697386 - main - www/py-django-soft-delete: New port

From: Michael Gmelin <grembo_at_FreeBSD.org>
Date: Sat, 13 Jul 2024 17:06:49 UTC
The branch main has been updated by grembo:

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

commit 5247cc6973866534d675c902aeb8c8e01ef710a6
Author:     Michael Gmelin <grembo@FreeBSD.org>
AuthorDate: 2024-07-13 17:04:37 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2024-07-13 17:04:37 +0000

    www/py-django-soft-delete: New port
---
 www/Makefile                        |  1 +
 www/py-django-soft-delete/Makefile  | 26 ++++++++++++++++++++++++++
 www/py-django-soft-delete/distinfo  |  3 +++
 www/py-django-soft-delete/pkg-descr |  1 +
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 2e5fefc609a5..4ff62a8605ae 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1565,6 +1565,7 @@
     SUBDIR += py-django-simple-captcha
     SUBDIR += py-django-simple-history
     SUBDIR += py-django-smart-selects
+    SUBDIR += py-django-soft-delete
     SUBDIR += py-django-solo
     SUBDIR += py-django-sortedm2m
     SUBDIR += py-django-star-ratings
diff --git a/www/py-django-soft-delete/Makefile b/www/py-django-soft-delete/Makefile
new file mode 100644
index 000000000000..a418fcc61185
--- /dev/null
+++ b/www/py-django-soft-delete/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	django-soft-delete
+PORTVERSION=	1.0.13
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	grembo@FreeBSD.org
+COMMENT=	Soft delete models, managers, queryset for Django
+WWW=		https://github.com/san4ezy/django_softdelete
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-soft-delete/distinfo b/www/py-django-soft-delete/distinfo
new file mode 100644
index 000000000000..e58198802542
--- /dev/null
+++ b/www/py-django-soft-delete/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1720874784
+SHA256 (django-soft-delete-1.0.13.tar.gz) = 443c00a54c06d236ff8806c3260243d775cc536581d7377c2785080b1041ce1d
+SIZE (django-soft-delete-1.0.13.tar.gz) = 11266
diff --git a/www/py-django-soft-delete/pkg-descr b/www/py-django-soft-delete/pkg-descr
new file mode 100644
index 000000000000..7de7c9bbff50
--- /dev/null
+++ b/www/py-django-soft-delete/pkg-descr
@@ -0,0 +1 @@
+This is a set of small classes to make soft deletion of objects.