git: d2d6ac7c5cab - main - www/py-django-unfold: Add py-django-unfold 0.21.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 14:57:53 UTC
The branch main has been updated by sunpoet:

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

commit d2d6ac7c5cab14ab1ac6eb6152e3a54cdc02c0ba
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:14:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:30:37 +0000

    www/py-django-unfold: Add py-django-unfold 0.21.1
    
    Unfold is theme for Django admin incorporating most common practises for
    building full-fledged admin areas. It is designed to work at the top of default
    administration provided by Django.
---
 www/Makefile                   |  1 +
 www/py-django-unfold/Makefile  | 24 ++++++++++++++++++++++++
 www/py-django-unfold/distinfo  |  3 +++
 www/py-django-unfold/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index f99fca62f6e4..80060a3c1ab2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1623,6 +1623,7 @@
     SUBDIR += py-django-timezone-field
     SUBDIR += py-django-tinymce
     SUBDIR += py-django-treebeard
+    SUBDIR += py-django-unfold
     SUBDIR += py-django-voting
     SUBDIR += py-django-webpack-loader
     SUBDIR += py-django-widget-tweaks
diff --git a/www/py-django-unfold/Makefile b/www/py-django-unfold/Makefile
new file mode 100644
index 000000000000..ee8e182e3e58
--- /dev/null
+++ b/www/py-django-unfold/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	django-unfold
+PORTVERSION=	0.21.1
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	django_unfold-${PORTVERSION}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Modern Django admin theme for seamless interface development
+WWW=		https://unfoldadmin.com/ \
+		https://github.com/unfoldadmin/django-unfold
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django32>=3.2:www/py-django32@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-unfold/distinfo b/www/py-django-unfold/distinfo
new file mode 100644
index 000000000000..4d13da354fc4
--- /dev/null
+++ b/www/py-django-unfold/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1710712306
+SHA256 (django_unfold-0.21.1.tar.gz) = 7d1cf016c90801cce8dc9365dbc5dcdfc00828b6e01185eed5fd263897f71263
+SIZE (django_unfold-0.21.1.tar.gz) = 801337
diff --git a/www/py-django-unfold/pkg-descr b/www/py-django-unfold/pkg-descr
new file mode 100644
index 000000000000..bf9457ac08a5
--- /dev/null
+++ b/www/py-django-unfold/pkg-descr
@@ -0,0 +1,3 @@
+Unfold is theme for Django admin incorporating most common practises for
+building full-fledged admin areas. It is designed to work at the top of default
+administration provided by Django.