summaryrefslogtreecommitdiff
path: root/www/py-draftjs_exporter
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-08-03 23:57:49 +0000
committerjoerg <joerg@pkgsrc.org>2020-08-03 23:57:49 +0000
commit5c46320c851e0d4e212078b261c3cdca330b6427 (patch)
tree467e8fe168e17bf220abc11a577698bc52bcf816 /www/py-draftjs_exporter
parent88bc8a4c23c4610d0ad4c8a2f11db8f56d05af22 (diff)
downloadpkgsrc-5c46320c851e0d4e212078b261c3cdca330b6427.tar.gz
Add py-draftjs_exporter-4.1.0:
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.
Diffstat (limited to 'www/py-draftjs_exporter')
-rw-r--r--www/py-draftjs_exporter/DESCR5
-rw-r--r--www/py-draftjs_exporter/Makefile23
-rw-r--r--www/py-draftjs_exporter/PLIST68
-rw-r--r--www/py-draftjs_exporter/distinfo6
4 files changed, 102 insertions, 0 deletions
diff --git a/www/py-draftjs_exporter/DESCR b/www/py-draftjs_exporter/DESCR
new file mode 100644
index 00000000000..06f8df84ba6
--- /dev/null
+++ b/www/py-draftjs_exporter/DESCR
@@ -0,0 +1,5 @@
+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.
diff --git a/www/py-draftjs_exporter/Makefile b/www/py-draftjs_exporter/Makefile
new file mode 100644
index 00000000000..dd6b25b373a
--- /dev/null
+++ b/www/py-draftjs_exporter/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2020/08/03 23:57:49 joerg Exp $
+
+DISTNAME= draftjs_exporter-4.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=springload/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/springload/draftjs_exporter
+COMMENT= Library to convert Draft.js raw ContentState to HTML
+LICENSE= mit
+
+GITHUB_PROJECT= draftjs_exporter
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+DEPENDS+= ${PYPKGPREFIX}-lxml>=4.2.0<5:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.4<4.9.2:../../www/py-beautifulsoup4
+DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999<1.0.2:../../textproc/py-html5lib
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-draftjs_exporter/PLIST b/www/py-draftjs_exporter/PLIST
new file mode 100644
index 00000000000..ce86640954c
--- /dev/null
+++ b/www/py-draftjs_exporter/PLIST
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1 2020/08/03 23:57:49 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/draftjs_exporter/__init__.py
+${PYSITELIB}/draftjs_exporter/__init__.pyc
+${PYSITELIB}/draftjs_exporter/__init__.pyo
+${PYSITELIB}/draftjs_exporter/command.py
+${PYSITELIB}/draftjs_exporter/command.pyc
+${PYSITELIB}/draftjs_exporter/command.pyo
+${PYSITELIB}/draftjs_exporter/composite_decorators.py
+${PYSITELIB}/draftjs_exporter/composite_decorators.pyc
+${PYSITELIB}/draftjs_exporter/composite_decorators.pyo
+${PYSITELIB}/draftjs_exporter/constants.py
+${PYSITELIB}/draftjs_exporter/constants.pyc
+${PYSITELIB}/draftjs_exporter/constants.pyo
+${PYSITELIB}/draftjs_exporter/defaults.py
+${PYSITELIB}/draftjs_exporter/defaults.pyc
+${PYSITELIB}/draftjs_exporter/defaults.pyo
+${PYSITELIB}/draftjs_exporter/dom.py
+${PYSITELIB}/draftjs_exporter/dom.pyc
+${PYSITELIB}/draftjs_exporter/dom.pyo
+${PYSITELIB}/draftjs_exporter/engines/__init__.py
+${PYSITELIB}/draftjs_exporter/engines/__init__.pyc
+${PYSITELIB}/draftjs_exporter/engines/__init__.pyo
+${PYSITELIB}/draftjs_exporter/engines/base.py
+${PYSITELIB}/draftjs_exporter/engines/base.pyc
+${PYSITELIB}/draftjs_exporter/engines/base.pyo
+${PYSITELIB}/draftjs_exporter/engines/html5lib.py
+${PYSITELIB}/draftjs_exporter/engines/html5lib.pyc
+${PYSITELIB}/draftjs_exporter/engines/html5lib.pyo
+${PYSITELIB}/draftjs_exporter/engines/lxml.py
+${PYSITELIB}/draftjs_exporter/engines/lxml.pyc
+${PYSITELIB}/draftjs_exporter/engines/lxml.pyo
+${PYSITELIB}/draftjs_exporter/engines/string.py
+${PYSITELIB}/draftjs_exporter/engines/string.pyc
+${PYSITELIB}/draftjs_exporter/engines/string.pyo
+${PYSITELIB}/draftjs_exporter/entity_state.py
+${PYSITELIB}/draftjs_exporter/entity_state.pyc
+${PYSITELIB}/draftjs_exporter/entity_state.pyo
+${PYSITELIB}/draftjs_exporter/error.py
+${PYSITELIB}/draftjs_exporter/error.pyc
+${PYSITELIB}/draftjs_exporter/error.pyo
+${PYSITELIB}/draftjs_exporter/html.py
+${PYSITELIB}/draftjs_exporter/html.pyc
+${PYSITELIB}/draftjs_exporter/html.pyo
+${PYSITELIB}/draftjs_exporter/options.py
+${PYSITELIB}/draftjs_exporter/options.pyc
+${PYSITELIB}/draftjs_exporter/options.pyo
+${PYSITELIB}/draftjs_exporter/py.typed
+${PYSITELIB}/draftjs_exporter/style_state.py
+${PYSITELIB}/draftjs_exporter/style_state.pyc
+${PYSITELIB}/draftjs_exporter/style_state.pyo
+${PYSITELIB}/draftjs_exporter/types.py
+${PYSITELIB}/draftjs_exporter/types.pyc
+${PYSITELIB}/draftjs_exporter/types.pyo
+${PYSITELIB}/draftjs_exporter/utils/__init__.py
+${PYSITELIB}/draftjs_exporter/utils/__init__.pyc
+${PYSITELIB}/draftjs_exporter/utils/__init__.pyo
+${PYSITELIB}/draftjs_exporter/utils/module_loading.py
+${PYSITELIB}/draftjs_exporter/utils/module_loading.pyc
+${PYSITELIB}/draftjs_exporter/utils/module_loading.pyo
+${PYSITELIB}/draftjs_exporter/wrapper_state.py
+${PYSITELIB}/draftjs_exporter/wrapper_state.pyc
+${PYSITELIB}/draftjs_exporter/wrapper_state.pyo
diff --git a/www/py-draftjs_exporter/distinfo b/www/py-draftjs_exporter/distinfo
new file mode 100644
index 00000000000..1de6be33991
--- /dev/null
+++ b/www/py-draftjs_exporter/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/08/03 23:57:49 joerg Exp $
+
+SHA1 (draftjs_exporter-4.1.0.tar.gz) = 01aab07cad1d6fdf577cc0a2805e8688ed60198e
+RMD160 (draftjs_exporter-4.1.0.tar.gz) = 951be4c598e42b3d307ef15f69ab10117462a922
+SHA512 (draftjs_exporter-4.1.0.tar.gz) = 6adfef658daa4fea15757985d31f941adf3c5b8ef4a26ffbc305a03dedd638defb6dd9397e70e048effa512e3f7eac3171f0d45f26350b7af8129added1ee926
+Size (draftjs_exporter-4.1.0.tar.gz) = 64037 bytes