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.
This commit is contained in:
joerg 2020-08-03 23:57:49 +00:00
parent 0239232d46
commit 0447150de6
4 changed files with 102 additions and 0 deletions

View file

@ -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.

View file

@ -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"

View file

@ -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

View file

@ -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