aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2021-04-20 17:17:57 +0000
committerDan Langille <dvl@FreeBSD.org>2021-04-20 17:56:04 +0000
commitc02c79f7313c1d9b27fd21ec815666042b9d5bb6 (patch)
treefc82e5d705792463bb42207dceb1575d6fb31c27
parentfbb4f5c70c898e07d8c0fd7389579f2bc14015c5 (diff)
downloadports-c02c79f7313c1d9b27fd21ec815666042b9d5bb6.tar.gz
ports-c02c79f7313c1d9b27fd21ec815666042b9d5bb6.zip
Add www/py-django-ckeditor - CKEditor 5 for Django >= 2.0
PR: 254833 Reported by: gettoknowmi <gettoknowmi@yahoo.com>
-rw-r--r--www/Makefile1
-rw-r--r--www/py-django-ckeditor-5/Makefile18
-rw-r--r--www/py-django-ckeditor-5/distinfo3
-rw-r--r--www/py-django-ckeditor-5/pkg-descr10
4 files changed, 32 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 262e6e9a3515..dd0baed80688 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1469,6 +1469,7 @@
SUBDIR += py-django-bulk-update
SUBDIR += py-django-cacheops
SUBDIR += py-django-classy-tags
+ SUBDIR += py-django-ckeditor-5
SUBDIR += py-django-cms
SUBDIR += py-django-common-helpers
SUBDIR += py-django-compat
diff --git a/www/py-django-ckeditor-5/Makefile b/www/py-django-ckeditor-5/Makefile
new file mode 100644
index 000000000000..f8c05d28d1b5
--- /dev/null
+++ b/www/py-django-ckeditor-5/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= django-ckeditor-5
+PORTVERSION= 0.0.13
+CATEGORIES= www editors
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gettoknowmi@yahoo.com
+COMMENT= Django ckeditor-5
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-django-ckeditor-5/distinfo b/www/py-django-ckeditor-5/distinfo
new file mode 100644
index 000000000000..f9b082048b5d
--- /dev/null
+++ b/www/py-django-ckeditor-5/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618935386
+SHA256 (django-ckeditor-5-0.0.13.tar.gz) = 8f5ebaeec2639ce1b4c39da176bc62aca237d892b900d1d7fa32250be0bcaaa3
+SIZE (django-ckeditor-5-0.0.13.tar.gz) = 1479279
diff --git a/www/py-django-ckeditor-5/pkg-descr b/www/py-django-ckeditor-5/pkg-descr
new file mode 100644
index 000000000000..0da552d47e2b
--- /dev/null
+++ b/www/py-django-ckeditor-5/pkg-descr
@@ -0,0 +1,10 @@
+Add to your models.py:
+
+from django.db import models
+from django_ckeditor_5.fields import CKEditor5Field
+
+ class Article(models.Model):
+ title=models.CharField('Title', max_length=200)
+ text=CKEditor5Field('Text', config_name='extends')
+
+WWW: https://github.com/hvlads/django-ckeditor-5