Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 19:57:19 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491384 - in head/www: . py-draftjs_exporter
Message-ID:  <201901271957.x0RJvJgv012913@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan 27 19:57:19 2019
New Revision: 491384
URL: https://svnweb.freebsd.org/changeset/ports/491384

Log:
  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

Added:
  head/www/py-draftjs_exporter/
  head/www/py-draftjs_exporter/Makefile   (contents, props changed)
  head/www/py-draftjs_exporter/distinfo   (contents, props changed)
  head/www/py-draftjs_exporter/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sun Jan 27 19:56:17 2019	(r491383)
+++ head/www/Makefile	Sun Jan 27 19:57:19 2019	(r491384)
@@ -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

Added: head/www/py-draftjs_exporter/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-draftjs_exporter/Makefile	Sun Jan 27 19:57:19 2019	(r491384)
@@ -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>

Added: head/www/py-draftjs_exporter/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-draftjs_exporter/distinfo	Sun Jan 27 19:57:19 2019	(r491384)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548505135
+SHA256 (draftjs_exporter-2.1.5.tar.gz) = 8430b6c0f2a1c644ef9959b36f2f36f093f8209b94f81b4443216d3f386a3bce
+SIZE (draftjs_exporter-2.1.5.tar.gz) = 27107

Added: head/www/py-draftjs_exporter/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-draftjs_exporter/pkg-descr	Sun Jan 27 19:57:19 2019	(r491384)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901271957.x0RJvJgv012913>