Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-draftjs_exporter Add py-draftjs_exporter-4.1.0:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9a520c0e398d
branches:  trunk
changeset: 436502:9a520c0e398d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Aug 03 23:57:49 2020 +0000

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

 www/py-draftjs_exporter/DESCR    |   5 ++
 www/py-draftjs_exporter/Makefile |  23 +++++++++++++
 www/py-draftjs_exporter/PLIST    |  68 ++++++++++++++++++++++++++++++++++++++++
 www/py-draftjs_exporter/distinfo |   6 +++
 4 files changed, 102 insertions(+), 0 deletions(-)

diffs (118 lines):

diff -r b70c36666c91 -r 9a520c0e398d www/py-draftjs_exporter/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-draftjs_exporter/DESCR     Mon Aug 03 23:57:49 2020 +0000
@@ -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 -r b70c36666c91 -r 9a520c0e398d www/py-draftjs_exporter/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-draftjs_exporter/Makefile  Mon Aug 03 23:57:49 2020 +0000
@@ -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@localhost
+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 -r b70c36666c91 -r 9a520c0e398d www/py-draftjs_exporter/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-draftjs_exporter/PLIST     Mon Aug 03 23:57:49 2020 +0000
@@ -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 -r b70c36666c91 -r 9a520c0e398d www/py-draftjs_exporter/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-draftjs_exporter/distinfo  Mon Aug 03 23:57:49 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index