aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:14:58 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-03-23 14:30:37 +0000
commitd2d6ac7c5cab14ab1ac6eb6152e3a54cdc02c0ba (patch)
tree7c1af341abd85141099023af041c4780eb85fcb0
parentd3d94c5f0af3b061232b0c69bc06b47a0f9dff3e (diff)
downloadports-d2d6ac7c5cab14ab1ac6eb6152e3a54cdc02c0ba.tar.gz
ports-d2d6ac7c5cab14ab1ac6eb6152e3a54cdc02c0ba.zip
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.
-rw-r--r--www/Makefile1
-rw-r--r--www/py-django-unfold/Makefile24
-rw-r--r--www/py-django-unfold/distinfo3
-rw-r--r--www/py-django-unfold/pkg-descr3
4 files changed, 31 insertions, 0 deletions
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.