Add py-draftjs_exporter 2.1.5

Draft.js exporter is a library to convert rich text from Draft.js raw
ContentState to HTML.

It is developed alongside the Draftail rich text editor, for Wagtail.

Draft.js is a rich text editor framework for React. Its approach is different
from most rich text editors because it does not store data as HTML, but rather
in its own representation called ContentState. This exporter is useful when the
ContentState to HTML conversion has to be done in a Python ecosystem.

WWW: https://github.com/springload/draftjs_exporter
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-01-27 19:57:19 +00:00
parent 7d3f815458
commit e0b9ea5f4e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491384
4 changed files with 36 additions and 0 deletions

View file

@ -1621,6 +1621,7 @@
SUBDIR += py-djangorestframework36
SUBDIR += py-djangotoolbox
SUBDIR += py-dojango
SUBDIR += py-draftjs_exporter
SUBDIR += py-drf-yasg
SUBDIR += py-dtflickr
SUBDIR += py-evernote

View file

@ -0,0 +1,21 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= draftjs_exporter
PORTVERSION= 2.1.5
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library to convert rich text from Draft.js raw ContentState to HTML
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1548505135
SHA256 (draftjs_exporter-2.1.5.tar.gz) = 8430b6c0f2a1c644ef9959b36f2f36f093f8209b94f81b4443216d3f386a3bce
SIZE (draftjs_exporter-2.1.5.tar.gz) = 27107

View file

@ -0,0 +1,11 @@
Draft.js exporter is a library to convert rich text from Draft.js raw
ContentState to HTML.
It is developed alongside the Draftail rich text editor, for Wagtail.
Draft.js is a rich text editor framework for React. Its approach is different
from most rich text editors because it does not store data as HTML, but rather
in its own representation called ContentState. This exporter is useful when the
ContentState to HTML conversion has to be done in a Python ecosystem.
WWW: https://github.com/springload/draftjs_exporter