git: c02c79f7313c - main - Add www/py-django-ckeditor - CKEditor 5 for Django >= 2.0 PR: 254833 Reported by: gettoknowmi <gettoknowmi at yahoo.com>
Dan Langille
dvl at FreeBSD.org
Tue Apr 20 17:56:12 UTC 2021
The branch main has been updated by dvl:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c02c79f7313c1d9b27fd21ec815666042b9d5bb6
commit c02c79f7313c1d9b27fd21ec815666042b9d5bb6
Author: Dan Langille <dvl at FreeBSD.org>
AuthorDate: 2021-04-20 17:17:57 +0000
Commit: Dan Langille <dvl at FreeBSD.org>
CommitDate: 2021-04-20 17:56:04 +0000
Add www/py-django-ckeditor - CKEditor 5 for Django >= 2.0
PR: 254833
Reported by: gettoknowmi <gettoknowmi at yahoo.com>
---
www/Makefile | 1 +
www/py-django-ckeditor-5/Makefile | 18 ++++++++++++++++++
www/py-django-ckeditor-5/distinfo | 3 +++
www/py-django-ckeditor-5/pkg-descr | 10 ++++++++++
4 files changed, 32 insertions(+)
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 at 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
More information about the dev-commits-ports-all
mailing list